]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/xfrm.h
[IPSEC]: Add ICMP host relookup support
[linux-2.6-omap-h63xx.git] / include / linux / xfrm.h
index c0e41e02234fe3d346a7468a961fbe40c1d3faad..1131eabfaa2ab568ba6ae0eaac48988ded5ca10b 100644 (file)
@@ -329,6 +329,7 @@ struct xfrm_usersa_info {
 #define XFRM_STATE_DECAP_DSCP  2
 #define XFRM_STATE_NOPMTUDISC  4
 #define XFRM_STATE_WILDRECV    8
+#define XFRM_STATE_ICMP                16
 };
 
 struct xfrm_usersa_id {
@@ -363,6 +364,8 @@ struct xfrm_userpolicy_info {
 #define XFRM_POLICY_BLOCK      1
        __u8                            flags;
 #define XFRM_POLICY_LOCALOK    1       /* Allow user to override global policy */
+       /* Automatically expand selector to include matching ICMP payloads. */
+#define XFRM_POLICY_ICMP       2
        __u8                            share;
 };