Lines Matching refs:tv
553 * 0 The application should select on *fd with a timeout of tv before
560 struct timeval *tv)
623 tv->tv_sec = h->servers[h->srv].timeout;
624 tv->tv_usec = 0;
711 rad_init_send_request(struct rad_handle *h, int *fd, struct timeval *tv)
780 return rad_continue_send_request(h, 0, fd, tv);
928 struct timeval tv;
932 n = rad_init_send_request(h, &fd, &tv);
938 timeradd(&tv, &timelimit, &timelimit);
946 n = select(fd + 1, &readfds, NULL, NULL, &tv);
955 gettimeofday(&tv, NULL);
956 timersub(&timelimit, &tv, &tv);
957 if (tv.tv_sec > 0 || (tv.tv_sec == 0 && tv.tv_usec > 0))
962 n = rad_continue_send_request(h, n, &fd, &tv);
968 timeradd(&tv, &timelimit, &timelimit);