Searched refs:ip6stat (Results 1 - 2 of 2) sorted by relevance

/netbsd-6-1-5-RELEASE/usr.bin/netstat/
H A Dinet6.c636 uint64_t ip6stat[IP6_NSTATS]; local
642 size_t size = sizeof(ip6stat);
644 if (sysctlbyname("net.inet6.ip6.stats", ip6stat, &size,
653 #define p(f, m) if (ip6stat[f] || sflag <= 1) \
654 printf(m, (unsigned long long)ip6stat[f], plural(ip6stat[f]))
655 #define p1(f, m) if (ip6stat[f] || sflag <= 1) \
656 printf(m, (unsigned long long)ip6stat[f])
686 if (ip6stat[IP6_STAT_NXTHIST + i] != 0) {
698 (unsigned long long)ip6stat[IP6_STAT_NXTHIS
[all...]
/netbsd-6-1-5-RELEASE/sys/netinet6/
H A Din6_src.c149 if ((r) < sizeof(ip6stat.ip6s_sources_rule) / \
150 sizeof(ip6stat.ip6s_sources_rule[0])) /* check for safety */ \
151 ip6stat.ip6s_sources_rule[(r)]++; \
156 if ((r) < sizeof(ip6stat.ip6s_sources_rule) / \
157 sizeof(ip6stat.ip6s_sources_rule[0])) /* check for safety */ \
158 ip6stat.ip6s_sources_rule[(r)]++; \
163 if ((r) < sizeof(ip6stat.ip6s_sources_rule) / \
164 sizeof(ip6stat.ip6s_sources_rule[0])) /* check for safety */ \
165 ip6stat.ip6s_sources_rule[(r)]++; \

Completed in 123 milliseconds