update libfreeswan/pfkeyv2.h
authorAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 10 Jul 2009 05:15:08 +0000 (07:15 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 10 Jul 2009 05:15:08 +0000 (07:15 +0200)
src/libfreeswan/pfkeyv2.h

index 5ef5e74..461299c 100644 (file)
@@ -303,33 +303,40 @@ struct sadb_protocol {
 #define SADB_SASTATE_DEAD     3
 #define SADB_SASTATE_MAX      3
 
-#define SADB_SAFLAGS_PFS               1
+#define SADB_SAFLAGS_PFS                       1
 #define SADB_X_SAFLAGS_REPLACEFLOW     2
 #define SADB_X_SAFLAGS_CLEARFLOW       4
 #define SADB_X_SAFLAGS_INFLOW          8
 
 /* Authentication algorithms */
-#define SADB_AALG_NONE                 0
-#define SADB_AALG_MD5HMAC              2
-#define SADB_AALG_SHA1HMAC             3
+#define SADB_AALG_NONE                         0
+#define SADB_AALG_MD5HMAC                      2
+#define SADB_AALG_SHA1HMAC                     3
 #define SADB_X_AALG_SHA2_256HMAC       5
 #define SADB_X_AALG_SHA2_384HMAC       6
 #define SADB_X_AALG_SHA2_512HMAC       7
 #define SADB_X_AALG_RIPEMD160HMAC      8
 #define SADB_X_AALG_AES_XCBC_MAC       9
-#define SADB_X_AALG_NULL               251     /* kame */
-#define SADB_AALG_MAX                  251
+#define SADB_X_AALG_NULL                       251     /* kame */
+#define SADB_AALG_MAX                          251
 
 /* Encryption algorithms */
-#define SADB_EALG_NONE                 0
-#define SADB_EALG_DESCBC               2
-#define SADB_EALG_3DESCBC              3
-#define SADB_X_EALG_CASTCBC            6
+#define SADB_EALG_NONE                         0
+#define SADB_EALG_DESCBC                       2
+#define SADB_EALG_3DESCBC                      3
+#define SADB_X_EALG_CASTCBC                    6
 #define SADB_X_EALG_BLOWFISHCBC                7
-#define SADB_EALG_NULL                 11
-#define SADB_X_EALG_AESCBC             12
+#define SADB_EALG_NULL                         11
+#define SADB_X_EALG_AESCBC                     12
+#define SADB_X_EALG_AESCTR                     13
+#define SADB_X_EALG_AES_CCM_ICV8       14
+#define SADB_X_EALG_AES_CCM_ICV12      15
+#define SADB_X_EALG_AES_CCM_ICV16      16
+#define SADB_X_EALG_AES_GCM_ICV8       18
+#define SADB_X_EALG_AES_GCM_ICV12      19
+#define SADB_X_EALG_AES_GCM_ICV16      20
 #define SADB_X_EALG_CAMELLIACBC                22
-#define SADB_EALG_MAX                   253 /* last EALG */
+#define SADB_EALG_MAX                  253 /* last EALG */
 /* private allocations should use 249-255 (RFC2407) */
 #define SADB_X_EALG_SERPENTCBC  252     /* draft-ietf-ipsec-ciph-aes-cbc-00 */
 #define SADB_X_EALG_TWOFISHCBC  253     /* draft-ietf-ipsec-ciph-aes-cbc-00 */