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.c528 struct ub_packed_rrset_key* nskey; in dns_cache_find_delegation() local
532 nskey = find_closest_of_type(env, qname, qnamelen, qclass, now, in dns_cache_find_delegation()
534 if(!nskey) /* hope the caller has hints to prime or something */ in dns_cache_find_delegation()
536 nsdata = (struct packed_rrset_data*)nskey->entry.data; in dns_cache_find_delegation()
539 if(!dp || !delegpt_set_name(dp, region, nskey->rk.dname)) { in dns_cache_find_delegation()
540 lock_rw_unlock(&nskey->entry.lock); in dns_cache_find_delegation()
553 if(!*msg || !dns_msg_authadd(*msg, region, nskey, now)) { in dns_cache_find_delegation()
554 lock_rw_unlock(&nskey->entry.lock); in dns_cache_find_delegation()
559 if(!delegpt_rrset_add_ns(dp, region, nskey, 0)) in dns_cache_find_delegation()
561 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);