Lines Matching defs:stub
1466 struct iter_hints_stub *stub;
1470 /* Check for stub. */
1474 stub = hints_lookup_stub(qstate->env->hints, qinf->qname,
1479 /* see if forward or stub is more pertinent */
1480 if(stub && stub->dp && dp) {
1482 stub->dp->name, stub->dp->namelabs)) {
1483 stub = NULL; /* ignore stub, forward is lower */
1485 dp = NULL; /* ignore forward, stub is lower */
1489 /* check stub */
1490 if (stub != NULL && stub->dp != NULL) {
1491 int stub_no_cache = stub->dp->no_cache;
1497 dname_str(stub->dp->name, dpname);
1498 verbose(VERB_ALGO, "stub for %s %s has no_cache", qname, dpname);
1501 if(stub->dp->namelen > dpname_storage_len) {
1502 verbose(VERB_ALGO, "no cache stub dpname too long");
1508 memmove(dpname_storage, stub->dp->name,
1509 stub->dp->namelen);
1511 *retdpnamelen = stub->dp->namelen;