Lines Matching refs:qnamelen
145 find_closest_of_type(struct module_env* env, uint8_t* qname, size_t qnamelen,
155 qnamelen -= lablen + 1;
159 while(qnamelen > 0) {
161 qnamelen, searchtype, qclass, 0, now, 0)))
167 qnamelen -= lablen + 1;
186 msg_cache_lookup(struct module_env* env, uint8_t* qname, size_t qnamelen,
194 k.qname_len = qnamelen;
351 dns_msg_create(uint8_t* qname, size_t qnamelen, uint16_t qtype,
358 msg->qinfo.qname = regional_alloc_init(region, qname, qnamelen);
361 msg->qinfo.qname_len = qnamelen;
406 size_t qnamelen, uint16_t qtype, uint16_t qclass,
414 nskey = find_closest_of_type(env, qname, qnamelen, qclass, now,
433 *msg = dns_msg_create(qname, qnamelen, qtype, qclass, region,
653 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass,
667 env->rrset_cache, qname, qnamelen, lookup[i],
685 msg = dns_msg_create(qname, qnamelen, qtype, qclass,
705 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass,
716 k.qname_len = qnamelen;
737 if( (rrset=find_closest_of_type(env, qname, qnamelen, qclass, now,
751 (rrset=rrset_cache_lookup(env->rrset_cache, qname, qnamelen,
764 (rrset=rrset_cache_lookup(env->rrset_cache, qname, qnamelen,
806 msg->qinfo.qname_len=qnamelen;
817 return fill_any(env, qname, qnamelen, qtype, qclass, region);