[NETNS]: Add the netns_ipv4 struct
authorPavel Emelyanov <xemul@openvz.org>
Sun, 16 Dec 2007 21:29:36 +0000 (13:29 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:58:08 +0000 (14:58 -0800)
The ipv4 will store its parameters inside this structure.
This one is empty now, but it will be eventually filled.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/net_namespace.h
include/net/netns/ipv4.h [new file with mode: 0644]

index 18da0af..d04ddf2 100644 (file)
@@ -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 (file)
index 0000000..ce830d5
--- /dev/null
@@ -0,0 +1,9 @@
+/*
+ * ipv4 in net namespaces
+ */
+
+#ifndef __NETNS_IPV4_H__
+#define __NETNS_IPV4_H__
+struct netns_ipv4 {
+};
+#endif