kernel-netlink: Add strings for newer XFRM attribute types
authorTobias Brunner <tobias@strongswan.org>
Fri, 6 Oct 2017 14:41:09 +0000 (16:41 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 6 Oct 2017 14:41:09 +0000 (16:41 +0200)
src/libcharon/plugins/kernel_netlink/kernel_netlink_ipsec.c

index 8ddaa71..4e79dfc 100644 (file)
@@ -143,7 +143,7 @@ ENUM(xfrm_msg_names, XFRM_MSG_NEWSA, XFRM_MSG_MAPPING,
        "XFRM_MSG_MAPPING"
 );
 
-ENUM(xfrm_attr_type_names, XFRMA_UNSPEC, XFRMA_REPLAY_ESN_VAL,
+ENUM(xfrm_attr_type_names, XFRMA_UNSPEC, XFRMA_OFFLOAD_DEV,
        "XFRMA_UNSPEC",
        "XFRMA_ALG_AUTH",
        "XFRMA_ALG_CRYPT",
@@ -168,6 +168,11 @@ ENUM(xfrm_attr_type_names, XFRMA_UNSPEC, XFRMA_REPLAY_ESN_VAL,
        "XFRMA_MARK",
        "XFRMA_TFCPAD",
        "XFRMA_REPLAY_ESN_VAL",
+       "XFRMA_SA_EXTRA_FLAGS",
+       "XFRMA_PROTO",
+       "XFRMA_ADDRESS_FILTER",
+       "XFRMA_PAD",
+       "XFRMA_OFFLOAD_DEV",
 );
 
 /**