aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/net/net_namespace.h2
-rw-r--r--include/net/netns/ipv4.h9
2 files changed, 11 insertions, 0 deletions
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h
index 18da0af6192..d04ddf2f80d 100644
--- a/include/net/net_namespace.h
+++ b/include/net/net_namespace.h
@@ -10,6 +10,7 @@
#include <net/netns/unix.h>
#include <net/netns/packet.h>
+#include <net/netns/ipv4.h>
struct proc_dir_entry;
struct net_device;
@@ -46,6 +47,7 @@ struct net {
struct netns_packet packet;
struct netns_unix unx;
+ struct netns_ipv4 ipv4;
};
#ifdef CONFIG_NET
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h
new file mode 100644
index 00000000000..ce830d57c35
--- /dev/null
+++ b/include/net/netns/ipv4.h
@@ -0,0 +1,9 @@
+/*
+ * ipv4 in net namespaces
+ */
+
+#ifndef __NETNS_IPV4_H__
+#define __NETNS_IPV4_H__
+struct netns_ipv4 {
+};
+#endif