Lines Matching refs:timeout
86 * and interface, with a timeout of 0.
259 * int32_t: timeout (in seconds), or DHCP_IPC_WAIT_FOREVER,
265 dhcp_ipc_recv_reply(int fd, dhcp_ipc_reply_t **reply, int32_t timeout)
273 * daemon to respond within the existing timeout, as specified in the
284 if (timeout == DHCP_IPC_WAIT_DEFAULT)
285 timeout = DHCP_IPC_DEFAULT_WAIT;
286 if (timeout != DHCP_IPC_WAIT_FOREVER && timeout < INT_MAX / 1000 - 2)
287 timeout = (timeout + 2) * 1000;
289 timeout = -1;
291 timeout));
363 * int32_t: timeout (in seconds), or DHCP_IPC_WAIT_FOREVER,
370 int32_t timeout)
401 request->timeout = timeout;
405 retval = dhcp_ipc_recv_reply(fd, reply, timeout);
843 * int32_t: timeout (in seconds), or DHCP_IPC_WAIT_FOREVER,
849 dhcp_ipc_getinfo(dhcp_optnum_t *optnum, DHCP_OPT **result, int32_t timeout)
857 if (timeout == DHCP_IPC_WAIT_DEFAULT)
858 timeout = DHCP_IPC_DEFAULT_WAIT;
864 if (dhcp_start_agent((timeout > 5 || timeout < 0) ? 5 : timeout) == -1)
893 * each one. after that, sit in a loop for the next `timeout'
926 if ((timeout != DHCP_IPC_WAIT_FOREVER) &&
927 (time(NULL) - start_time > timeout)) {
962 * dhcp_ipc_timed_read(): reads from a descriptor using a maximum timeout