tcp_debug
struct tcp_debug tcp_debug[TCP_NDEBUG];
struct tcp_debug *td = &tcp_debug[tcp_debx++];
extern struct tcp_debug tcp_debug[TCP_NDEBUG];
NULL, 0, &tcp_debug, sizeof(tcp_debug),
static struct tcp_debug tcp_debug[TCP_NDEBUG];
size_t lend = sizeof(tcp_debug);
if (sysctlbyname("net.inet.tcp.debug", &tcp_debug, &lend,
if (kvm_read(kd, nl[N_TCP_DEBUG].n_value, (char *)tcp_debug,
sizeof(tcp_debug)) != sizeof(tcp_debug))
struct tcp_debug *td = &tcp_debug[i];
struct tcp_debug *td;
td = &tcp_debug[i];
td = &tcp_debug[i];
size_t len = sizeof(tcp_debug);
if (sysctlbyname("net.inet.tcp.debug", &tcp_debug,
(char *)tcp_debug,
sizeof(tcp_debug)) != sizeof(tcp_debug))