aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/net_namespace.h
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-07-18 07:01:24 -0400
committerDavid S. Miller <davem@davemloft.net>2008-07-18 07:01:24 -0400
commit852566f53ccdc9d1c149ffa28daa9778e13fa3da (patch)
tree247d134429afd277775fdd9a4d491a702ccf4e90 /include/net/net_namespace.h
parenta60f28fa934ccadbf526f4dab8d73079480002a4 (diff)
mib: add netns/mib.h file
The only structure declared within is the netns_mib, which will carry all our mibs within. I didn't put the mibs in the existing netns_xxx structures to make it possible to mark this one as properly aligned and get in a separate "read-mostly" cache-line. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/net_namespace.h')
-rw-r--r--include/net/net_namespace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h
index f90443045c70..3855620b78a9 100644
--- a/include/net/net_namespace.h
+++ b/include/net/net_namespace.h
@@ -9,6 +9,7 @@
9#include <linux/list.h> 9#include <linux/list.h>
10 10
11#include <net/netns/core.h> 11#include <net/netns/core.h>
12#include <net/netns/mib.h>
12#include <net/netns/unix.h> 13#include <net/netns/unix.h>
13#include <net/netns/packet.h> 14#include <net/netns/packet.h>
14#include <net/netns/ipv4.h> 15#include <net/netns/ipv4.h>
@@ -52,6 +53,7 @@ struct net {
52 struct sock *rtnl; /* rtnetlink socket */ 53 struct sock *rtnl; /* rtnetlink socket */
53 54
54 struct netns_core core; 55 struct netns_core core;
56 struct netns_mib mib;
55 struct netns_packet packet; 57 struct netns_packet packet;
56 struct netns_unix unx; 58 struct netns_unix unx;
57 struct netns_ipv4 ipv4; 59 struct netns_ipv4 ipv4;