Skip to content

Commit

Permalink
[NETNS]: Add an empty netns_dccp structure on struct net.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pavel Emelyanov authored and David S. Miller committed Apr 14, 2008
1 parent 5f4472c commit 67019cc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/net/net_namespace.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions include/net/netns/dccp.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#ifndef __NETNS_DCCP_H__
#define __NETNS_DCCP_H__

struct netns_dccp {
};

#endif

0 comments on commit 67019cc

Please sign in to comment.