aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/net/net_namespace.h4
-rw-r--r--include/net/netns/dccp.h7
2 files changed, 11 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 @@
13#include <net/netns/packet.h> 13#include <net/netns/packet.h>
14#include <net/netns/ipv4.h> 14#include <net/netns/ipv4.h>
15#include <net/netns/ipv6.h> 15#include <net/netns/ipv6.h>
16#include <net/netns/dccp.h>
16#include <net/netns/x_tables.h> 17#include <net/netns/x_tables.h>
17 18
18struct proc_dir_entry; 19struct proc_dir_entry;
@@ -54,6 +55,9 @@ struct net {
54#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) 55#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
55 struct netns_ipv6 ipv6; 56 struct netns_ipv6 ipv6;
56#endif 57#endif
58#if defined(CONFIG_IP_DCCP) || defined(CONFIG_IP_DCCP_MODULE)
59 struct netns_dccp dccp;
60#endif
57#ifdef CONFIG_NETFILTER 61#ifdef CONFIG_NETFILTER
58 struct netns_xt xt; 62 struct netns_xt xt;
59#endif 63#endif
diff --git a/include/net/netns/dccp.h b/include/net/netns/dccp.h
new file mode 100644
index 000000000000..056e6adc70b6
--- /dev/null
+++ b/include/net/netns/dccp.h
@@ -0,0 +1,7 @@
1#ifndef __NETNS_DCCP_H__
2#define __NETNS_DCCP_H__
3
4struct netns_dccp {
5};
6
7#endif