Lines Matching refs:tcpstat
607 struct tcpstat tcpstat; in tcp_stats() local
617 if (fetch_stats("net.inet.tcp.stats", off, &tcpstat, in tcp_stats()
618 sizeof(tcpstat), kread_counters) != 0) in tcp_stats()
628 #define p(f, m) if (tcpstat.f || sflag <= 1) \ in tcp_stats()
629 xo_emit(m, (uintmax_t )tcpstat.f, plural(tcpstat.f)) in tcp_stats()
630 #define p1a(f, m) if (tcpstat.f || sflag <= 1) \ in tcp_stats()
631 xo_emit(m, (uintmax_t )tcpstat.f) in tcp_stats()
632 #define p2(f1, f2, m) if (tcpstat.f1 || tcpstat.f2 || sflag <= 1) \ in tcp_stats()
633 xo_emit(m, (uintmax_t )tcpstat.f1, plural(tcpstat.f1), \ in tcp_stats()
634 (uintmax_t )tcpstat.f2, plural(tcpstat.f2)) in tcp_stats()
635 #define p2a(f1, f2, m) if (tcpstat.f1 || tcpstat.f2 || sflag <= 1) \ in tcp_stats()
636 xo_emit(m, (uintmax_t )tcpstat.f1, plural(tcpstat.f1), \ in tcp_stats()
637 (uintmax_t )tcpstat.f2) in tcp_stats()
638 #define p3(f, m) if (tcpstat.f || sflag <= 1) \ in tcp_stats()
639 xo_emit(m, (uintmax_t )tcpstat.f, pluralies(tcpstat.f)) in tcp_stats()