]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[NETNS]: Add an empty netns_dccp structure on struct net.
authorPavel Emelyanov <xemul@openvz.org>
Mon, 14 Apr 2008 05:28:42 +0000 (22:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Apr 2008 05:28:42 +0000 (22:28 -0700)
According to the overall struct net design, it will be
filled with DCCP-related members.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/net_namespace.h
include/net/netns/dccp.h [new file with mode: 0644]

index 0ab62ed2fdef304c86ab8fa7e14c484a7db9de08..e2aee2689abe1dd8647611746382c2152d55476f 100644 (file)
@@ -13,6 +13,7 @@
 #include <net/netns/packet.h>
 #include <net/netns/ipv4.h>
 #include <net/netns/ipv6.h>
+#include <net/netns/dccp.h>
 #include <net/netns/x_tables.h>
 
 struct proc_dir_entry;
@@ -54,6 +55,9 @@ struct net {
 #if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
        struct netns_ipv6       ipv6;
 #endif
+#if defined(CONFIG_IP_DCCP) || defined(CONFIG_IP_DCCP_MODULE)
+       struct netns_dccp       dccp;
+#endif
 #ifdef CONFIG_NETFILTER
        struct netns_xt         xt;
 #endif
diff --git a/include/net/netns/dccp.h b/include/net/netns/dccp.h
new file mode 100644 (file)
index 0000000..056e6ad
--- /dev/null
@@ -0,0 +1,7 @@
+#ifndef __NETNS_DCCP_H__
+#define __NETNS_DCCP_H__
+
+struct netns_dccp {
+};
+
+#endif