Home
last modified time | relevance | path

Searched refs:tcp_stats (Results 1 – 7 of 7) sorted by relevance

/dflybsd-src/usr.bin/systat/
H A Dtcp.c55 static struct tcp_stats curstat, initstat, oldstat;
129 domode(struct tcp_stats *ret) in domode()
131 const struct tcp_stats *sub; in domode()
218 struct tcp_stats stats; in showtcp()
272 CPU_STATS_FUNC(tcp, struct tcp_stats);
275 fetch_tcpstats(struct tcp_stats *st) in fetch_tcpstats()
277 struct tcp_stats stattmp[SMP_MAXCPU]; in fetch_tcpstats()
286 len = sizeof(struct tcp_stats) * SMP_MAXCPU; in fetch_tcpstats()
291 cpucnt = len / sizeof(struct tcp_stats); in fetch_tcpstats()
H A Dnetbw.c159 static struct tcp_stats tcp_curr;
160 static struct tcp_stats tcp_last;
215 struct tcp_stats tcp_array[SMP_MAXCPU]; in fetchnetbw()
/dflybsd-src/usr.bin/netstat/
H A Dinet.c385 CPU_STATS_FUNC(tcp, struct tcp_stats);
393 tcp_stats(u_long off __unused, const char *name, int af1 __unused) in tcp_stats() function
396 struct tcp_stats tcpstat, *stattmp; in tcp_stats()
397 struct tcp_stats zerostat[SMP_MAXCPU]; in tcp_stats()
398 size_t len = sizeof(struct tcp_stats) * SMP_MAXCPU; in tcp_stats()
419 cpucnt = len / sizeof(struct tcp_stats); in tcp_stats()
H A Dnetstat.h66 void tcp_stats (u_long, const char *, int);
H A Dmain.c119 tcp_stats, NULL, "tcp", IPPROTO_TCP },
139 tcp_stats, NULL, "tcp", IPPROTO_TCP },
/dflybsd-src/sys/netinet/
H A Dtcp_var.h339 struct tcp_stats { struct
455 CTASSERT((sizeof(struct tcp_stats) & __VM_CACHELINE_MASK) == 0); argument
472 extern struct tcp_stats tcpstats_percpu[MAXCPU];
H A Dtcp_subr.c292 struct tcp_stats tcpstats_percpu[MAXCPU] __cachealign;
304 sizeof(struct tcp_stats)))) in sysctl_tcpstats()
307 sizeof(struct tcp_stats)))) in sysctl_tcpstats()
430 bzero(&tcpstats_percpu[cpu], sizeof(struct tcp_stats)); in tcp_init()