Lines Matching defs:adb
46 #include <dns/adb.h>
396 dns_adb_t *adb;
419 * Used to track started ADB finds with event.
1062 dns_adb_ednsto(fctx->adb, query->addrinfo);
1064 dns_adb_timeout(fctx->adb, query->addrinfo);
1073 * trigger if, for example, some ADB or validator dependency
1223 dns_adb_adjustsrtt(fctx->adb, query->addrinfo, rtt, factor);
1227 /* Inform the ADB that we're ending a UDP fetch */
1228 dns_adb_endudpfetch(fctx->adb, query->addrinfo);
1240 dns_adb_agesrtt(fctx->adb, addrinfo, now);
1254 dns_adb_agesrtt(fctx->adb, addrinfo,
1266 dns_adb_agesrtt(fctx->adb, addrinfo, now);
1277 dns_adb_agesrtt(fctx->adb, addrinfo,
1332 dns_adb_freeaddrinfo(fctx->adb, &addr);
1340 dns_adb_freeaddrinfo(fctx->adb, &addr);
1741 * Cancel all pending ADB finds if we have not been successful
2147 if (dns_adb_overquota(fctx->adb, addrinfo)) {
2153 /* Inform the ADB that we're starting a UDP fetch */
2154 dns_adb_beginudpfetch(fctx->adb, addrinfo);
2202 /* Inform the ADB that we're ending a UDP fetch */
2203 dns_adb_endudpfetch(fctx->adb, addrinfo);
2444 * The ADB does not know about servers with "edns no". Check
2445 * this, and then inform the ADB for future use.
2453 dns_adb_changeflags(fctx->adb, query->addrinfo,
2478 hint = dns_adb_getudpsize(fctx->adb,
2483 * Inform the ADB that we're ending a
2487 dns_adb_endudpfetch(fctx->adb,
2907 * There are still running ADB finds and these can be more successful.
3248 * Return true iff the ADB find has a pending fetch for 'type'. This is
3259 * However, using a bit check means that in theory, an ADB find might be
3264 * query, and since an ADB find with two pending fetches is a very rare
3294 * the ADB to start looking using zone/hint data. This keeps us
3304 * Exempt prefetches from ADB quota.
3315 result = dns_adb_createfind(fctx->adb, fctx->loop, fctx_finddone, fctx,
3565 result = dns_adb_findaddrinfo(fctx->adb, &fwd->addr, &ai, 0);
3574 dns_adb_freeaddrinfo(fctx->adb, &ai);
3748 result = dns_adb_findaddrinfo(fctx->adb, &a->_u.addr,
3792 * addresses, and the ADB has told us it can't
4093 while (addrinfo != NULL && dns_adb_overquota(fctx->adb, addrinfo)) {
4117 dns_adb_overquota(fctx->adb, addrinfo))
4123 * While we may have addresses from the ADB, they
4468 dns_adb_detach(&fctx->adb);
4874 * Attach to the view's adb, dispatchmgr and cache adb.
4876 dns_view_getadb(res->view, &fctx->adb);
4877 if (fctx->adb == NULL) {
4912 dns_adb_detach(&fctx->adb);
5330 * done waiting for validator completions and ADB pending
7526 fctx->adb, query->addrinfo,
7529 dns_adb_plainresponse(fctx->adb, query->addrinfo);
8313 dns_adb_setcookie(fctx->adb, query->addrinfo,
8346 dns_adb_changeflags(fctx->adb, query->addrinfo,
9993 dns_adb_changeflags(fctx->adb, query->addrinfo,
10008 dns_adb_changeflags(fctx->adb, query->addrinfo, flags,