Lines Matching defs:rtt
1124 unsigned int rtt, factor;
1132 rtt = (unsigned int)isc_time_microdiff(finish,
1134 rttms = rtt / US_PER_MS;
1207 rtt = query->addrinfo->srtt + (value & mask);
1208 if (rtt > MAX_SINGLE_QUERY_TIMEOUT_US) {
1209 rtt = MAX_SINGLE_QUERY_TIMEOUT_US;
1211 if (rtt > fctx->res->query_timeout * US_PER_MS) {
1212 rtt = fctx->res->query_timeout * US_PER_MS;
1221 dns_adb_adjustsrtt(fctx->adb, query->addrinfo, rtt, factor);
1814 fctx_setretryinterval(fetchctx_t *fctx, unsigned int rtt) {
1844 * Add a fudge factor to the expected rtt based on the current
1847 if (rtt < 50000) {
1848 rtt += 50000;
1849 } else if (rtt < 100000) {
1850 rtt += 100000;
1852 rtt += 200000;
1856 * Always wait for at least the expected rtt.
1858 if (us < rtt) {
1859 us = rtt;