Home
last modified time | relevance | path

Searched refs:qnamelen (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/unbound/services/cache/
H A Drrset.c280 rrset_cache_lookup(struct rrset_cache* r, uint8_t* qname, size_t qnamelen, in rrset_cache_lookup() argument
290 key.rk.dname_len = qnamelen; in rrset_cache_lookup()
449 qnamelen, uint16_t searchtype, uint16_t qclass, time_t now, uint8_t* in rrset_cache_remove_above() argument
455 while(*qnamelen > 0) { in rrset_cache_remove_above()
459 *qnamelen -= lablen + 1; in rrset_cache_remove_above()
460 if(*qnamelen <= 0) in rrset_cache_remove_above()
464 if(qnametop && *qnamelen == qnametoplen && in rrset_cache_remove_above()
471 *qnamelen, searchtype, qclass, 0, 0, 0))) { in rrset_cache_remove_above()
487 rrset_cache_remove(r, *qname, *qnamelen, searchtype, qclass, 0); in rrset_cache_remove_above()
493 qnamelen, uint16_t searchtype, uint16_t qclass, time_t now, uint8_t* in rrset_cache_expired_above() argument
[all …]
H A Ddns.c139 msg_cache_remove(struct module_env* env, uint8_t* qname, size_t qnamelen, in msg_cache_remove() argument
146 k.qname_len = qnamelen; in msg_cache_remove()
208 find_closest_of_type(struct module_env* env, uint8_t* qname, size_t qnamelen, in find_closest_of_type() argument
219 qnamelen -= lablen + 1; in find_closest_of_type()
223 while(qnamelen > 0) { in find_closest_of_type()
225 qnamelen, searchtype, qclass, 0, now, 0))) { in find_closest_of_type()
227 size_t origqnamelen = qnamelen; in find_closest_of_type()
233 if(expiretop && qnamelen == expiretoplen && in find_closest_of_type()
244 &qnamelen, searchtype, qclass, now, expiretop, in find_closest_of_type()
263 qnamelen -= lablen + 1; in find_closest_of_type()
[all …]
H A Ddns.h146 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass,
195 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass,
222 struct dns_msg* dns_msg_create(uint8_t* qname, size_t qnamelen, uint16_t qtype,
265 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass,
277 void msg_cache_remove(struct module_env* env, uint8_t* qname, size_t qnamelen,
H A Drrset.h169 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass,
246 size_t* qnamelen, uint16_t searchtype, uint16_t qclass, time_t now,
262 size_t* qnamelen, uint16_t searchtype, uint16_t qclass, time_t now,
/freebsd/contrib/unbound/iterator/
H A Diter_scrub.c226 synth_cname(uint8_t* qname, size_t qnamelen, struct rrset_parse* dname_rrset, in synth_cname() argument
234 if(qnamelen <= dname_rrset->dname_len) in synth_cname()
236 if(qnamelen == 0) in synth_cname()
238 log_assert(qnamelen > dname_rrset->dname_len); in synth_cname()
241 *aliaslen = qnamelen + dtarglen - dname_rrset->dname_len; in synth_cname()
246 dname_pkt_copy(pkt, alias+(qnamelen-dname_rrset->dname_len), dtarg); in synth_cname()
H A Diterator.c808 generate_sub_request(uint8_t* qname, size_t qnamelen, uint16_t qtype, in generate_sub_request() argument
821 qinf.qname_len = qnamelen; in generate_sub_request()
3442 size_t qnamelen = iq->dp->namelen; in processQueryResponse() local
3444 &qname, &qnamelen, LDNS_RR_TYPE_NS, in processQueryResponse()
/freebsd/contrib/unbound/validator/
H A Dval_nsec.h164 size_t qnamelen);
H A Dval_nsec.c520 size_t qnamelen) in val_nsec_proves_no_wc() argument
540 striplen = qnamelen; in val_nsec_proves_no_wc()
H A Dval_nsec3.c980 next_closer(uint8_t* qname, size_t qnamelen, uint8_t* ce, in next_closer() argument
985 *nmlen = qnamelen; in next_closer()
/freebsd/contrib/unbound/services/
H A Doutside_network.c2550 serviced_gen_query(sldns_buffer* buff, uint8_t* qname, size_t qnamelen,
2560 sldns_buffer_write(buff, qname, qnamelen);