Home
last modified time | relevance | path

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

/openbsd-src/usr.sbin/nsd/
H A Dnsd.h304 int current_tcp_count; member
H A Dserver.c3576 if(nsd->current_tcp_count == 0 || tcp_active_list == NULL) in service_remaining_tcp()
3633 while(nsd->current_tcp_count > 0) { in service_remaining_tcp()
4128 if (slowaccept || data->nsd->current_tcp_count == data->nsd->maximum_tcp_count) { in cleanup_tcp_handler()
4135 --data->nsd->current_tcp_count; in cleanup_tcp_handler()
4136 assert(data->nsd->current_tcp_count >= 0); in cleanup_tcp_handler()
5204 if (data->nsd->current_tcp_count >= data->nsd->maximum_tcp_count) { in handle_tcp_accept()
5292 if (data->nsd->current_tcp_count > data->nsd->maximum_tcp_count/2) { in handle_tcp_accept()
5352 ++data->nsd->current_tcp_count; in handle_tcp_accept()
5354 data->nsd->current_tcp_count == data->nsd->maximum_tcp_count) in handle_tcp_accept()
H A Dnsd.c973 nsd.current_tcp_count = 0; in main()