Lines Matching defs:maxtv
58 struct timeval *ares_timeout(ares_channel_t *channel, struct timeval *maxtv,
70 return maxtv; /* <-- maxtv can be null though, hrm */
79 if (maxtv == NULL) {
83 /* Return the minimum time between maxtv and tvbuf */
85 if (tvbuf->tv_sec > maxtv->tv_sec) {
86 return maxtv;
88 if (tvbuf->tv_sec < maxtv->tv_sec) {
92 if (tvbuf->tv_usec > maxtv->tv_usec) {
93 return maxtv;