/bind-9.11.3/lib/lwres/ |
H A D | context_p.h | 32 unsigned int timeout; /*%< time to wait for reply */ member in struct:lwres_context
|
H A D | context.c | 174 ctx->timeout = LWRES_DEFAULT_TIMEOUT; 463 struct timeval timeout; local 468 if (ctx->timeout <= 0x7FFFFFFFU) 469 timeout.tv_sec = (int)ctx->timeout; 471 timeout.tv_sec = 0x7FFFFFFF; 473 timeout.tv_usec = 0; 492 ret2 = select(ctx->sock + 1, &readfds, NULL, NULL, &timeout);
|
H A D | lwconfig.c | 234 confdata->timeout = 0; 288 confdata->timeout = 0; 563 long timeout; local 589 } else if (strncmp("timeout:", word, 8) == 0) { 590 timeout = strtol(word + 8, &p, 10); 593 confdata->timeout = (lwres_int32_t)timeout; 781 if (confdata->timeout) 782 fprintf(fp, "options timeout:%d\n", confdata->timeout); [all...] |
/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/ |
H A D | os.c | 60 perf_os_waituntilreadable(int fd, int pipe_fd, isc_int64_t timeout) argument 71 if (timeout < 0) { 74 tv.tv_sec = timeout / MILLION; 75 tv.tv_usec = timeout % MILLION; 94 isc_int64_t timeout) 113 if (timeout < 0) { 116 tv.tv_sec = timeout / MILLION; 117 tv.tv_usec = timeout % MILLION; 93 perf_os_waituntilanyreadable(int *fds, unsigned int nfds, int pipe_fd, isc_int64_t timeout) argument
|
H A D | dnsperf.c | 102 isc_uint64_t timeout; member in struct:__anon55 407 config->timeout = DEFAULT_TIMEOUT * MILLION; 441 perf_opt_add('t', perf_opt_timeval, "timeout", 442 "the timeout for query completion in seconds", 443 stringify(DEFAULT_TIMEOUT), &config->timeout); 703 now - q->timestamp < config->timeout) 722 now - q->timestamp >= config->timeout);
|
/bind-9.11.3/bin/tests/ |
H A D | timer_test.c | 66 timeout(isc_task_t *task, isc_event_t *event) { function 77 printf("task %s (%p) %s timeout\n", name, task, type); 137 &interval, t2, timeout, two, &ti2) == 150 &interval, t3, timeout, three, &ti3) ==
|
H A D | sock_test.c | 243 timeout(isc_task_t *task, isc_event_t *event) { function 350 &interval, t1, timeout, so1, &ti1) ==
|
/bind-9.11.3/bin/tests/virtual-time/ |
H A D | vtwrapper.c | 207 struct timeval *timeout) 214 if (epoch.tv_sec == 0 || timeout == NULL || 215 (timeout->tv_sec == 0 && timeout->tv_usec == 0)) 216 return syscall(SYS_select, nfds, rfds, wfds, xfds, timeout); 218 interval_deflate(timeout, &tv); 221 return syscall(SYS_select, nfds, rfds, wfds, xfds, timeout); 228 poll(struct pollfd fds[], nfds_t nfds, int timeout) { argument 234 if (timeout <= 0 || epoch.tv_sec == 0) 235 return syscall(SYS_poll, fds, nfds, timeout); 206 select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *xfds, struct timeval *timeout) argument 250 kevent(int kq, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout) argument 280 epoll_wait(int fd, struct epoll_event *events, int maxevents, int timeout) argument [all...] |
/bind-9.11.3/bin/tests/resolver/ |
H A D | t_resolver.c | 117 unsigned int timeout; local 120 "The default timeout is returned from _gettimeout()"); 124 timeout = dns_resolver_gettimeout(resolver); 125 t_info("The default timeout is %d second%s\n", timeout, (timeout == 1 ? "" : "s")); 126 test_result = (timeout > 0) ? T_PASS : T_FAIL; 138 unsigned int default_timeout, timeout; local 141 "_settimeout() can change the timeout to a non-default"); 146 t_info("The default timeout i 165 unsigned int default_timeout, timeout; local 196 unsigned int timeout; local [all...] |
/bind-9.11.3/unit/atf-src/tools/ |
H A D | misc_helpers.cpp | 316 ATF_TEST_CASE(timeout); variable 317 ATF_TEST_CASE_HEAD(timeout) 320 set_md_var("timeout", "1"); 322 ATF_TEST_CASE_BODY(timeout) 438 if (which == "timeout") 439 ATF_ADD_TEST_CASE(tcs, timeout);
|
H A D | io.cpp | 239 safe_poll(struct pollfd fds[], nfds_t nfds, int timeout) argument 241 int ret = ::poll(fds, nfds, timeout);
|
H A D | test-program.cpp | 116 if (m_tcs[ident].find("timeout") == m_tcs[ident].end()) 117 m_tcs[ident].insert(std::make_pair("timeout", "300")); 470 } else if (name == "timeout") { 472 throw parse_error(lineno, "The timeout property requires an integer" 750 const vars_map::const_iterator iter = metadata.find("timeout"); 752 const unsigned int timeout = local 767 timers::child_timer timeout_timer(timeout, child_pid, terminate_poll); 782 // Don't assume the child process has been signaled due to the timeout 785 reason = "Test case timed out after " + tools::text::to_string(timeout) + 786 " " + (timeout [all...] |
/bind-9.11.3/lib/lwres/include/lwres/ |
H A D | lwres.h | 239 lwres_int32_t timeout; /*%< set to n in 'options timeout:n' */ member in struct:__anon322
|
/bind-9.11.3/lib/dns/ |
H A D | request.c | 90 #define DNS_REQUEST_F_TIMEDOUT 0x0008 /*%< canceled due to a timeout */ 670 set_timer(isc_timer_t *timer, unsigned int timeout, unsigned int udpresend) { argument 676 isc_interval_set(&interval, timeout, 0); 690 unsigned int options, unsigned int timeout, 695 -1, options, timeout, 0, 0, task, action, 702 unsigned int options, unsigned int timeout, 710 udpretries = timeout / udptimeout; 713 -1, options, timeout, udptimeout, 721 unsigned int options, unsigned int timeout, 727 -1, options, timeout, udptimeou 688 dns_request_createraw(dns_requestmgr_t *requestmgr, isc_buffer_t *msgbuf, isc_sockaddr_t *srcaddr, isc_sockaddr_t *destaddr, unsigned int options, unsigned int timeout, isc_task_t *task, isc_taskaction_t action, void *arg, dns_request_t **requestp) argument 700 dns_request_createraw2(dns_requestmgr_t *requestmgr, isc_buffer_t *msgbuf, isc_sockaddr_t *srcaddr, isc_sockaddr_t *destaddr, unsigned int options, unsigned int timeout, unsigned int udptimeout, isc_task_t *task, isc_taskaction_t action, void *arg, dns_request_t **requestp) argument 719 dns_request_createraw3(dns_requestmgr_t *requestmgr, isc_buffer_t *msgbuf, isc_sockaddr_t *srcaddr, isc_sockaddr_t *destaddr, unsigned int options, unsigned int timeout, unsigned int udptimeout, unsigned int udpretries, isc_task_t *task, isc_taskaction_t action, void *arg, dns_request_t **requestp) argument 733 dns_request_createraw4(dns_requestmgr_t *requestmgr, isc_buffer_t *msgbuf, isc_sockaddr_t *srcaddr, isc_sockaddr_t *destaddr, isc_dscp_t dscp, unsigned int options, unsigned int timeout, unsigned int udptimeout, unsigned int udpretries, isc_task_t *task, isc_taskaction_t action, void *arg, dns_request_t **requestp) argument 909 dns_request_create(dns_requestmgr_t *requestmgr, dns_message_t *message, isc_sockaddr_t *address, unsigned int options, dns_tsigkey_t *key, unsigned int timeout, isc_task_t *task, isc_taskaction_t action, void *arg, dns_request_t **requestp) argument 922 dns_request_createvia(dns_requestmgr_t *requestmgr, dns_message_t *message, isc_sockaddr_t *srcaddr, isc_sockaddr_t *destaddr, unsigned int options, dns_tsigkey_t *key, unsigned int timeout, isc_task_t *task, isc_taskaction_t action, void *arg, dns_request_t **requestp) argument 935 dns_request_createvia2(dns_requestmgr_t *requestmgr, dns_message_t *message, isc_sockaddr_t *srcaddr, isc_sockaddr_t *destaddr, unsigned int options, dns_tsigkey_t *key, unsigned int timeout, unsigned int udptimeout, isc_task_t *task, isc_taskaction_t action, void *arg, dns_request_t **requestp) argument 953 dns_request_createvia3(dns_requestmgr_t *requestmgr, dns_message_t *message, isc_sockaddr_t *srcaddr, isc_sockaddr_t *destaddr, unsigned int options, dns_tsigkey_t *key, unsigned int timeout, unsigned int udptimeout, unsigned int udpretries, isc_task_t *task, isc_taskaction_t action, void *arg, dns_request_t **requestp) argument 968 dns_request_createvia4(dns_requestmgr_t *requestmgr, dns_message_t *message, isc_sockaddr_t *srcaddr, isc_sockaddr_t *destaddr, isc_dscp_t dscp, unsigned int options, dns_tsigkey_t *key, unsigned int timeout, unsigned int udptimeout, unsigned int udpretries, isc_task_t *task, isc_taskaction_t action, void *arg, dns_request_t **requestp) argument [all...] |
H A D | client.c | 1640 dns_tsec_t *tsec, unsigned int timeout, 1678 options, parseoptions, tsec, timeout, 1722 dns_tsec_t *tsec, unsigned int timeout, 1800 timeout, udptimeout, udpretries, 1948 unsigned int timeout, reqoptions; local 1999 timeout = client->update_timeout / uctx->nservers; 2000 if (timeout < MIN_UPDATE_TIMEOUT) 2001 timeout = MIN_UPDATE_TIMEOUT; 2011 timeout, 2036 unsigned int timeout, reqoption local 1637 dns_client_request(dns_client_t *client, dns_message_t *qmessage, dns_message_t *rmessage, isc_sockaddr_t *server, unsigned int options, unsigned int parseoptions, dns_tsec_t *tsec, unsigned int timeout, unsigned int udptimeout, unsigned int udpretries) argument 1719 dns_client_startrequest(dns_client_t *client, dns_message_t *qmessage, dns_message_t *rmessage, isc_sockaddr_t *server, unsigned int options, unsigned int parseoptions, dns_tsec_t *tsec, unsigned int timeout, unsigned int udptimeout, unsigned int udpretries, isc_task_t *task, isc_taskaction_t action, void *arg, dns_clientreqtrans_t **transp) argument [all...] |
H A D | adb.c | 3445 fprintf(f, "; [edns success/4096 timeout/1432 timeout/1232 timeout/" 3446 "512 timeout]\n"); 3447 fprintf(f, "; [plain success/timeout]\n;\n"); 4237 isc_boolean_t timeout) 4246 if (timeout) 4253 * Calculate an exponential rolling average of the timeout ratio 4360 * edns timeout information. 4236 maybe_adjust_quota(dns_adb_t *adb, dns_adbaddrinfo_t *addr, isc_boolean_t timeout) argument
|
H A D | resolver.c | 150 * We need to allow a individual query time to complete / timeout. 368 isc_boolean_t timeout; member in struct:fetchctx 979 * Don't adjust timeout on EDNS queries unless we have 1433 * Log any deferred EDNS timeout messages. 2275 if (fctx->timeout && (query->options & DNS_FETCHOPT_NOEDNS0) == 0) { 2299 fctx->timeout = ISC_FALSE; 3921 FCTXTRACE("timeout"); 3932 fctx->timeout = ISC_TRUE; 4334 fctx->timeout = ISC_FALSE; 7730 fctx->timeout [all...] |
H A D | zone.c | 10849 unsigned int options, timeout; local 10948 timeout = 15; 10950 timeout = 30; 10953 options, key, timeout * 3, timeout, 11392 "refreshing stub: timeout retrying " 11731 * if timeout log and next master; 11742 "refresh: timeout retrying without EDNS " 12220 int timeout; local 12355 timeout 12416 int timeout; local [all...] |
/bind-9.11.3/bin/tools/ |
H A D | mdig.c | 136 unsigned int timeout; member in struct:query 687 query->timeout, query->udptimeout, 773 " +timeout=### (Set query timeout) [UDP=5,TCP=10]\n" 774 " +udptimeout=### (Set timeout before UDP retry)\n" 1427 case 'i': /* timeout */ 1428 FULLCHECK("timeout"); 1433 result = parse_uint(&query->timeout, value, 1434 MAXTIMEOUT, "timeout"); 1435 CHECK("parse_uint(timeout)", resul [all...] |
/bind-9.11.3/contrib/queryperf/ |
H A D | queryperf.c | 136 struct query_mininfo { /* minimum info for timeout queries */ 268 " [-b bufsize] [-t timeout] [-n] [-l limit] [-f family] [-1]\n" 275 " -t specifies the timeout for query completion in seconds (default: %d)\n" 1820 * (i.e. set in_use = FALSE) which are older than the timeout, decrementing 1827 double timeout = query_timeout; local 1848 timeout = 0.001; /* XXX: ad-hoc value */ 1857 status[count].sent_timestamp) >= (double)timeout)) 2162 "failed to allocate memory for timeout queries\n");
|
/bind-9.11.3/bin/nsupdate/ |
H A D | nsupdate.c | 184 static unsigned int timeout = 300; variable 1167 result = isc_parse_uint32(&timeout, 1170 fprintf(stderr, "bad timeout '%s'\n", isc_commandline_argument); 1173 if (timeout == 0) 1174 timeout = UINT_MAX; 1180 fprintf(stderr, "bad udp timeout '%s'\n", isc_commandline_argument); 2444 master, options, tsigkey, timeout,
|
/bind-9.11.3/lib/isc/unix/ |
H A D | socket.c | 193 * poll_active state, and sets the poll timeout to a short period 194 * (ISC_SOCKET_POLLWATCH_TIMEOUT msec). If timeout occurs in this state, the 195 * watcher goes to the poll_checking state with the same timeout period. 198 * polling reports an event within the short period, the previous timeout is 4377 "unexpected POLL timeout"); 6457 int timeout; local 6487 timeout = tvp->tv_sec * 1000 + (tvp->tv_usec + 999) / 1000; 6489 timeout = -1; 6492 manager->nevents, timeout);
|
/bind-9.11.3/bin/dig/ |
H A D | dighost.c | 129 unsigned int timeout = 0; variable 1490 if (lwconf->timeout) { 1491 timeout = lwconf->timeout; 1492 debug("timeout is %d.", timeout); 2930 if (timeout == 0) 2933 local_timeout = timeout; 2935 debug("have local timeout of %d", local_timeout); 2962 * We need to cancel the possible timeout even [all...] |