Home | History | Annotate | Download | only in netstat

Lines Matching defs:tcpstat

402 	uint64_t tcpstat[TCP_NSTATS];
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) \
422 printf(m, tcpstat[f1], plural(tcpstat[f1]), \
423 tcpstat[f2], plural(tcpstat[f2]))
424 #define p2s(f1, f2, m) if (tcpstat[f1] || tcpstat[f2] || sflag <= 1) \
425 printf(m, tcpstat[f1], plural(tcpstat[f1]), \
426 tcpstat[f2])
427 #define p3(f, m) if (tcpstat[f] || sflag <= 1) \
428 printf(m, tcpstat[f], plurales(tcpstat[f]))