Home
last modified time | relevance | path

Searched refs:tcpstat (Results 1 – 4 of 4) sorted by relevance

/f-stack/tools/netstat/
H A Dinet.c607 struct tcpstat tcpstat; in tcp_stats() local
618 sizeof(tcpstat), kread_counters) != 0) in tcp_stats()
629 xo_emit(m, (uintmax_t )tcpstat.f, plural(tcpstat.f)) 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()
[all …]
/f-stack/tools/compat/include/netinet/
H A Dtcp_var.h565 struct tcpstat { struct
691 VNET_PCPUSTAT_DECLARE(struct tcpstat, tcpstat); /* tcp statistics */ argument
697 VNET_PCPUSTAT_ADD(struct tcpstat, tcpstat, name, (val))
705 kmod_tcpstat_add(offsetof(struct tcpstat, name) / sizeof(uint64_t), val)
/f-stack/freebsd/netinet/
H A Dtcp_var.h565 struct tcpstat { struct
691 VNET_PCPUSTAT_DECLARE(struct tcpstat, tcpstat); /* tcp statistics */ argument
697 VNET_PCPUSTAT_ADD(struct tcpstat, tcpstat, name, (val))
705 kmod_tcpstat_add(offsetof(struct tcpstat, name) / sizeof(uint64_t), val)
H A Dtcp_input.c248 VNET_PCPUSTAT_DEFINE(struct tcpstat, tcpstat);
249 SYSCTL_VNET_PCPUSTAT(_net_inet_tcp, TCPCTL_STATS, stats, struct tcpstat,
250 tcpstat, "TCP statistics (struct tcpstat, netinet/tcp_var.h)");
261 VNET_PCPUSTAT_ALLOC(tcpstat, M_WAITOK); in tcp_vnet_init()
272 VNET_PCPUSTAT_FREE(tcpstat); in tcp_vnet_uninit()
286 counter_u64_add(VNET(tcpstat)[statnum], val); in kmod_tcpstat_add()