diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-11-25 20:34:49 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-25 20:34:49 -0500 |
commit | cdcbca7c1f1946758cfacb69bc1c7eeaccb11e2d (patch) | |
tree | 1ee0f5edf7fb9e50f7f70c680044be33d41a0d41 /include | |
parent | 8d1211a6aaea43ea36151c17b0193eb763ff2d7e (diff) |
netns xfrm: policy walking in netns
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/xfrm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index ec2b7a9b3aa9..1dc4ff0f4851 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h | |||
@@ -1435,7 +1435,7 @@ static inline int xfrm4_udp_encap_rcv(struct sock *sk, struct sk_buff *skb) | |||
1435 | struct xfrm_policy *xfrm_policy_alloc(struct net *net, gfp_t gfp); | 1435 | struct xfrm_policy *xfrm_policy_alloc(struct net *net, gfp_t gfp); |
1436 | 1436 | ||
1437 | extern void xfrm_policy_walk_init(struct xfrm_policy_walk *walk, u8 type); | 1437 | extern void xfrm_policy_walk_init(struct xfrm_policy_walk *walk, u8 type); |
1438 | extern int xfrm_policy_walk(struct xfrm_policy_walk *walk, | 1438 | extern int xfrm_policy_walk(struct net *net, struct xfrm_policy_walk *walk, |
1439 | int (*func)(struct xfrm_policy *, int, int, void*), void *); | 1439 | int (*func)(struct xfrm_policy *, int, int, void*), void *); |
1440 | extern void xfrm_policy_walk_done(struct xfrm_policy_walk *walk); | 1440 | extern void xfrm_policy_walk_done(struct xfrm_policy_walk *walk); |
1441 | int xfrm_policy_insert(int dir, struct xfrm_policy *policy, int excl); | 1441 | int xfrm_policy_insert(int dir, struct xfrm_policy *policy, int excl); |