diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-07-18 11:02:08 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-18 11:02:08 (GMT) |
commit | 57ef42d59d1c1d79be59fc3c6380ae14234e38c3 (patch) | |
tree | 4ccc2166f6967ac1fb582715f7d7d5bb5c9205fc /include/net/netns | |
parent | 9b4661bd6e5437508e0920608f3213c23212cd1b (diff) | |
download | linux-fsl-qoriq-57ef42d59d1c1d79be59fc3c6380ae14234e38c3.tar.xz |
mib: put tcp statistics on struct net
Proc temporary uses stats from init_net.
BTW, TCP_XXX_STATS are beautiful (w/o do { } while (0) facing) again :)
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns')
-rw-r--r-- | include/net/netns/mib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netns/mib.h b/include/net/netns/mib.h index 9f4b31e..8f96079 100644 --- a/include/net/netns/mib.h +++ b/include/net/netns/mib.h @@ -4,6 +4,7 @@ #include <net/snmp.h> struct netns_mib { + DEFINE_SNMP_STAT(struct tcp_mib, tcp_statistics); }; #endif |