summaryrefslogtreecommitdiff
path: root/include/net/net_namespace.h
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-04-14 09:28:42 +0400
committerDavid S. Miller <davem@davemloft.net>2008-04-14 09:28:42 +0400
commit67019cc9ee3f4868c8e5e493b2873c4722306019 (patch)
tree03daaf97bdcd834dca004f84673bf1f23b6cc52d /include/net/net_namespace.h
parent5f4472c5a640c9671ca5becaebdfd6e651482176 (diff)
downloadlinux-67019cc9ee3f4868c8e5e493b2873c4722306019.tar.xz
[NETNS]: Add an empty netns_dccp structure on struct net.
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>
Diffstat (limited to 'include/net/net_namespace.h')
-rw-r--r--include/net/net_namespace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h
index 0ab62ed2fdef..e2aee2689abe 100644
--- a/include/net/net_namespace.h
+++ b/include/net/net_namespace.h
@@ -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