aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/xfrm.h
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-11-25 20:34:49 -0500
committerDavid S. Miller <davem@davemloft.net>2008-11-25 20:34:49 -0500
commitcdcbca7c1f1946758cfacb69bc1c7eeaccb11e2d (patch)
tree1ee0f5edf7fb9e50f7f70c680044be33d41a0d41 /include/net/xfrm.h
parent8d1211a6aaea43ea36151c17b0193eb763ff2d7e (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/net/xfrm.h')
-rw-r--r--include/net/xfrm.h2
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)
1435struct xfrm_policy *xfrm_policy_alloc(struct net *net, gfp_t gfp); 1435struct xfrm_policy *xfrm_policy_alloc(struct net *net, gfp_t gfp);
1436 1436
1437extern void xfrm_policy_walk_init(struct xfrm_policy_walk *walk, u8 type); 1437extern void xfrm_policy_walk_init(struct xfrm_policy_walk *walk, u8 type);
1438extern int xfrm_policy_walk(struct xfrm_policy_walk *walk, 1438extern 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 *);
1440extern void xfrm_policy_walk_done(struct xfrm_policy_walk *walk); 1440extern void xfrm_policy_walk_done(struct xfrm_policy_walk *walk);
1441int xfrm_policy_insert(int dir, struct xfrm_policy *policy, int excl); 1441int xfrm_policy_insert(int dir, struct xfrm_policy *policy, int excl);