diff options
| author | David S. Miller <davem@nuts.ninka.net> | 2002-11-12 12:52:16 -0800 |
|---|---|---|
| committer | David S. Miller <davem@nuts.ninka.net> | 2002-11-12 12:52:16 -0800 |
| commit | f60dc6b148e67ea42bc9f968b0cbc9b603a14504 (patch) | |
| tree | 4eb9bda190e1ca129487a7a2957a62e087c6d2f2 /include/net | |
| parent | 1b84cb266397bdc57a41fb2b14bb630669c06acb (diff) | |
[IPSEC]: Netlink xfrm configuration interface.
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/xfrm.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index d6dda906d35b..012aa0741b3a 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h @@ -187,22 +187,6 @@ struct xfrm_tmpl #define XFRM_MAX_DEPTH 3 -enum -{ - XFRM_SHARE_ANY, /* No limitations */ - XFRM_SHARE_SESSION, /* For this session only */ - XFRM_SHARE_USER, /* For this user only */ - XFRM_SHARE_UNIQUE /* Use once */ -}; - -enum -{ - XFRM_POLICY_IN = 0, - XFRM_POLICY_OUT = 1, - XFRM_POLICY_FWD = 2, - XFRM_POLICY_MAX = 3 -}; - struct xfrm_policy { struct xfrm_policy *next; @@ -218,10 +202,7 @@ struct xfrm_policy struct xfrm_lifetime_cur curlft; struct dst_entry *bundles; __u8 action; -#define XFRM_POLICY_ALLOW 0 -#define XFRM_POLICY_BLOCK 1 __u8 flags; -#define XFRM_POLICY_LOCALOK 1 /* Allow user to override global policy */ __u8 dead; __u8 xfrm_nr; struct xfrm_tmpl xfrm_vec[XFRM_MAX_DEPTH]; |
