Home
last modified time | relevance | path

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

/freebsd/contrib/bsnmp/snmp_mibII/
H A DmibII_tcp.c50 static uint64_t tcps_states[TCP_NSTATES]; variable
82 len = sizeof(tcps_states); in fetch_tcp_stats()
83 if (sysctlbyname("net.inet.tcp.states", &tcps_states, &len, NULL, in fetch_tcp_stats()
88 if (len != sizeof(tcps_states)) { in fetch_tcp_stats()
246 value->v.uint32 = tcps_states[TCPS_ESTABLISHED] + in op_tcp()
247 tcps_states[TCPS_CLOSE_WAIT]; in op_tcp()
/freebsd/usr.bin/netstat/
H A Dinet.c577 uint64_t tcps_states[TCP_NSTATES]; in tcp_stats() local
591 &tcps_states, sizeof(tcps_states), kread_counters) != 0) in tcp_stats()
884 if (sflag > 1 && tcps_states[i] == 0) in tcp_stats()
889 xo_emit(fmtbuf, (uintmax_t )tcps_states[i]); in tcp_stats()
/freebsd/sys/netinet/
H A Dtcp_var.h1141 VNET_DECLARE(counter_u64_t, tcps_states[TCP_NSTATES]);
1142 #define V_tcps_states VNET(tcps_states)
H A Dtcp_input.c234 VNET_DEFINE(counter_u64_t, tcps_states[TCP_NSTATES]);
236 CTLFLAG_VNET, &VNET_NAME(tcps_states)[0], TCP_NSTATES,