Home
last modified time | relevance | path

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

123

/freebsd/sys/dev/ixl/
H A Dixl_pf_qmgr.c48 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()
200 qmgr->qinfo = NULL; 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
207 rep, qinfo->qname, qinfo->qname_len, LDNS_RR_TYPE_NSEC, in val_nsec_prove_nodata_dsreply()
208 qinfo->qclass); in val_nsec_prove_nodata_dsreply()
227 sec = val_nsec_proves_no_ds(nsec, qinfo); in val_nsec_prove_nodata_dsreply()
297 struct query_info* qinfo, uint8_t** wc) in nsec_proves_nodata() argument
315 qinfo->qname) < 0) { in nsec_proves_nodata()
383 if(nsec_has_type(nsec, qinfo->qtype)) { in nsec_proves_nodata()
397 if(qinfo->qtype != LDNS_RR_TYPE_DS && in nsec_proves_nodata()
403 !dname_is_root(qinfo->qname)) { in nsec_proves_nodata()
461 struct query_info* qinfo) in val_nsec_proves_insecuredelegation() argument
[all …]
H A Dval_nsec3.c429 filter->fclass = qinfo->qclass; in filter_init()
451 !dname_is_root(qinfo->qname)) in filter_init()
938 uint8_t* nm = qinfo->qname; in nsec3_find_closest_encloser()
939 size_t nmlen = qinfo->qname_len; in nsec3_find_closest_encloser()
1070 next_closer(qinfo->qname, qinfo->qname_len, ce->ce, &nc, &nc_len); in nsec3_prove_closest_encloser()
1218 if(find_matching_nsec3(env, flt, ct, qinfo->qname, qinfo->qname_len, in nsec3_do_prove_nodata()
1243 if(qinfo->qtype == LDNS_RR_TYPE_DS && qinfo->qname_len != 1 in nsec3_do_prove_nodata()
1309 if(qinfo->qtype == LDNS_RR_TYPE_DS && qinfo->qname_len != 1 in nsec3_do_prove_nodata()
1415 next_closer(qinfo->qname, qinfo->qname_len, ce.ce, &nc, &nc_len); in nsec3_prove_wildcard()
1508 if(find_matching_nsec3(env, &flt, ct, qinfo->qname, qinfo->qname_len, in nsec3_prove_nods()
[all …]
H A Dvalidator.c254 vq->orig_msg->qinfo = qstate->qinfo; in val_new_getmsg()
2581 &qstate->qinfo); in val_operate()
2816 qinfo->qname, qinfo->qname_len, qinfo->qclass, in ds_response_to_ke()
2826 qinfo->qname, qinfo->qname_len, qinfo->qclass, ds, in ds_response_to_ke()
2858 qinfo->qname, qinfo->qname_len, in ds_response_to_ke()
2899 qinfo->qname, qinfo->qname_len, in ds_response_to_ke()
2936 qinfo->qname_len, LDNS_RR_TYPE_CNAME, qinfo->qclass); in ds_response_to_ke()
2984 qinfo->qname_len, qinfo->qclass, BOGUS_KEY_TTL, in ds_response_to_ke()
3037 qinfo->qname, qinfo->qname_len); in process_ds_response()
3124 qinfo->qname, qinfo->qname_len, qinfo->qclass, in process_dnskey_response()
[all …]
H A Dval_nsec3.h132 struct query_info* qinfo, struct key_entry_key* kkey,
170 struct query_info* qinfo, struct key_entry_key* kkey,
195 struct query_info* qinfo, struct key_entry_key* kkey, uint8_t* wc,
223 struct query_info* qinfo, struct key_entry_key* kkey, char** reason,
248 struct query_info* qinfo, struct key_entry_key* kkey, int* nodata,
/freebsd/contrib/unbound/contrib/
H A Dredirect-bogus.patch10 - qinfo, id, flags, edns);
11 + if (qinfo->qtype == LDNS_RR_TYPE_A &&
24 + qinfo, id, flags, edns);
74 m->s.qinfo.qname = r->qname;
75 m->s.qinfo.local_alias = r->local_alias;
100 + &m->s.qinfo, &m->s,
268 + if (qinfo->qtype == LDNS_RR_TYPE_A) {
280 + if(qinfo) flags = 1;
287 + if(qinfo) {
291 + else sldns_buffer_write(buf, qinfo->qname, qinfo->qname_len);
[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
490 qinfo = qstate->qinfo; 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()
554 qstate->qinfo.qname, qstate->qinfo.qname_len, labs, in dns64_always_synth_for_qname()
555 qstate->qinfo.qclass); in dns64_always_synth_for_qname()
581 && qstate->qinfo.qname_len == 74 in handle_event_pass()
839 super->return_msg->qinfo = super->qinfo; in dns64_adjust_a()
925 super->return_msg->qinfo = super->qinfo; in dns64_adjust_ptr()
[all …]
/freebsd/contrib/unbound/services/
H A Dmesh.c176 cmp = query_info_compare(&a->s.qinfo, &b->s.qinfo); in mesh_state_compare()
289 m->s.qinfo.qname, m->s.qinfo.qtype, in mesh_make_new_space()
888 mstate->s.qinfo.qtype = qinfo->qtype; in mesh_state_create()
889 mstate->s.qinfo.qclass = qinfo->qclass; in mesh_state_create()
891 mstate->s.qinfo.qname_len = qinfo->qname_len; in mesh_state_create()
1652 key.s.qinfo = *qinfo; in mesh_area_find()
1783 qinfo = regional_alloc_init(region, &mstate->s.qinfo, sizeof(*qinfo)); in mesh_copy_qinfo()
1784 if(!qinfo) in mesh_copy_qinfo()
1786 qinfo->qname = regional_alloc_init(region, qinfo->qname, in mesh_copy_qinfo()
1904 if(qinfo) { in mesh_continue()
[all …]
H A Dlocalzone.c1455 qinfo->local_alias = in find_tag_datas()
1457 if(!qinfo->local_alias) in find_tag_datas()
1479 key.name = qinfo->qname; in local_data_answer()
1522 qinfo->local_alias = in local_data_answer()
1524 if(!qinfo->local_alias) in local_data_answer()
1530 qinfo->local_alias->rrset->rk.dname = qinfo->qname; in local_data_answer()
1531 qinfo->local_alias->rrset->rk.dname_len = qinfo->qname_len; in local_data_answer()
1771 log_nametypeclass(NO_VERBOSE, txt, qinfo->qname, qinfo->qtype, qinfo->qclass); in lz_inform_print()
1852 qinfo->qname, qinfo->qname_len, labs, in local_zones_answer()
1853 qinfo->qclass, qinfo->qtype))) { in local_zones_answer()
[all …]
H A Dmesh.h304 void mesh_new_client(struct mesh_area* mesh, struct query_info* qinfo,
326 int mesh_new_callback(struct mesh_area* mesh, struct query_info* qinfo,
344 void mesh_new_prefetch(struct mesh_area* mesh, struct query_info* qinfo,
396 int mesh_attach_sub(struct module_qstate* qstate, struct query_info* qinfo,
424 int mesh_add_sub(struct module_qstate* qstate, struct query_info* qinfo,
480 struct query_info* qinfo, struct respip_client_info* cinfo,
517 struct respip_client_info* cinfo, struct query_info* qinfo,
543 const struct query_info* qinfo);
613 int mesh_detect_cycle(struct module_qstate* qstate, struct query_info* qinfo,
H A Drpz.c1654 log_nametypeclass(0, txt, qinfo->qname, qinfo->qtype, qinfo->qclass); in log_rpz_apply()
1712 z = rpz_find_zone(r->local_zones, qinfo->qname, qinfo->qname_len, in rpz_resolve_client_action_and_zone()
1713 qinfo->qclass, 0, 0, 0); in rpz_resolve_client_action_and_zone()
1900 qinfo->local_alias->rrset->rk.dname = qinfo->qname; in rpz_apply_cname_override_action()
1901 qinfo->local_alias->rrset->rk.dname_len = qinfo->qname_len; in rpz_apply_cname_override_action()
1953 msg->qinfo = *qinfo; in rpz_synthesize_nodata()
1980 msg->qinfo = *qinfo; in rpz_synthesize_nxdomain()
2015 msg->qinfo = *qi; in rpz_synthesize_localdata_from_rrset()
2132 key.name = qinfo->qname; in rpz_synthesize_qname_localdata_msg()
2151 struct query_info* qinfo) in rpz_synthesize_cname_override_msg() argument
[all …]
/freebsd/contrib/unbound/daemon/
H A Dworker.c486 qinfo->qname_len, qinfo->qtype, qinfo->qclass, in answer_norec_from_cache()
494 msg->qinfo.local_alias = qinfo->local_alias; in answer_norec_from_cache()
616 qinfo->qtype, qinfo->qclass, qinfo->local_alias, in apply_respip_action()
1076 qinfo->qname_len, qinfo->qclass, addr, in answer_notify()
1390 memset(&qinfo, 0, sizeof(qinfo)); in worker_handle_request()
1519 memset(&qinfo, 0, sizeof(qinfo)); /* zero qinfo.qname */ in worker_handle_request()
1533 log_query_in(ip, qinfo.qname, qinfo.qtype, qinfo.qclass); in worker_handle_request()
1554 (qinfo.qtype >= 128 && qinfo.qtype <= 248)) { in worker_handle_request()
1695 if(qinfo.qclass == LDNS_RR_CLASS_CH && answer_chaos(worker, &qinfo, in worker_handle_request()
1961 if(qinfo.local_alias && qinfo.local_alias->rrset && in worker_handle_request()
[all …]
H A Dcachedump.c569 qinfo->qname_len = dname_len; in load_qinfo()
571 qinfo->local_alias = NULL; in load_qinfo()
572 if(!qinfo->qname) { in load_qinfo()
587 struct query_info qinfo; in load_ref() local
610 qinfo.qname_len, qinfo.qtype, qinfo.qclass, in load_ref()
840 struct query_info qinfo; in print_deleg_lookup() local
844 qinfo.qname = nm; in print_deleg_lookup()
845 qinfo.qname_len = nmlen; in print_deleg_lookup()
846 qinfo.qtype = LDNS_RR_TYPE_A; in print_deleg_lookup()
848 qinfo.local_alias = NULL; in print_deleg_lookup()
[all …]
/freebsd/contrib/unbound/ipsecmod/
H A Dipsecmod.c114 qstate->qinfo.qname_len, qstate->qinfo.qclass); in ipsecmod_new()
276 qstate->qinfo.qname_len); 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()
457 if(!dns_cache_store(qstate->env, &qstate->qinfo, in ipsecmod_handle_query()
484 if((qstate->qinfo.qtype == LDNS_RR_TYPE_A || in ipsecmod_handle_response()
485 qstate->qinfo.qtype == LDNS_RR_TYPE_AAAA) && in ipsecmod_handle_response()
499 qstate->qinfo.qname_len, LDNS_RR_TYPE_IPSECKEY, in ipsecmod_handle_response()
500 qstate->qinfo.qclass, 0)) { in ipsecmod_handle_response()
520 &qstate->qinfo); in ipsecmod_operate()
[all …]
/freebsd/contrib/unbound/util/data/
H A Dmsgencode.c602 uint8_t* qname = qinfo->local_alias ? in insert_query()
603 qinfo->local_alias->rrset->rk.dname : qinfo->qname; in insert_query()
604 size_t qname_len = qinfo->local_alias ? in insert_query()
605 qinfo->local_alias->rrset->rk.dname_len : qinfo->qname_len; in insert_query()
607 qinfo->qname_len+sizeof(uint16_t)*2) in insert_query()
1055 qinfo->local_alias->rrset->rk.dname : qinfo->qname; in qinfo_query_encode()
1057 qinfo->local_alias->rrset->rk.dname_len : qinfo->qname_len; in qinfo_query_encode()
1083 if(qinfo) flags = 1; in extended_error_encode()
1090 if(qinfo) { in extended_error_encode()
1092 qinfo->local_alias->rrset->rk.dname : qinfo->qname; in extended_error_encode()
[all …]
H A Dmsgreply.h438 uint8_t* reply_find_final_cname_target(struct query_info* qinfo,
447 int reply_check_cname_chain(struct query_info* qinfo, struct reply_info* rep);
464 struct ub_packed_rrset_key* reply_find_answer_rrset(struct query_info* qinfo,
509 void log_dns_msg(const char* str, struct query_info* qinfo,
625 int inplace_cb_reply_call(struct module_env* env, struct query_info* qinfo,
646 struct query_info* qinfo, struct module_qstate* qstate,
667 struct query_info* qinfo, struct module_qstate* qstate,
689 struct query_info* qinfo, struct module_qstate* qstate,
711 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/libunbound/
H A Dlibworker.c583 qinfo->qname = sldns_str2wire_dname(q->res->qname, &qinfo->qname_len); in setup_qinfo_edns()
584 if(!qinfo->qname) { in setup_qinfo_edns()
629 free(qinfo.qname); in libworker_fg()
638 free(qinfo.qname); in libworker_fg()
644 free(qinfo.qname); in libworker_fg()
647 free(qinfo.qname); in libworker_fg()
706 free(qinfo.qname); in libworker_attach_mesh()
714 free(qinfo.qname); in libworker_attach_mesh()
724 free(qinfo.qname); in libworker_attach_mesh()
727 free(qinfo.qname); in libworker_attach_mesh()
[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/iterator/
H A Diter_utils.c683 m->qinfo = from->qinfo; in dns_copy_msg()
684 if(!(m->qinfo.qname = regional_alloc_init(region, from->qinfo.qname, in dns_copy_msg()
685 from->qinfo.qname_len))) in dns_copy_msg()
748 qstate->qinfo.qclass); in iter_mark_cycle_targets()
821 delegpt_find_ns(dp, qinfo->qname, qinfo->qname_len)) in iter_dp_is_useless()
837 if(!env || !env->anchors || !qinfo || !qinfo->qname) in iter_qname_indicates_dnssec()
840 if((a=anchors_lookup(env->anchors, qinfo->qname, qinfo->qname_len, in iter_qname_indicates_dnssec()
841 qinfo->qclass))) { in iter_qname_indicates_dnssec()
1186 neg->rk.type = htons(qinfo->qtype); in iter_store_parentside_neg()
1190 qinfo->qname_len); in iter_store_parentside_neg()
[all …]
H A Diter_utils.h196 int iter_dp_is_useless(struct query_info* qinfo, uint16_t qflags,
209 struct query_info *qinfo);
305 struct query_info* qinfo, struct reply_info* rep);
320 struct delegpt* dp, struct regional* region, struct query_info* qinfo);
334 struct delegpt* dp, struct regional* region, struct query_info* qinfo);
399 int iter_dp_cangodown(struct query_info* qinfo, struct delegpt* dp);
H A Diterator.c242 qstate->qinfo.qname, qstate->qinfo.qname_len); in error_supers()
320 qstate->qinfo.qname, qstate->qinfo.qname_len, in error_response_cache()
321 qstate->qinfo.qtype, qstate->qinfo.qclass, in error_response_cache()
1456 qstate->return_msg->qinfo = qstate->qinfo; in processInitRequest()
3488 qstate->return_msg->qinfo = qstate->qinfo; in processQueryResponse()
3688 qstate->qinfo.qname, qstate->qinfo.qtype, in processPrimeResponse()
3691 qstate->qinfo.qname_len, qstate->qinfo.qtype, in processPrimeResponse()
3874 foriq->response->qinfo.qclass = forq->qinfo.qclass; in processClassResponse()
3972 qstate->qinfo.qname, qstate->qinfo.qtype, c); in processCollectClass()
3974 qstate->qinfo.qname_len, qstate->qinfo.qtype, in processCollectClass()
[all …]
H A Diter_scrub.c384 struct query_info* qinfo, struct regional* region, in scrub_normalize() argument
387 uint8_t* sname = qinfo->qname; in scrub_normalize()
388 size_t snamelen = qinfo->qname_len; in scrub_normalize()
505 if(qinfo->qtype == LDNS_RR_TYPE_ANY) { in scrub_normalize()
518 if(qinfo->qtype != LDNS_RR_TYPE_ANY && in scrub_normalize()
519 qinfo->qtype != rrset->type) { in scrub_normalize()
585 qinfo->qtype == LDNS_RR_TYPE_DS && in scrub_normalize()
802 pkt_strict_sub(pkt, qinfo->qname, rrset->dname) && in scrub_sanitize()
923 qinfo->qclass); in scrub_message()
943 if(msg->qtype != qinfo->qtype || msg->qclass != qinfo->qclass) in scrub_message()
[all …]
/freebsd/contrib/unbound/cachedb/
H A Dcachedb.c342 memmove(clear+clen, qstate->qinfo.qname, in calc_hash()
343 qstate->qinfo.qname_len); in calc_hash()
344 clen += qstate->qinfo.qname_len; in calc_hash()
347 uint16_t t = htons(qstate->qinfo.qtype); in calc_hash()
348 uint16_t c = htons(qstate->qinfo.qclass); in calc_hash()
702 if(iter_stub_fwd_no_cache(qstate, &qstate->qinfo, in cachedb_intcache_lookup()
706 qstate->qinfo.qname_len, qstate->qinfo.qtype, in cachedb_intcache_lookup()
707 qstate->qinfo.qclass, qstate->query_flags, in cachedb_intcache_lookup()
804 &qstate->return_msg->qinfo, in cachedb_handle_query()
820 &qstate->return_msg->qinfo, in cachedb_handle_query()
[all …]

123