aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/xfrm.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/xfrm.h b/include/linux/xfrm.h
index 46a15c7a1a13..5154064b6d95 100644
--- a/include/linux/xfrm.h
+++ b/include/linux/xfrm.h
@@ -120,7 +120,9 @@ enum
120 120
121#define XFRM_MODE_TRANSPORT 0 121#define XFRM_MODE_TRANSPORT 0
122#define XFRM_MODE_TUNNEL 1 122#define XFRM_MODE_TUNNEL 1
123#define XFRM_MODE_MAX 2 123#define XFRM_MODE_ROUTEOPTIMIZATION 2
124#define XFRM_MODE_IN_TRIGGER 3
125#define XFRM_MODE_MAX 4
124 126
125/* Netlink configuration messages. */ 127/* Netlink configuration messages. */
126enum { 128enum {
@@ -247,7 +249,7 @@ struct xfrm_usersa_info {
247 __u32 seq; 249 __u32 seq;
248 __u32 reqid; 250 __u32 reqid;
249 __u16 family; 251 __u16 family;
250 __u8 mode; /* 0=transport,1=tunnel */ 252 __u8 mode; /* XFRM_MODE_xxx */
251 __u8 replay_window; 253 __u8 replay_window;
252 __u8 flags; 254 __u8 flags;
253#define XFRM_STATE_NOECN 1 255#define XFRM_STATE_NOECN 1