You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
netns xfrm: add netns boilerplate
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
c95839693d
commit
d62ddc21b6
@@ -19,6 +19,7 @@
|
||||
#if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE)
|
||||
#include <net/netns/conntrack.h>
|
||||
#endif
|
||||
#include <net/netns/xfrm.h>
|
||||
|
||||
struct proc_dir_entry;
|
||||
struct net_device;
|
||||
@@ -73,6 +74,9 @@ struct net {
|
||||
#if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE)
|
||||
struct netns_ct ct;
|
||||
#endif
|
||||
#endif
|
||||
#ifdef CONFIG_XFRM
|
||||
struct netns_xfrm xfrm;
|
||||
#endif
|
||||
struct net_generic *gen;
|
||||
};
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
#ifndef __NETNS_XFRM_H
|
||||
#define __NETNS_XFRM_H
|
||||
|
||||
struct netns_xfrm {
|
||||
};
|
||||
|
||||
#endif
|
||||
+2
-1
@@ -1269,7 +1269,8 @@ struct xfrm6_tunnel {
|
||||
|
||||
extern void xfrm_init(void);
|
||||
extern void xfrm4_init(void);
|
||||
extern void xfrm_state_init(void);
|
||||
extern int xfrm_state_init(struct net *net);
|
||||
extern void xfrm_state_fini(struct net *net);
|
||||
extern void xfrm4_state_init(void);
|
||||
#ifdef CONFIG_XFRM
|
||||
extern int xfrm6_init(void);
|
||||
|
||||
Reference in New Issue
Block a user