Home
last modified time | relevance | path

Searched refs:qinfo (Results 1 – 25 of 70) sorted by relevance

123

/freebsd/sys/dev/ixl/
H A Dixl_pf_qmgr.c46 qmgr->qinfo = malloc(num_queues * sizeof(struct ixl_pf_qmgr_qinfo), in ixl_pf_qmgr_init()
48 if (qmgr->qinfo == NULL) in ixl_pf_qmgr_init()
79 qmgr->qinfo[i].allocated = true; in ixl_pf_qmgr_alloc_contiguous()
118 if (!qmgr->qinfo[i].allocated) { in ixl_pf_qmgr_alloc_scattered()
121 qmgr->qinfo[i].allocated = true; in ixl_pf_qmgr_alloc_scattered()
142 bzero(&qmgr->qinfo[qidx], sizeof(qmgr->qinfo[qidx])); in ixl_pf_qmgr_release()
147 bzero(&qmgr->qinfo[i], sizeof(qmgr->qinfo[qidx])); in ixl_pf_qmgr_release()
170 if (!qmgr->qinfo[i].allocated) in ixl_pf_qmgr_get_num_free()
186 if (qmgr->qinfo[i].allocated) in ixl_pf_qmgr_get_first_free()
199 free(qmgr->qinfo, M_IXL); in ixl_pf_qmgr_destroy()
[all …]
/freebsd/contrib/unbound/validator/
H A Dval_nsec.c150 struct query_info* qinfo) in val_nsec_proves_no_ds() argument
152 log_assert(qinfo->qtype == LDNS_RR_TYPE_DS); in val_nsec_proves_no_ds()
155 if(nsec_has_type(nsec, LDNS_RR_TYPE_SOA) && qinfo->qname_len != 1) { in val_nsec_proves_no_ds()
203 struct query_info* qinfo, struct reply_info* rep, in val_nsec_prove_nodata_dsreply() argument
209 rep, qinfo->qname, qinfo->qname_len, LDNS_RR_TYPE_NSEC, in val_nsec_prove_nodata_dsreply()
210 qinfo->qclass); in val_nsec_prove_nodata_dsreply()
229 sec = val_nsec_proves_no_ds(nsec, qinfo); in val_nsec_prove_nodata_dsreply()
262 if(nsec_proves_nodata(rep->rrsets[i], qinfo, &wc)) { in val_nsec_prove_nodata_dsreply()
270 if(val_nsec_proves_name_error(rep->rrsets[i], qinfo->qname)) { in val_nsec_prove_nodata_dsreply()
271 ce = nsec_closest_encloser(qinfo->qname, in val_nsec_prove_nodata_dsreply()
[all …]
H A Dval_nsec3.c420 size_t num, struct query_info* qinfo) in filter_init() argument
429 filter->fclass = qinfo->qclass; in filter_init()
433 ntohs(list[i]->rk.rrset_class) != qinfo->qclass) in filter_init()
446 if(dname_subdomain_c(qinfo->qname, nm) && (!filter->zone || in filter_init()
449 if(qinfo->qtype == LDNS_RR_TYPE_DS && in filter_init()
450 query_dname_compare(qinfo->qname, nm) == 0 && in filter_init()
451 !dname_is_root(qinfo->qname)) in filter_init()
937 struct nsec3_cache_table* ct, struct query_info* qinfo, in nsec3_find_closest_encloser() argument
940 uint8_t* nm = qinfo->qname; in nsec3_find_closest_encloser()
941 size_t nmlen = qinfo->qname_len; in nsec3_find_closest_encloser()
[all …]
H A Dvalidator.c75 struct query_info* qinfo, struct sock_list* origin, int* suspend,
293 vq->orig_msg->qinfo = qstate->qinfo; in val_new_getmsg()
306 vq->qchase = qstate->qinfo; in val_new_getmsg()
428 if(qstate->qinfo.qtype == LDNS_RR_TYPE_RRSIG && in needs_validation()
1807 qstate->query_flags, &qstate->qinfo, &vq->qchase, in processInit()
1888 qstate->qinfo.qtype == LDNS_RR_TYPE_DNSKEY && in processInit()
1889 query_dname_compare(lookup_name, qstate->qinfo.qname) == 0) { in processInit()
2110 msg, &msg->qinfo, NULL, &suspend, NULL); in processFindKey()
2126 msg, &msg->qinfo, NULL, &suspend, NULL); in processFindKey()
2226 subtype = val_classify_response(qstate->query_flags, &qstate->qinfo, in processValidate()
[all …]
/freebsd/contrib/unbound/contrib/
H A Dredirect-bogus.patch6 if(!inplace_cb_reply_servfail_call(&worker->env, qinfo, NULL, rep,
10 - qinfo, id, flags, edns);
11 + if (qinfo->qtype == LDNS_RR_TYPE_A &&
15 + LDNS_RCODE_NOERROR, qinfo, id, flags, edns,
17 + } else if (qinfo->qtype == LDNS_RR_TYPE_AAAA &&
20 + LDNS_RCODE_NOERROR, qinfo, id, flags, edns,
24 + qinfo, id, flags, edns);
74 m->s.qinfo.qname = r->qname;
75 m->s.qinfo.local_alias = r->local_alias;
77 - if(!inplace_cb_reply_servfail_call(m->s.env, &m->s.qinfo, &m->s,
[all …]
H A Ddrop-tld.diff7 log_query_in(ip, qinfo.qname, qinfo.qtype, qinfo.qclass);
11 + int lab = dname_count_labels(qinfo.qname);
18 if(qinfo.qtype == LDNS_RR_TYPE_AXFR ||
19 qinfo.qtype == LDNS_RR_TYPE_IXFR) {
/freebsd/contrib/unbound/dns64/
H A Ddns64.c464 struct query_info qinfo; in handle_ipv6_ptr() local
470 if (!ptr_to_ipv6((char*)qstate->qinfo.qname, sin6.sin6_addr.s6_addr, in handle_ipv6_ptr()
490 qinfo = qstate->qinfo; in handle_ipv6_ptr()
491 if (!(qinfo.qname = regional_alloc(qstate->region, MAX_PTR_QNAME_IPV4))) in handle_ipv6_ptr()
493 qinfo.qname_len = ipv4_to_ptr(extract_ipv4(sin6.sin6_addr.s6_addr, in handle_ipv6_ptr()
495 (char*)qinfo.qname, MAX_PTR_QNAME_IPV4); in handle_ipv6_ptr()
499 if(!(*qstate->env->attach_sub)(qstate, &qinfo, qstate->query_flags, 0, 0, in handle_ipv6_ptr()
515 struct query_info qinfo; in generate_type_A_query() local
520 qinfo = qstate->qinfo; in generate_type_A_query()
521 qinfo.qtype = LDNS_RR_TYPE_A; in generate_type_A_query()
[all …]
/freebsd/contrib/unbound/services/
H A Dmesh.c192 cmp = query_info_compare(&a->s.qinfo, &b->s.qinfo); in mesh_state_compare()
308 m->s.qinfo.qname, m->s.qinfo.qtype, in mesh_make_new_space()
309 m->s.qinfo.qclass); in mesh_make_new_space()
424 void mesh_new_client(struct mesh_area* mesh, struct query_info* qinfo, in mesh_new_client() argument
450 s = mesh_area_find(mesh, cinfo, qinfo, mesh_flags, 0, 0); in mesh_new_client()
477 s = mesh_state_create(mesh->env, qinfo, cinfo, in mesh_new_client()
481 if(!inplace_cb_reply_servfail_call(mesh->env, qinfo, NULL, NULL, in mesh_new_client()
485 qinfo, qid, qflags, edns); in mesh_new_client()
500 if(!inplace_cb_reply_servfail_call(mesh->env, qinfo, NULL, in mesh_new_client()
504 qinfo, qid, qflags, edns); in mesh_new_client()
[all …]
H A Dlocalzone.c1310 local_encode(struct query_info* qinfo, struct module_env* env, in local_encode()
1332 if(!inplace_cb_reply_local_call(env, qinfo, NULL, &rep, rcode, edns,
1333 repinfo, temp, env->now_tv) || !reply_info_answer_encode(qinfo, &rep,
1336 error_encode(buf, (LDNS_RCODE_SERVFAIL|BIT_AA), qinfo, in local_error_encode()
1345 local_error_encode(struct query_info* qinfo, struct module_env* env, in local_error_encode()
1355 if(!inplace_cb_reply_local_call(env, qinfo, NULL, NULL, in local_error_encode()
1364 error_encode(buf, r, qinfo, *(uint16_t*)sldns_buffer_begin(buf), in local_data_find_tag_datas()
1370 local_data_find_tag_datas(const struct query_info* qinfo, in local_data_find_tag_datas()
1395 if(rdr_type != qinfo->qtype && rdr_type != LDNS_RR_TYPE_CNAME) in local_data_find_tag_datas()
1401 r->rk.dname = qinfo in local_data_find_tag_datas()
1300 local_encode(struct query_info * qinfo,struct module_env * env,struct edns_data * edns,struct comm_reply * repinfo,sldns_buffer * buf,struct regional * temp,struct ub_packed_rrset_key * rrset,int ansec,int rcode) local_encode() argument
1335 local_error_encode(struct query_info * qinfo,struct module_env * env,struct edns_data * edns,struct comm_reply * repinfo,sldns_buffer * buf,struct regional * temp,int rcode,int r,int ede_code,const char * ede_txt) local_error_encode() argument
1360 local_data_find_tag_datas(const struct query_info * qinfo,struct config_strlist * list,struct ub_packed_rrset_key * r,struct regional * temp) local_data_find_tag_datas() argument
1448 find_tag_datas(struct query_info * qinfo,struct config_strlist * list,struct ub_packed_rrset_key * r,struct regional * temp) find_tag_datas() argument
1472 local_data_answer(struct local_zone * z,struct module_env * env,struct query_info * qinfo,struct edns_data * edns,struct comm_reply * repinfo,sldns_buffer * buf,struct regional * temp,int labs,struct local_data ** ldp,enum localzone_type lz_type,int tag,struct config_strlist ** tag_datas,size_t tag_datas_size,char ** tagname,int num_tags) local_data_answer() argument
1608 local_zone_does_not_cover(struct local_zone * z,struct query_info * qinfo,int labs) local_zone_does_not_cover() argument
1644 local_zones_zone_answer(struct local_zone * z,struct module_env * env,struct query_info * qinfo,struct edns_data * edns,struct comm_reply * repinfo,sldns_buffer * buf,struct regional * temp,struct local_data * ld,enum localzone_type lz_type) local_zones_zone_answer() argument
1764 lz_inform_print(struct local_zone * z,struct query_info * qinfo,struct sockaddr_storage * addr,socklen_t addrlen) lz_inform_print() argument
1836 local_zones_answer(struct local_zones * zones,struct module_env * env,struct query_info * qinfo,struct edns_data * edns,sldns_buffer * buf,struct regional * temp,struct comm_reply * repinfo,uint8_t * taglist,size_t taglen,uint8_t * tagactions,size_t tagactionssize,struct config_strlist ** tag_datas,size_t tag_datas_size,char ** tagname,int num_tags,struct view * view) local_zones_answer() argument
[all...]
H A Dmesh.h317 void mesh_new_client(struct mesh_area* mesh, struct query_info* qinfo,
339 int mesh_new_callback(struct mesh_area* mesh, struct query_info* qinfo,
357 void mesh_new_prefetch(struct mesh_area* mesh, struct query_info* qinfo,
409 int mesh_attach_sub(struct module_qstate* qstate, struct query_info* qinfo,
437 int mesh_add_sub(struct module_qstate* qstate, struct query_info* qinfo,
493 struct query_info* qinfo, struct respip_client_info* cinfo,
530 struct respip_client_info* cinfo, struct query_info* qinfo,
556 const struct query_info* qinfo);
626 int mesh_detect_cycle(struct module_qstate* qstate, struct query_info* qinfo,
723 void mesh_remove_callback(struct mesh_area* mesh, struct query_info* qinfo,
H A Drpz.c1632 enum rpz_action a, struct query_info* qinfo, in log_rpz_apply() argument
1666 log_nametypeclass(0, txt, qinfo->qname, qinfo->qtype, qinfo->qclass); in log_rpz_apply()
1699 rpz_resolve_client_action_and_zone(struct auth_zones* az, struct query_info* qinfo, in rpz_resolve_client_action_and_zone() argument
1724 z = rpz_find_zone(r->local_zones, qinfo->qname, qinfo->qname_len, in rpz_resolve_client_action_and_zone()
1725 qinfo->qclass, 0, 0, 0); in rpz_resolve_client_action_and_zone()
1735 qinfo, repinfo, NULL, r->log_name); in rpz_resolve_client_action_and_zone()
1773 rpz_local_encode(struct module_env* env, struct query_info* qinfo, in rpz_local_encode() argument
1806 if(!inplace_cb_reply_local_call(env, qinfo, NULL, &rep, rcode, edns, in rpz_local_encode()
1808 !reply_info_answer_encode(qinfo, &rep, in rpz_local_encode()
1811 error_encode(buf, (LDNS_RCODE_SERVFAIL|BIT_AA), qinfo, in rpz_local_encode()
[all …]
/freebsd/contrib/unbound/daemon/
H A Dworker.c552 answer_norec_from_cache(struct worker* worker, struct query_info* qinfo, in answer_norec_from_cache() argument
574 dp = dns_cache_find_delegation(&worker->env, qinfo->qname, in answer_norec_from_cache()
575 qinfo->qname_len, qinfo->qtype, qinfo->qclass, in answer_norec_from_cache()
583 msg->qinfo.local_alias = qinfo->local_alias; in answer_norec_from_cache()
597 if(!inplace_cb_reply_servfail_call(&worker->env, qinfo, NULL, in answer_norec_from_cache()
609 &msg->qinfo, id, flags, edns); in answer_norec_from_cache()
637 if(!inplace_cb_reply_cache_call(&worker->env, qinfo, NULL, msg->rep, in answer_norec_from_cache()
652 if(!reply_info_answer_encode(&msg->qinfo, msg->rep, id, flags, in answer_norec_from_cache()
655 if(!inplace_cb_reply_servfail_call(&worker->env, qinfo, NULL, NULL, in answer_norec_from_cache()
660 &msg->qinfo, id, flags, edns); in answer_norec_from_cache()
[all …]
H A Dcachedump.c663 load_qinfo(char* str, struct query_info* qinfo, struct regional* region) in load_qinfo() argument
690 qinfo->qtype = sldns_wirerr_get_type(rr, rr_len, dname_len); in load_qinfo()
691 qinfo->qclass = sldns_wirerr_get_class(rr, rr_len, dname_len); in load_qinfo()
692 qinfo->qname_len = dname_len; in load_qinfo()
693 qinfo->qname = (uint8_t*)regional_alloc_init(region, rr, dname_len); in load_qinfo()
694 qinfo->local_alias = NULL; in load_qinfo()
695 if(!qinfo->qname) { in load_qinfo()
710 struct query_info qinfo; in load_ref() local
722 s = load_qinfo(s, &qinfo, region); in load_ref()
732 k = rrset_cache_lookup(worker->env.rrset_cache, qinfo.qname, in load_ref()
[all …]
/freebsd/contrib/unbound/ipsecmod/
H A Dipsecmod.c113 (struct ipsecmod_env*)qstate->env->modinfo[id], qstate->qinfo.qname, in ipsecmod_new()
114 qstate->qinfo.qname_len, qstate->qinfo.qclass); in ipsecmod_new()
275 tempstring = sldns_wire2str_dname(qstate->qinfo.qname, in call_hook()
276 qstate->qinfo.qname_len); in call_hook()
295 rrset_key = reply_find_answer_rrset(&qstate->return_msg->qinfo, in call_hook()
317 rrset_data->rr_len[i] - 2, s, slen, qstate->qinfo.qtype); in call_hook()
400 if(qstate->qinfo.qtype == LDNS_RR_TYPE_A || in ipsecmod_handle_query()
401 qstate->qinfo.qtype == LDNS_RR_TYPE_AAAA) { in ipsecmod_handle_query()
403 sldns_wire2str_type_buf(qstate->qinfo in ipsecmod_handle_query()
[all...]
/freebsd/contrib/unbound/util/data/
H A Dmsgencode.c613 insert_query(struct query_info* qinfo, struct compress_tree_node** tree, in insert_query() argument
616 uint8_t* qname = qinfo->local_alias ? in insert_query()
617 qinfo->local_alias->rrset->rk.dname : qinfo->qname; in insert_query()
618 size_t qname_len = qinfo->local_alias ? in insert_query()
619 qinfo->local_alias->rrset->rk.dname_len : qinfo->qname_len; in insert_query()
621 qinfo->qname_len+sizeof(uint16_t)*2) in insert_query()
630 sldns_buffer_write_u16(buffer, qinfo->qtype); in insert_query()
631 sldns_buffer_write_u16(buffer, qinfo->qclass); in insert_query()
686 reply_info_encode(struct query_info* qinfo, struct reply_info* rep, in reply_info_encode() argument
710 if((r=insert_query(qinfo, &tree, buffer, region)) != in reply_info_encode()
[all …]
H A Dmsgreply.h469 uint8_t* reply_find_final_cname_target(struct query_info* qinfo,
478 int reply_check_cname_chain(struct query_info* qinfo, struct reply_info* rep);
495 struct ub_packed_rrset_key* reply_find_answer_rrset(struct query_info* qinfo,
540 void log_dns_msg(const char* str, struct query_info* qinfo,
658 int inplace_cb_reply_call(struct module_env* env, struct query_info* qinfo,
679 struct query_info* qinfo, struct module_qstate* qstate,
700 struct query_info* qinfo, struct module_qstate* qstate,
722 struct query_info* qinfo, struct module_qstate* qstate,
744 int inplace_cb_query_call(struct module_env* env, struct query_info* qinfo,
H A Dmsgencode.h93 int reply_info_encode(struct query_info* qinfo, struct reply_info* rep,
102 void qinfo_query_encode(struct sldns_buffer* pkt, struct query_info* qinfo);
151 void error_encode(struct sldns_buffer* pkt, int r, struct query_info* qinfo,
168 struct query_info* qinfo, uint16_t qid, uint16_t qflags,
/freebsd/contrib/unbound/testcode/
H A Dunitverify.c118 struct query_info qinfo; in extract_keys() local
122 entry_to_repinfo(e, alloc, region, pkt, &qinfo, &rep); in extract_keys()
133 query_info_clear(&qinfo); in extract_keys()
139 should_be_bogus(struct ub_packed_rrset_key* rrset, struct query_info* qinfo) in should_be_bogus() argument
148 if(qinfo->qname_len > 6 && memcmp(qinfo->qname+1, "bogus", 5)==0) in should_be_bogus()
184 struct query_info* qinfo) in verifytest_rrset() argument
205 if(should_be_bogus(rrset, qinfo)) { in verifytest_rrset()
219 struct query_info qinfo; in verifytest_entry() local
230 entry_to_repinfo(e, alloc, region, pkt, &qinfo, &rep); in verifytest_entry()
233 verifytest_rrset(env, ve, rep->rrsets[i], dnskey, &qinfo); in verifytest_entry()
[all …]
/freebsd/contrib/unbound/libunbound/
H A Dlibworker.c579 struct query_info* qinfo, struct edns_data* edns) in setup_qinfo_edns() argument
581 qinfo->qtype = (uint16_t)q->res->qtype; in setup_qinfo_edns()
582 qinfo->qclass = (uint16_t)q->res->qclass; in setup_qinfo_edns()
583 qinfo->local_alias = NULL; in setup_qinfo_edns()
584 qinfo->qname = sldns_str2wire_dname(q->res->qname, &qinfo->qname_len); in setup_qinfo_edns()
585 if(!qinfo->qname) { in setup_qinfo_edns()
609 struct query_info qinfo; in libworker_fg() local
613 if(!setup_qinfo_edns(w, q, &qinfo, &edns)) { in libworker_fg()
623 if(local_zones_answer(ctx->local_zones, w->env, &qinfo, &edns, in libworker_fg()
630 free(qinfo.qname); in libworker_fg()
[all …]
/freebsd/contrib/unbound/dynlibmod/examples/
H A Dhelloworld.c32 int reply_callback(struct query_info* qinfo,
66 qstate->qinfo.qname, in operate()
67 sldns_lookup_by_id(sldns_rr_classes, qstate->qinfo.qclass)->name, in operate()
68 qstate->qinfo.qclass, in operate()
69 sldns_rr_descript(qstate->qinfo.qtype)->_name, in operate()
70 qstate->qinfo.qtype); in operate()
118 int reply_callback(struct query_info* qinfo, in reply_callback() argument
/freebsd/contrib/unbound/cachedb/
H A Dcachedb.c326 * @param qinfo: query info
332 calc_hash(struct query_info* qinfo, struct module_env* env, char* buf, in calc_hash()
343 if(clen + qinfo->qname_len < sizeof(clear)) { in calc_hash()
344 memmove(clear+clen, qinfo->qname, qinfo->qname_len); in calc_hash()
346 clen += qinfo->qname_len; in calc_hash()
349 uint16_t t = htons(qinfo->qtype); in calc_hash()
350 uint16_t c = htons(qinfo->qclass); in calc_hash()
420 log_dns_msg("cachedb encoding", &qstate->return_msg->qinfo, in prep_data()
422 if(!reply_info_answer_encode(&qstate->return_msg->qinfo, in prep_data()
331 calc_hash(struct query_info * qinfo,struct module_env * env,char * buf,size_t len) calc_hash() argument
1015 cachedb_msg_remove_qinfo(struct module_env * env,struct query_info * qinfo) cachedb_msg_remove_qinfo() argument
[all...]
/freebsd/contrib/unbound/iterator/
H A Diter_utils.c713 if(!parse_create_msg(pkt, msg, NULL, &m->qinfo, &m->rep, region)) { in iter_ns_probability()
727 m->qinfo = from->qinfo; in causes_cycle()
728 if(!(m->qinfo.qname = regional_alloc_init(region, from->qinfo.qname, in causes_cycle()
729 from->qinfo.qname_len))) in causes_cycle()
786 LDNS_RR_TYPE_AAAA, qstate->qinfo.qclass) || in iter_dp_is_useless()
788 LDNS_RR_TYPE_A, qstate->qinfo.qclass)) { in iter_dp_is_useless()
793 qstate->qinfo.qclass); in iter_dp_is_useless()
808 LDNS_RR_TYPE_A, qstate->qinfo in iter_dp_is_useless()
781 iter_dp_is_useless(struct query_info * qinfo,uint16_t qflags,struct delegpt * dp,int supports_ipv4,int supports_ipv6,int use_nat64) iter_dp_is_useless() argument
835 iter_qname_indicates_dnssec(struct module_env * env,struct query_info * qinfo) iter_qname_indicates_dnssec() argument
1165 iter_store_parentside_neg(struct module_env * env,struct query_info * qinfo,struct reply_info * rep) iter_store_parentside_neg() argument
1225 iter_lookup_parent_NS_from_cache(struct module_env * env,struct delegpt * dp,struct regional * region,struct query_info * qinfo) iter_lookup_parent_NS_from_cache() argument
1245 iter_lookup_parent_glue_from_cache(struct module_env * env,struct delegpt * dp,struct regional * region,struct query_info * qinfo) iter_lookup_parent_glue_from_cache() argument
1446 iter_dp_cangodown(struct query_info * qinfo,struct delegpt * dp) iter_dp_cangodown() argument
[all...]
H A Diter_utils.h188 * @param qinfo: query name and type
199 int iter_dp_is_useless(struct query_info* qinfo, uint16_t qflags,
207 * @param qinfo: query name and class.
212 struct query_info *qinfo);
303 * @param qinfo: the identity of the rrset that is missing.
308 struct query_info* qinfo, struct reply_info* rep);
317 * @param qinfo: pertinent information, the qclass.
323 struct delegpt* dp, struct regional* region, struct query_info* qinfo);
332 * @param qinfo: pertinent information, the qclass.
337 struct delegpt* dp, struct regional* region, struct query_info* qinfo);
[all...]
H A Diterator.c158 iq->qchase = qstate->qinfo; in iter_new()
226 if(qstate->qinfo.qtype == LDNS_RR_TYPE_A || in error_supers()
227 qstate->qinfo.qtype == LDNS_RR_TYPE_AAAA) { in error_supers()
233 qstate->qinfo.qname, qstate->qinfo.qname_len); in error_supers()
241 log_query_info(VERB_ALGO, "superq", &super->qinfo); in error_supers()
249 delegpt_mark_neg(dpns, qstate->qinfo.qtype); in error_supers()
256 if(qstate->qinfo.qtype == LDNS_RR_TYPE_NS) { in error_supers()
305 if(dns_cache_prefetch_adjust(qstate->env, &qstate->qinfo, in error_response_cache()
311 qstate->qinfo.qname, qstate->qinfo.qname_len, in error_response_cache()
312 qstate->qinfo.qtype, qstate->qinfo.qclass, in error_response_cache()
[all …]
/freebsd/contrib/unbound/edns-subnet/
H A Dsubnetmod.c144 int ecs_whitelist_check(struct query_info* qinfo, in ecs_whitelist_check() argument
163 addr, addrlen, qinfo->qname, qinfo->qname_len, in ecs_whitelist_check()
164 qinfo->qclass)) { in ecs_whitelist_check()
174 if(!iter_stub_fwd_no_cache(qstate, &qstate->qinfo, NULL, NULL, NULL, 0) in ecs_whitelist_check()
183 addr, addrlen, qinfo->qname, qinfo->qname_len, in ecs_whitelist_check()
184 qinfo->qclass))) { in ecs_whitelist_check()
391 query_info_hash(&qstate->qinfo, qstate->query_flags); in update_cache()
394 &qstate->qinfo, 1); in update_cache()
403 qinf = qstate->qinfo; in update_cache()
404 qinf.qname = memdup(qstate->qinfo.qname, in update_cache()
[all …]

123