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

/netbsd-current/usr.sbin/sysinst/
H A Dnet.c235 uint64_t ipstats[IP_NSTATS]; local
236 size_t size = sizeof(ipstats);
239 if (sysctlbyname("net.inet.ip.stats", ipstats, &size, NULL, 0) == -1)
241 if (ipstats[IP_STAT_DELIVERED] < 10) /* arbitrary threshold */
256 uint64_t ipstats[IP6_NSTATS]; local
257 size_t size = sizeof(ipstats);
260 if (sysctlbyname("net.inet6.ip6.stats", ipstats, &size, NULL, 0) == -1)
262 if (ipstats[IP6_STAT_DELIVERED] < 10) /* arbitrary threshold */

Completed in 187 milliseconds