inet.c | 402 uint64_t tcpstat[TCP_NSTATS]; local in function:tcp_stats 405 size_t size = sizeof(tcpstat); 407 if (prog_sysctlbyname("net.inet.tcp.stats", tcpstat, &size, 417 #define ps(f, m) if (tcpstat[f] || sflag <= 1) \ 418 printf(m, tcpstat[f]) 419 #define p(f, m) if (tcpstat[f] || sflag <= 1) \ 420 printf(m, tcpstat[f], plural(tcpstat[f])) 421 #define p2(f1, f2, m) if (tcpstat[f1] || tcpstat[f2] || sflag <= 1) [all...] |