Home
last modified time | relevance | path

Searched refs:nskey (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/unbound/services/cache/
H A Ddns.c556 struct ub_packed_rrset_key* nskey; in dns_cache_find_delegation() local
560 nskey = find_closest_of_type(env, qname, qnamelen, qclass, now, in dns_cache_find_delegation()
562 if(!nskey) /* hope the caller has hints to prime or something */ in dns_cache_find_delegation()
564 nsdata = (struct packed_rrset_data*)nskey->entry.data; in dns_cache_find_delegation()
567 if(!dp || !delegpt_set_name(dp, region, nskey->rk.dname)) { in dns_cache_find_delegation()
568 lock_rw_unlock(&nskey->entry.lock); in dns_cache_find_delegation()
581 if(!*msg || !dns_msg_authadd(*msg, region, nskey, now)) { in dns_cache_find_delegation()
582 lock_rw_unlock(&nskey->entry.lock); in dns_cache_find_delegation()
587 if(!delegpt_rrset_add_ns(dp, region, nskey, 0)) in dns_cache_find_delegation()
589 lock_rw_unlock(&nskey->entry.lock); /* first unlock before next lookup*/ in dns_cache_find_delegation()
/freebsd/contrib/unbound/contrib/
H A Dfastrpz.patch1862 + struct ub_packed_rrset_key* nskey;
1886 + nskey = rrset_cache_lookup(env->rrset_cache, dname, dname_size,
1889 + if(!nskey)
1892 + nsdata = (const struct packed_rrset_data*)nskey->entry.data;
1911 + lock_rw_unlock(&nskey->entry.lock);