Home
last modified time | relevance | path

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

/linux-6.1.9/include/net/
Dsnmp.h50 #define IPSTATS_MIB_MAX __IPSTATS_MIB_MAX macro
53 u64 mibs[IPSTATS_MIB_MAX];
/linux-6.1.9/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-6.1.9/net/ipv6/
Dproc.c32 IPSTATS_MIB_MAX, ICMP_MIB_MAX)
Daddrconf.c5601 + nla_total_size(IPSTATS_MIB_MAX * 8) /* IFLA_INET6_STATS */ in inet6_ifla6_size()
5639 u64 buff[IPSTATS_MIB_MAX]; in __snmp6_fill_stats64()
5640 int pad = bytes - sizeof(u64) * IPSTATS_MIB_MAX; in __snmp6_fill_stats64()
5645 buff[0] = IPSTATS_MIB_MAX; in __snmp6_fill_stats64()
5648 for (i = 1; i < IPSTATS_MIB_MAX; i++) in __snmp6_fill_stats64()
5652 memcpy(stats, buff, IPSTATS_MIB_MAX * sizeof(u64)); in __snmp6_fill_stats64()
5653 memset(&stats[IPSTATS_MIB_MAX], 0, pad); in __snmp6_fill_stats64()
5694 nla = nla_reserve(skb, IFLA_INET6_STATS, IPSTATS_MIB_MAX * sizeof(u64)); in inet6_fill_ifla6_attrs()