/src/tests/net/icmp/ |
t_ping.c | 356 uint64_t ipstat[IP_NSTATS]; local in function:ATF_TC_BODY 369 arglen = sizeof(ipstat); 370 RL(rump_sys___sysctl(mib, 4, &ipstat, &arglen, 372 if (loop == 0 && ipstat[IP_STAT_TOOLONG] != 0) 374 if (ipstat[IP_STAT_TOOLONG])
|
/src/tests/net/net/ |
t_ip_reass.c | 75 struct ipstat { struct 201 get_ipstat(struct ipstat *stat) 242 struct ipstat old, new; 322 struct ipstat old, new; 379 struct ipstat old, new;
|
/src/usr.bin/netstat/ |
inet.c | 598 uint64_t ipstat[IP_NSTATS]; local in function:ip_stats 601 size_t size = sizeof(ipstat); 603 if (prog_sysctlbyname("net.inet.ip.stats", ipstat, &size, 613 #define ps(f, m) if (ipstat[f] || sflag <= 1) \ 614 printf(m, ipstat[f]) 615 #define p(f, m) if (ipstat[f] || sflag <= 1) \ 616 printf(m, ipstat[f], plural(ipstat[f])) 642 if (ipstat[IP_STAT_FORWARD] || sflag <= 1)
|