Lines Matching refs:tcpstat
584 struct tcpstat tcpstat; in tcp_stats() local
594 if (fetch_stats("net.inet.tcp.stats", off, &tcpstat, in tcp_stats()
595 sizeof(tcpstat), kread_counters) != 0) in tcp_stats()
605 #define p(f, m) if (tcpstat.f || sflag <= 1) \ in tcp_stats()
606 xo_emit(m, (uintmax_t )tcpstat.f, plural(tcpstat.f)) in tcp_stats()
607 #define p1a(f, m) if (tcpstat.f || sflag <= 1) \ in tcp_stats()
608 xo_emit(m, (uintmax_t )tcpstat.f) in tcp_stats()
609 #define p2(f1, f2, m) if (tcpstat.f1 || tcpstat.f2 || sflag <= 1) \ in tcp_stats()
610 xo_emit(m, (uintmax_t )tcpstat.f1, plural(tcpstat.f1), \ in tcp_stats()
611 (uintmax_t )tcpstat.f2, plural(tcpstat.f2)) in tcp_stats()
612 #define p2a(f1, f2, m) if (tcpstat.f1 || tcpstat.f2 || sflag <= 1) \ in tcp_stats()
613 xo_emit(m, (uintmax_t )tcpstat.f1, plural(tcpstat.f1), \ in tcp_stats()
614 (uintmax_t )tcpstat.f2) in tcp_stats()
615 #define p3(f, m) if (tcpstat.f || sflag <= 1) \ in tcp_stats()
616 xo_emit(m, (uintmax_t )tcpstat.f, pluralies(tcpstat.f)) in tcp_stats()