Lines Matching full:timeout
135 struct timeval timeout;
438 * We just set the timeout to 1 second. */
485 timerclear(&state->timeout);
581 if (options->timeout > 0 &&
585 state->stop.tv_sec = options->timeout;
589 state->exit.tv_sec = options->timeout;
652 timeval_to_double(&state->timeout));
687 timerclear(&state->timeout);
688 /* We need to set a timeout so we fall through gracefully */
724 if (timerisset(&state->timeout)) {
725 timersub(&state->timeout, tv, &state->timeout);
726 if (!timerisset(&state->timeout))
727 state->timeout.tv_sec = -1;
742 if (timerisset(&state->timeout)) {
743 if (!ref || timercmp(&state->timeout, ref, <))
744 ref = &state->timeout;
805 * If we reduce a timer to zero, set it negative to indicate timeout.
834 /* We should not have an infinite timeout if we get here */
880 timerclear(&state->timeout);
939 timerclear(&state->timeout);
947 reason = "TIMEOUT";
984 timerclear(&state->timeout);
1101 state->stop.tv_sec = options->timeout;
1136 timerclear(&state->timeout);
1169 state->timeout.tv_sec = PROBE_MIN;
1170 state->timeout.tv_usec = arc4random() %
1172 timernorm(&state->timeout);
1174 state->timeout.tv_sec = ANNOUNCE_WAIT;
1175 state->timeout.tv_usec = 0;
1180 timeval_to_double(&state->timeout));
1193 state->timeout.tv_sec = ANNOUNCE_INTERVAL;
1194 state->timeout.tv_usec = 0;
1204 state->timeout.tv_sec = ANNOUNCE_INTERVAL;
1205 state->timeout.tv_usec = 0;
1210 timeval_to_double(&state->timeout));
1274 /* If a renew was requested (ie, didn't timeout) we actually
1283 state->stop.tv_sec = options->timeout;
1313 timerclear(&state->timeout);
1316 state->timeout.tv_sec = DHCP_BASE;
1318 state->timeout.tv_sec *= 2;
1319 if (state->timeout.tv_sec > DHCP_MAX) {
1320 state->timeout.tv_sec = DHCP_MAX;
1324 state->timeout.tv_sec += DHCP_RAND_MIN;
1325 state->timeout.tv_usec = arc4random() %
1327 timernorm(&state->timeout);
1329 /* We send the message here so that the timeout is reported */
1431 timerclear(&state->timeout);
1433 state->timeout.tv_sec = state->nakoff;
1434 state->timeout.tv_usec = 0;
1468 timerclear(&state->timeout);
1674 state->timeout.tv_sec = DHCP_ARP_FAIL;
1675 state->timeout.tv_usec = 0;
1712 timerclear(&state->timeout);
1719 state->timeout.tv_sec = PROBE_WAIT;
1720 state->timeout.tv_usec = 0;
1746 timerclear(&state->timeout);
1756 timerclear(&state->timeout);