summaryrefslogtreecommitdiffstats
path: root/include/net/netns/mib.h
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-07-18 04:03:08 -0700
committerDavid S. Miller <davem@davemloft.net>2008-07-18 04:03:08 -0700
commit61a7e26028b94805fd686a6dc9dbd9941f8f19b0 (patch)
tree2253a6f827a68ea5a7041456c5bfcac0d8e24138 /include/net/netns/mib.h
parenta20f5799ca7ceb24d63c74b6fdad4b0c0ee91f4f (diff)
mib: put net statistics on struct net
Similar to ip and tcp ones :) Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns/mib.h')
-rw-r--r--include/net/netns/mib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netns/mib.h b/include/net/netns/mib.h
index 1094ebbf0b4..b5b1115adfa 100644
--- a/include/net/netns/mib.h
+++ b/include/net/netns/mib.h
@@ -6,6 +6,7 @@
struct netns_mib {
DEFINE_SNMP_STAT(struct tcp_mib, tcp_statistics);
DEFINE_SNMP_STAT(struct ipstats_mib, ip_statistics);
+ DEFINE_SNMP_STAT(struct linux_mib, net_statistics);
};
#endif