/freebsd-11-stable/contrib/unbound/util/data/ |
H A D | msgencode.h | 53 * @param qinf: query information that provides query section in packet. 69 int reply_info_answer_encode(struct query_info* qinf, struct reply_info* rep,
|
H A D | msgreply.c | 76 struct query_info* qinf, struct regional* region) 80 qinf->qname = (uint8_t*)regional_alloc(region, 82 else qinf->qname = (uint8_t*)malloc(msg->qname_len); 83 if(!qinf->qname) return 0; 84 dname_pkt_copy(pkt, qinf->qname, msg->qname); 85 } else qinf->qname = 0; 86 qinf->qname_len = msg->qname_len; 87 qinf->qtype = msg->qtype; 88 qinf->qclass = msg->qclass; 89 qinf 75 parse_create_qinfo(sldns_buffer* pkt, struct msg_parse* msg, struct query_info* qinf, struct regional* region) argument 443 parse_create_msg(sldns_buffer* pkt, struct msg_parse* msg, struct alloc_cache* alloc, struct query_info* qinf, struct reply_info** rep, struct regional* region) argument 463 reply_info_parse(sldns_buffer* pkt, struct alloc_cache* alloc, struct query_info* qinf, struct reply_info** rep, struct regional* region, struct edns_data* edns) argument 846 log_reply_info(enum verbosity_value v, struct query_info *qinf, struct sockaddr_storage *addr, socklen_t addrlen, struct timeval dur, int cached, struct sldns_buffer *rmsg) argument 886 log_query_info(enum verbosity_value v, const char* str, struct query_info* qinf) argument [all...] |
H A D | msgreply.h | 265 * @param qinf: query_info is returned (only on no error). 273 struct query_info* qinf, struct reply_info** rep, 282 * @param qinf: where to store query info. 283 * qinf itself is allocated by the caller. 292 struct alloc_cache* alloc, struct query_info* qinf, 485 * @param qinf: query section. 493 void log_reply_info(enum verbosity_value v, struct query_info *qinf, 501 * @param qinf: query info structure with name, type and class. 504 struct query_info* qinf);
|
H A D | msgencode.c | 878 reply_info_answer_encode(struct query_info* qinf, struct reply_info* rep, argument 898 if(qinf->local_alias && 918 if(!reply_info_encode(qinf, rep, id, flags, pkt, timenow, region,
|
/freebsd-11-stable/contrib/unbound/validator/ |
H A D | val_nsec.h | 132 * @param qinf: what was queried. 137 struct query_info* qinf, uint8_t* wc);
|
H A D | val_utils.h | 87 * @param qinf: query info. The chased query name. 95 struct query_info* origqinf, struct query_info* qinf, 104 * @param qinf: query, the chased query name. 113 struct query_info* qinf, struct reply_info* rep,
|
H A D | val_utils.c | 63 struct query_info* qinf, struct reply_info* rep, size_t skip) 115 if(rcode == LDNS_RCODE_NOERROR && qinf->qtype == LDNS_RR_TYPE_ANY) 122 ntohs(rep->rrsets[i]->rk.type) == qinf->qtype) 128 qinf, rep); 179 * @param qinf: the query name that needs validation. 187 struct query_info* qinf, uint8_t** signer_name, size_t* signer_len, 202 dname_subdomain_c(qinf->qname, sign)) { 203 (void)dname_lab_cmp(qinf->qname, 204 dname_count_labels(qinf->qname), 217 val_find_signer(enum val_classification subtype, struct query_info* qinf, argument 62 val_classify_response(uint16_t query_flags, struct query_info* origqinf, struct query_info* qinf, struct reply_info* rep, size_t skip) argument 186 val_find_best_signer(struct ub_packed_rrset_key* rrset, struct query_info* qinf, uint8_t** signer_name, size_t* signer_len, int* matchcount) argument [all...] |
H A D | val_nsec.c | 491 struct query_info* qinf, uint8_t* wc) 497 if(!val_nsec_proves_name_error(nsec, qinf->qname)) 500 ce = nsec_closest_encloser(qinf->qname, nsec); 490 val_nsec_proves_positive_wildcard(struct ub_packed_rrset_key* nsec, struct query_info* qinf, uint8_t* wc) argument
|
/freebsd-11-stable/contrib/unbound/iterator/ |
H A D | iter_utils.h | 124 * @param qinf: query info, the query for which answer is stored. 139 void iter_dns_store(struct module_env* env, struct query_info* qinf, 382 * @param qinf: query name to lookup for. 386 struct query_info *qinf);
|
H A D | iter_utils.c | 680 struct query_info qinf; local 681 qinf.qname = name; 682 qinf.qname_len = namelen; 683 qinf.qtype = t; 684 qinf.qclass = c; 685 qinf.local_alias = NULL; 688 return (*qstate->env->detect_cycle)(qstate, &qinf, 1393 iter_stub_fwd_no_cache(struct module_qstate *qstate, struct query_info *qinf) argument 1399 stub = hints_lookup_stub(qstate->env->hints, qinf->qname, 1400 qinf [all...] |
H A D | iterator.c | 689 struct query_info qinf; local 692 qinf.qname = qname; 693 qinf.qname_len = qnamelen; 694 qinf.qtype = qtype; 695 qinf.qclass = qclass; 696 qinf.local_alias = NULL; 715 if(!(*qstate->env->add_sub)(qstate, &qinf, 724 if(!(*qstate->env->attach_sub)(qstate, &qinf, qflags, prime,
|
/freebsd-11-stable/contrib/unbound/services/cache/ |
H A D | dns.h | 72 * @param qinf: query info, the query for which answer is stored. 93 int dns_cache_store(struct module_env* env, struct query_info* qinf,
|
H A D | dns.c | 999 struct query_info qinf; local 1002 qinf = *msgqinf; 1003 qinf.qname = memdup(msgqinf->qname, msgqinf->qname_len); 1004 if(!qinf.qname) { 1013 h = query_info_hash(&qinf, (uint16_t)flags); 1014 dns_cache_store_msg(env, &qinf, h, rep, leeway, pside, msgrep, 1018 free(qinf.qname);
|
/freebsd-11-stable/contrib/unbound/edns-subnet/ |
H A D | subnetmod.c | 323 struct query_info qinf; local 345 qinf = qstate->qinfo; 346 qinf.qname = memdup(qstate->qinfo.qname, 348 if(!qinf.qname) { 353 mrep_entry = query_info_entrysetup(&qinf, data, h); 354 free(qinf.qname); /* if qname 'consumed', it is set to NULL */
|
/freebsd-11-stable/contrib/unbound/dnstap/ |
H A D | unbound-dnstap-socket.c | 520 char* maddr=NULL, *qinf=NULL; local 542 qinf = q_of_msg(d->message->query_message); 544 qinf = q_of_msg(d->message->response_message); 551 (qinf?" ":""), (qinf?qinf:"")); 553 free(qinf);
|
/freebsd-11-stable/contrib/unbound/daemon/ |
H A D | cachedump.c | 626 struct query_info qinf; local 641 s = load_qinfo(s, &qinf, region); 680 if(!dns_cache_store(&worker->env, &qinf, &rep, 0, 0, 0, NULL, flags)) {
|