Home
last modified time | relevance | path

Searched refs:tcp_debx (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/usr.sbin/trpt/
H A Dtrpt.c141 static int tcp_debx; variable
212 size_t lenx = sizeof(tcp_debx); in main()
215 if (sysctlbyname("net.inet.tcp.debx", &tcp_debx, &lenx, in main()
229 if (kvm_read(kd, nl[N_TCP_DEBX].n_value, (char *)&tcp_debx, in main()
230 sizeof(tcp_debx)) != sizeof(tcp_debx)) in main()
282 int prev_debx = tcp_debx; in dotrace()
286 if (--tcp_debx < 0) in dotrace()
287 tcp_debx = TCP_NDEBUG - 1; in dotrace()
312 if (i == tcp_debx) in dotrace()
315 for (i = 0; i <= tcp_debx % TCP_NDEBUG; i++) { in dotrace()
[all …]
/netbsd-src/sys/netinet/
H A Dtcp_debug.c105 int tcp_debx; variable
116 struct tcp_debug *td = &tcp_debug[tcp_debx++]; in tcp_trace()
118 if (tcp_debx == TCP_NDEBUG) in tcp_trace()
119 tcp_debx = 0; in tcp_trace()
H A Dtcp_usrreq.c1883 extern int tcp_debx; in sysctl_net_inet_tcp_setup2()
2232 NULL, 0, &tcp_debx, sizeof(tcp_debx), in sysctl_net_inet_tcp_setup2()