Searched refs:factor (Results 1 - 3 of 3) sorted by relevance

/bind-9.6-ESV-R11/lib/dns/include/dns/
H A Dadb.h521 unsigned int rtt, unsigned int factor);
526 * (where srtt is the existing rtt value, and rtt and factor are arguments to
530 * new_srtt = (old_srtt / 10 * factor) + (rtt / 10 * (10 - factor));
543 *\li 0 <= factor <= 10
/bind-9.6-ESV-R11/lib/dns/
H A Dresolver.c768 unsigned int factor; local
793 factor = DNS_ADB_RTTADJDEFAULT;
828 factor = DNS_ADB_RTTADJREPLACE;
830 dns_adb_adjustsrtt(fctx->adb, query->addrinfo, rtt, factor);
842 factor = DNS_ADB_RTTADJAGE;
849 0, factor);
860 0, factor);
868 0, factor);
877 0, factor);
H A Dadb.c3414 unsigned int rtt, unsigned int factor)
3422 REQUIRE(factor <= 10);
3427 if (factor == DNS_ADB_RTTADJAGE)
3430 new_srtt = (addr->entry->srtt / 10 * factor)
3431 + (rtt / 10 * (10 - factor));
3413 dns_adb_adjustsrtt(dns_adb_t *adb, dns_adbaddrinfo_t *addr, unsigned int rtt, unsigned int factor) argument

Completed in 38 milliseconds