Home
last modified time | relevance | path

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

/freebsd/usr.sbin/nscd/
H A Dnscd.c276 struct timeval query_timeout; in process_socket_event() local
380 get_time_func(&query_timeout); in process_socket_event()
381 query_timeout.tv_usec = 0; in process_socket_event()
382 query_timeout.tv_sec -= qstate->creation_time.tv_sec; in process_socket_event()
383 if (query_timeout.tv_sec > qstate->timeout.tv_sec) in process_socket_event()
384 query_timeout.tv_sec = 0; in process_socket_event()
386 query_timeout.tv_sec = qstate->timeout.tv_sec - in process_socket_event()
387 query_timeout.tv_sec; in process_socket_event()
456 EV_ADD | EV_ONESHOT, 0, query_timeout.tv_sec * 1000, qstate); in process_socket_event()
H A Dconfig.h107 int query_timeout; member
H A Dconfig.c557 config->query_timeout = DEFAULT_QUERY_TIMEOUT; in fill_configuration_defaults()
H A Dquery.c1258 retval->timeout.tv_sec = s_configuration->query_timeout; in init_query_state()