Home
last modified time | relevance | path

Searched refs:IPSTATS_MIB_MAX (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/include/net/
Dsnmp.h50 #define IPSTATS_MIB_MAX __IPSTATS_MIB_MAX macro
53 u64 mibs[IPSTATS_MIB_MAX];
/linux-5.19.10/net/ipv4/
Dproc.c379 u64 buff64[IPSTATS_MIB_MAX]; in snmp_seq_show_ipstats()
382 memset(buff64, 0, IPSTATS_MIB_MAX * sizeof(u64)); in snmp_seq_show_ipstats()
/linux-5.19.10/net/ipv6/
Dproc.c32 IPSTATS_MIB_MAX, ICMP_MIB_MAX)
Daddrconf.c5597 + nla_total_size(IPSTATS_MIB_MAX * 8) /* IFLA_INET6_STATS */ in inet6_ifla6_size()
5635 u64 buff[IPSTATS_MIB_MAX]; in __snmp6_fill_stats64()
5636 int pad = bytes - sizeof(u64) * IPSTATS_MIB_MAX; in __snmp6_fill_stats64()
5641 buff[0] = IPSTATS_MIB_MAX; in __snmp6_fill_stats64()
5644 for (i = 1; i < IPSTATS_MIB_MAX; i++) in __snmp6_fill_stats64()
5648 memcpy(stats, buff, IPSTATS_MIB_MAX * sizeof(u64)); in __snmp6_fill_stats64()
5649 memset(&stats[IPSTATS_MIB_MAX], 0, pad); in __snmp6_fill_stats64()
5690 nla = nla_reserve(skb, IFLA_INET6_STATS, IPSTATS_MIB_MAX * sizeof(u64)); in inet6_fill_ifla6_attrs()