Lines Matching refs:tcpstat
577 struct tcpstat tcpstat; in tcp_stats() local
587 if (fetch_stats("net.inet.tcp.stats", off, &tcpstat, in tcp_stats()
588 sizeof(tcpstat), kread_counters) != 0) in tcp_stats()
598 #define p(f, m) if (tcpstat.f || sflag <= 1) \ in tcp_stats()
599 xo_emit(m, (uintmax_t )tcpstat.f, plural(tcpstat.f)) in tcp_stats()
600 #define p1a(f, m) if (tcpstat.f || sflag <= 1) \ in tcp_stats()
601 xo_emit(m, (uintmax_t )tcpstat.f) in tcp_stats()
602 #define p2(f1, f2, m) if (tcpstat.f1 || tcpstat.f2 || sflag <= 1) \ in tcp_stats()
603 xo_emit(m, (uintmax_t )tcpstat.f1, plural(tcpstat.f1), \ in tcp_stats()
604 (uintmax_t )tcpstat.f2, plural(tcpstat.f2)) in tcp_stats()
605 #define p2a(f1, f2, m) if (tcpstat.f1 || tcpstat.f2 || sflag <= 1) \ in tcp_stats()
606 xo_emit(m, (uintmax_t )tcpstat.f1, plural(tcpstat.f1), \ in tcp_stats()
607 (uintmax_t )tcpstat.f2) in tcp_stats()
608 #define p3(f, m) if (tcpstat.f || sflag <= 1) \ in tcp_stats()
609 xo_emit(m, (uintmax_t )tcpstat.f, pluralies(tcpstat.f)) in tcp_stats()