Lines Matching full:timeout
196 /* Read current socket timeout */
198 int timeout;
200 (void*)&timeout, &sz) < 0)
204 data->socket_timeout.tv_sec = timeout / 1000;
205 data->socket_timeout.tv_usec = (timeout % 1000) * 1000;
232 /* Adjust socket timeout if next handhake message timer
241 timeout = timeleft.tv_sec * 1000 + timeleft.tv_usec / 1000;
243 (void*)&timeout, sizeof(timeout)) < 0)
264 int timeout = data->socket_timeout.tv_sec * 1000 +
267 (void*)&timeout, sizeof(timeout)) < 0)
628 int timeout = tv->tv_sec * 1000 + tv->tv_usec/1000;
630 (void*)&timeout, sizeof(timeout)) < 0)
642 int timeout, sz = sizeof(timeout);
645 (void*)&timeout, &sz) < 0)
649 tv->tv_sec = timeout / 1000;
650 tv->tv_usec = (timeout % 1000) * 1000;
666 int timeout = tv->tv_sec * 1000 + tv->tv_usec/1000;
668 (void*)&timeout, sizeof(timeout)) < 0)
680 int timeout, sz = sizeof(timeout);
683 (void*)&timeout, &sz) < 0)
687 tv->tv_sec = timeout / 1000;
688 tv->tv_usec = (timeout % 1000) * 1000;