Searched refs:tcpstat (Results 1 - 7 of 7) sorted by relevance

/freebsd-11-stable/contrib/bsnmp/snmp_mibII/
H A DmibII_tcp.c49 static struct tcpstat tcpstat; variable in typeref:struct:tcpstat
72 len = sizeof(tcpstat);
73 if (sysctlbyname("net.inet.tcp.stats", &tcpstat, &len, NULL, 0) == -1) {
77 if (len != sizeof(tcpstat)) {
230 value->v.uint32 = tcpstat.tcps_connattempt;
234 value->v.uint32 = tcpstat.tcps_accepts;
238 value->v.uint32 = tcpstat.tcps_conndrops;
242 value->v.uint32 = tcpstat.tcps_drops;
251 value->v.uint32 = tcpstat
[all...]
/freebsd-11-stable/usr.bin/netstat/
H A Dinet.c657 struct tcpstat tcpstat; local
667 if (fetch_stats("net.inet.tcp.stats", off, &tcpstat,
668 sizeof(tcpstat), kread_counters) != 0)
678 #define p(f, m) if (tcpstat.f || sflag <= 1) \
679 xo_emit(m, (uintmax_t )tcpstat.f, plural(tcpstat.f))
680 #define p1a(f, m) if (tcpstat.f || sflag <= 1) \
681 xo_emit(m, (uintmax_t )tcpstat.f)
682 #define p2(f1, f2, m) if (tcpstat
[all...]
/freebsd-11-stable/usr.bin/systat/
H A Dtcp.c65 static struct tcpstat curstat, initstat, oldstat;
143 domode(struct tcpstat *ret)
145 const struct tcpstat *sub;
232 struct tcpstat stats;
279 error("sysctl getting tcpstat size failed");
283 error("tcpstat structure has grown--recompile systat!");
287 error("sysctl getting tcpstat failed");
307 error("sysctl getting tcpstat failed");
/freebsd-11-stable/contrib/unbound/compat/
H A Dgetentropy_osx.c221 struct tcpstat tcpstat; local
260 ii = sizeof(tcpstat);
262 &tcpstat, &ii, NULL, 0) == -1, tcpstat); local
/freebsd-11-stable/sys/netinet/
H A Dtcp_var.h482 struct tcpstat { struct
603 VNET_PCPUSTAT_DECLARE(struct tcpstat, tcpstat); /* tcp statistics */
609 VNET_PCPUSTAT_ADD(struct tcpstat, tcpstat, name, (val))
617 kmod_tcpstat_inc(offsetof(struct tcpstat, name) / sizeof(uint64_t))
H A Dtcp_input.c235 * size of struct tcpstat. TCP running connection count is a regular array.
237 VNET_PCPUSTAT_DEFINE(struct tcpstat, tcpstat);
238 SYSCTL_VNET_PCPUSTAT(_net_inet_tcp, TCPCTL_STATS, stats, struct tcpstat,
239 tcpstat, "TCP statistics (struct tcpstat, netinet/tcp_var.h)");
250 VNET_PCPUSTAT_ALLOC(tcpstat, M_WAITOK);
261 VNET_PCPUSTAT_FREE(tcpstat);
268 * Kernel module interface for updating tcpstat. The argument is an index
269 * into tcpstat treate
[all...]
/freebsd-11-stable/release/picobsd/tinyware/ns/
H A Dns.c498 struct tcpstat s;
508 len = sizeof(struct tcpstat);

Completed in 102 milliseconds