Searched refs:ipstats_mib (Results 1 – 8 of 8) sorted by relevance
/linux/include/net/netns/ |
H A D | mib.h | 8 DEFINE_SNMP_STAT(struct ipstats_mib, ip_statistics); 10 DEFINE_SNMP_STAT(struct ipstats_mib, ipv6_statistics);
|
/linux/net/ipv4/ |
H A D | proc.c | 406 BUILD_BUG_ON(offsetof(struct ipstats_mib, mibs) != 0); in snmp_seq_show_ipstats() 409 offsetof(struct ipstats_mib, syncp)); in snmp_seq_show_ipstats() 518 offsetof(struct ipstats_mib, syncp)); in netstat_seq_show() 526 offsetof(struct ipstats_mib, syncp))); in netstat_seq_show()
|
H A D | af_inet.c | 1714 net->mib.ip_statistics = alloc_percpu(struct ipstats_mib); in ipv4_mib_init_net() 1719 struct ipstats_mib *af_inet_stats; in ipv4_mib_init_net()
|
/linux/net/ipv6/ |
H A D | proc.c | 222 snmp6_ipstats_list, offsetof(struct ipstats_mib, syncp)); in snmp6_seq_show() 239 snmp6_ipstats_list, offsetof(struct ipstats_mib, syncp)); in snmp6_dev_seq_show()
|
H A D | af_inet6.c | 913 net->mib.ipv6_statistics = alloc_percpu(struct ipstats_mib); in ipv6_init_mibs() 918 struct ipstats_mib *af_inet6_stats; in ipv6_init_mibs()
|
H A D | addrconf.c | 347 idev->stats.ipv6 = alloc_percpu_gfp(struct ipstats_mib, GFP_KERNEL_ACCOUNT); in snmp6_alloc_dev() 352 struct ipstats_mib *addrconf_stats; in snmp6_alloc_dev() 5787 offsetof(struct ipstats_mib, syncp)); in snmp6_fill_stats()
|
/linux/include/net/ |
H A D | snmp.h | 51 struct ipstats_mib { struct 52 /* mibs[] must be first field of struct ipstats_mib */ 53 mibsipstats_mib global() argument 54 syncpipstats_mib global() argument
|
H A D | if_inet6.h | 162 DEFINE_SNMP_STAT(struct ipstats_mib, ipv6);
|