Lines Matching defs:select_timeout
111 struct timeval select_timeout, result;
149 select_timeout.tv_sec = 0;
448 select_timeout.tv_sec + 5) {
455 dt -= select_timeout.tv_sec;
474 timevalsub(&select_timeout, &ifscan_timer, &now);
475 if (select_timeout.tv_sec <= 0) {
476 select_timeout.tv_sec = 0;
493 if (timercmp(&result, &select_timeout, < /* */))
494 select_timeout = result;
526 if (timercmp(&result, &select_timeout, < /* */))
527 select_timeout = result;
543 if (timercmp(&result, &select_timeout, < /* */))
544 select_timeout = result;
553 if (timercmp(&result, &select_timeout, < /* */))
554 select_timeout = result;
562 if (timercmp(&result, &select_timeout, < /* */))
563 select_timeout = result;
574 if (timercmp(&result, &select_timeout, < /* */))
575 select_timeout = result;
582 if (select_timeout.tv_sec > 100000000)
583 select_timeout.tv_sec = 0;
588 n = select(sock_max, &ibits, 0, 0, &select_timeout);