diff options
-rw-r--r-- | include/net/net_namespace.h | 4 | ||||
-rw-r--r-- | include/net/netns/ipv6.h | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h index d04ddf2f80d..b0a5f904d25 100644 --- a/include/net/net_namespace.h +++ b/include/net/net_namespace.h @@ -11,6 +11,7 @@ #include <net/netns/unix.h> #include <net/netns/packet.h> #include <net/netns/ipv4.h> +#include <net/netns/ipv6.h> struct proc_dir_entry; struct net_device; @@ -48,6 +49,9 @@ struct net { struct netns_packet packet; struct netns_unix unx; struct netns_ipv4 ipv4; +#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) + struct netns_ipv6 ipv6; +#endif }; #ifdef CONFIG_NET diff --git a/include/net/netns/ipv6.h b/include/net/netns/ipv6.h new file mode 100644 index 00000000000..6f82046e301 --- /dev/null +++ b/include/net/netns/ipv6.h @@ -0,0 +1,10 @@ +/* + * ipv6 in net namespaces + */ + +#ifndef __NETNS_IPV6_H__ +#define __NETNS_IPV6_H__ + +struct netns_ipv6 { +}; +#endif |