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

/freebsd-10-stable/contrib/bsnmp/snmp_mibII/
H A DmibII_tcp.c48 static struct tcpstat tcpstat; variable in typeref:struct:tcpstat
75 len = sizeof(tcpstat);
76 if (sysctlbyname("net.inet.tcp.stats", &tcpstat, &len, NULL, 0) == -1) {
80 if (len != sizeof(tcpstat)) {
213 value->v.uint32 = tcpstat.tcps_connattempt;
217 value->v.uint32 = tcpstat.tcps_accepts;
221 value->v.uint32 = tcpstat.tcps_conndrops;
225 value->v.uint32 = tcpstat.tcps_drops;
233 value->v.uint32 = tcpstat
[all...]
/freebsd-10-stable/usr.bin/netstat/
H A Dinet.c596 struct tcpstat tcpstat; local
605 if (fetch_stats("net.inet.tcp.stats", off, &tcpstat,
606 sizeof(tcpstat), kread_counters) != 0)
611 #define p(f, m) if (tcpstat.f || sflag <= 1) \
612 printf(m, (uintmax_t )tcpstat.f, plural(tcpstat.f))
614 #define p1a(f, m) if (tcpstat.f || sflag <= 1) \
615 printf(m, (uintmax_t )tcpstat.f)
617 #define p2(f1, f2, m) if (tcpstat
[all...]
/freebsd-10-stable/usr.bin/systat/
H A Dtcp.c64 static struct tcpstat curstat, initstat, oldstat;
142 domode(struct tcpstat *ret)
144 const struct tcpstat *sub;
231 struct tcpstat stats;
278 error("sysctl getting tcpstat size failed");
282 error("tcpstat structure has grown--recompile systat!");
286 error("sysctl getting tcpstat failed");
306 error("sysctl getting tcpstat failed");
/freebsd-10-stable/contrib/unbound/compat/
H A Dgetentropy_osx.c233 struct tcpstat tcpstat; local
270 ii = sizeof(tcpstat);
272 &tcpstat, &ii, NULL, 0) == -1, tcpstat); local
/freebsd-10-stable/sys/netinet/
H A Dtcp_var.h436 struct tcpstat { struct
553 VNET_PCPUSTAT_DECLARE(struct tcpstat, tcpstat); /* tcp statistics */
559 VNET_PCPUSTAT_ADD(struct tcpstat, tcpstat, name, (val))
567 kmod_tcpstat_inc(offsetof(struct tcpstat, name) / sizeof(uint64_t))
H A Dtcp_input.c250 VNET_PCPUSTAT_DEFINE(struct tcpstat, tcpstat);
251 VNET_PCPUSTAT_SYSINIT(tcpstat); variable
252 SYSCTL_VNET_PCPUSTAT(_net_inet_tcp, TCPCTL_STATS, stats, struct tcpstat,
253 tcpstat, "TCP statistics (struct tcpstat, netinet/tcp_var.h)");
256 VNET_PCPUSTAT_SYSUNINIT(tcpstat); variable
259 * Kernel module interface for updating tcpstat. The argument is an index
260 * into tcpstat treated as an array.
266 counter_u64_add(VNET(tcpstat)[statnu
[all...]
/freebsd-10-stable/release/picobsd/tinyware/ns/
H A Dns.c498 struct tcpstat s;
508 len = sizeof(struct tcpstat);

Completed in 184 milliseconds