Lines Matching defs:timeout
203 /* Read current socket timeout */
205 int timeout;
207 int sz = sizeof(timeout);
209 (void *)&timeout, &sz) < 0) {
212 data->socket_timeout.tv_sec = timeout / 1000;
213 data->socket_timeout.tv_usec = (timeout % 1000) * 1000;
243 * Adjust socket timeout if next handshake message timer will expire
252 timeout = timeleft.tv_sec * 1000 + timeleft.tv_usec / 1000;
254 (void *)&timeout, sizeof(timeout)) < 0) {
276 int timeout = data->socket_timeout.tv_sec * 1000 +
279 (void *)&timeout, sizeof(timeout)) < 0) {
587 int timeout = tv->tv_sec * 1000 + tv->tv_usec / 1000;
589 (void *)&timeout, sizeof(timeout)) < 0) {
606 int timeout;
609 sz = sizeof(timeout);
611 (void *)&timeout, &sz) < 0) {
615 tv->tv_sec = timeout / 1000;
616 tv->tv_usec = (timeout % 1000) * 1000;
638 int timeout = tv->tv_sec * 1000 + tv->tv_usec / 1000;
640 (void *)&timeout, sizeof(timeout)) < 0) {
657 int timeout;
660 sz = sizeof(timeout);
662 (void *)&timeout, &sz) < 0) {
666 tv->tv_sec = timeout / 1000;
667 tv->tv_usec = (timeout % 1000) * 1000;