diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/net/net_namespace.h | 2 | ||||
-rw-r--r-- | include/net/netns/ipv4.h | 9 |
2 files changed, 11 insertions, 0 deletions
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h index 18da0af6192f..d04ddf2f80da 100644 --- a/include/net/net_namespace.h +++ b/include/net/net_namespace.h | |||
@@ -10,6 +10,7 @@ | |||
10 | 10 | ||
11 | #include <net/netns/unix.h> | 11 | #include <net/netns/unix.h> |
12 | #include <net/netns/packet.h> | 12 | #include <net/netns/packet.h> |
13 | #include <net/netns/ipv4.h> | ||
13 | 14 | ||
14 | struct proc_dir_entry; | 15 | struct proc_dir_entry; |
15 | struct net_device; | 16 | struct net_device; |
@@ -46,6 +47,7 @@ struct net { | |||
46 | 47 | ||
47 | struct netns_packet packet; | 48 | struct netns_packet packet; |
48 | struct netns_unix unx; | 49 | struct netns_unix unx; |
50 | struct netns_ipv4 ipv4; | ||
49 | }; | 51 | }; |
50 | 52 | ||
51 | #ifdef CONFIG_NET | 53 | #ifdef CONFIG_NET |
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h new file mode 100644 index 000000000000..ce830d57c35c --- /dev/null +++ b/include/net/netns/ipv4.h | |||
@@ -0,0 +1,9 @@ | |||
1 | /* | ||
2 | * ipv4 in net namespaces | ||
3 | */ | ||
4 | |||
5 | #ifndef __NETNS_IPV4_H__ | ||
6 | #define __NETNS_IPV4_H__ | ||
7 | struct netns_ipv4 { | ||
8 | }; | ||
9 | #endif | ||