summaryrefslogtreecommitdiff
path: root/sys/net/pfkeyv2.h
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2003-07-24 09:59:04 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2003-07-24 09:59:04 +0000
commitcf8a63ce921e613109b04585a6ac7ddb1a4ccf5c (patch)
treeccaebf84327b7eeb4b214481d45e1ae688739cc6 /sys/net/pfkeyv2.h
parentd3b27e35971d741dd22c9efcd80d37f89aa45d99 (diff)
conform to RFC2367 on SADB_xx naming (local name must be prefixed with
SADB_X_xx)
Diffstat (limited to 'sys/net/pfkeyv2.h')
-rw-r--r--sys/net/pfkeyv2.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/net/pfkeyv2.h b/sys/net/pfkeyv2.h
index 7892d847b65..152061fcc2b 100644
--- a/sys/net/pfkeyv2.h
+++ b/sys/net/pfkeyv2.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkeyv2.h,v 1.47 2003/02/24 21:34:39 jason Exp $ */
+/* $OpenBSD: pfkeyv2.h,v 1.48 2003/07/24 09:59:02 itojun Exp $ */
/*
* @(#)COPYRIGHT 1.1 (NRL) January 1998
*
@@ -267,11 +267,11 @@ struct sadb_x_cred {
#define SADB_AALG_NONE 0
#define SADB_AALG_MD5HMAC 2
#define SADB_AALG_SHA1HMAC 3
-#define SADB_AALG_DES 4
-#define SADB_AALG_SHA2_256 5
-#define SADB_AALG_SHA2_384 6
-#define SADB_AALG_SHA2_512 7
-#define SADB_AALG_RIPEMD160HMAC 8
+#define SADB_X_AALG_DES 4
+#define SADB_X_AALG_SHA2_256 5
+#define SADB_X_AALG_SHA2_384 6
+#define SADB_X_AALG_SHA2_512 7
+#define SADB_X_AALG_RIPEMD160HMAC 8
#define SADB_X_AALG_MD5 249
#define SADB_X_AALG_SHA1 250
#define SADB_AALG_MAX 250
@@ -287,7 +287,7 @@ struct sadb_x_cred {
#define SADB_X_EALG_3IDEA 8
#define SADB_X_EALG_DES_IV32 9
#define SADB_X_EALG_RC4 10
-#define SADB_X_EALG_NULL 11
+#define SADB_EALG_NULL 11
#define SADB_X_EALG_AES 12
#define SADB_X_EALG_SKIPJACK 249
#define SADB_EALG_MAX 249