summaryrefslogtreecommitdiffstats
path: root/include/net/xfrm.h
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-11-26 03:00:14 +0100
committerDavid S. Miller <davem@davemloft.net>2008-11-26 03:00:14 +0100
commitc68cd1a01ba56995d85a4a62b195b2b3f6415c64 (patch)
tree69351005622aced7acf9085fa5c54134419286ba /include/net/xfrm.h
parentnetns xfrm: per-netns MIBs (diff)
downloadlinux-c68cd1a01ba56995d85a4a62b195b2b3f6415c64.tar.xz
linux-c68cd1a01ba56995d85a4a62b195b2b3f6415c64.zip
netns xfrm: /proc/net/xfrm_stat 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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h
index 78ec3e8a95ed..1554ccd0c940 100644
--- a/include/net/xfrm.h
+++ b/include/net/xfrm.h
@@ -1306,7 +1306,8 @@ static inline void xfrm6_fini(void)
#endif
#ifdef CONFIG_XFRM_STATISTICS
-extern int xfrm_proc_init(void);
+extern int xfrm_proc_init(struct net *net);
+extern void xfrm_proc_fini(struct net *net);
#endif
extern void xfrm_state_walk_init(struct xfrm_state_walk *walk, u8 proto);