android_kernel_xiaomi_sdm845/include/net/netns/mib.h
Pavel Emelyanov 57ef42d59d 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>
2008-07-18 04:02:08 -07:00

11 lines
153 B
C

#ifndef __NETNS_MIB_H__
#define __NETNS_MIB_H__
#include <net/snmp.h>
struct netns_mib {
DEFINE_SNMP_STAT(struct tcp_mib, tcp_statistics);
};
#endif