/freebsd-10.0-release/contrib/unbound/util/data/ |
H A D | msgreply.h | 214 * @param qinf: query_info is returned (only on no error). 222 struct query_info* qinf, struct reply_info** rep, 231 * @param qinf: where to store query info. 232 * qinf itself is allocated by the caller. 241 struct alloc_cache* alloc, struct query_info* qinf, 412 * @param qinf: query info structure with name, type and class. 415 struct query_info* qinf);
|
H A D | msgencode.h | 52 * @param qinf: query information that provides query section in packet. 68 int reply_info_answer_encode(struct query_info* qinf, struct reply_info* rep,
|
H A D | msgreply.c | 63 struct query_info* qinf, struct regional* region) 67 qinf->qname = (uint8_t*)regional_alloc(region, 69 else qinf->qname = (uint8_t*)malloc(msg->qname_len); 70 if(!qinf->qname) return 0; 71 dname_pkt_copy(pkt, qinf->qname, msg->qname); 72 } else qinf->qname = 0; 73 qinf->qname_len = msg->qname_len; 74 qinf->qtype = msg->qtype; 75 qinf->qclass = msg->qclass; 401 struct alloc_cache* alloc, struct query_info* qinf, 62 parse_create_qinfo(ldns_buffer* pkt, struct msg_parse* msg, struct query_info* qinf, struct regional* region) argument 400 parse_create_msg(ldns_buffer* pkt, struct msg_parse* msg, struct alloc_cache* alloc, struct query_info* qinf, struct reply_info** rep, struct regional* region) argument 416 reply_info_parse(ldns_buffer* pkt, struct alloc_cache* alloc, struct query_info* qinf, struct reply_info** rep, struct regional* region, struct edns_data* edns) argument 797 log_query_info(enum verbosity_value v, const char* str, struct query_info* qinf) argument [all...] |
H A D | msgencode.c | 752 reply_info_answer_encode(struct query_info* qinf, struct reply_info* rep, argument 780 if(!reply_info_encode(qinf, rep, id, flags, pkt, timenow, region,
|
/freebsd-10.0-release/contrib/unbound/validator/ |
H A D | val_nsec.h | 130 * @param qinf: what was queried. 135 struct query_info* qinf, uint8_t* wc);
|
H A D | val_utils.h | 85 * @param qinf: query info. The chased query name. 93 struct query_info* origqinf, struct query_info* qinf, 102 * @param qinf: query, the chased query name. 111 struct query_info* qinf, struct reply_info* rep,
|
H A D | val_utils.c | 60 struct query_info* qinf, struct reply_info* rep, size_t skip) 112 if(rcode == LDNS_RCODE_NOERROR && qinf->qtype == LDNS_RR_TYPE_ANY) 119 ntohs(rep->rrsets[i]->rk.type) == qinf->qtype) 125 qinf, rep); 176 * @param qinf: the query name that needs validation. 184 struct query_info* qinf, uint8_t** signer_name, size_t* signer_len, 199 dname_subdomain_c(qinf->qname, sign)) { 200 (void)dname_lab_cmp(qinf->qname, 201 dname_count_labels(qinf->qname), 214 val_find_signer(enum val_classification subtype, struct query_info* qinf, argument 59 val_classify_response(uint16_t query_flags, struct query_info* origqinf, struct query_info* qinf, struct reply_info* rep, size_t skip) argument 183 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 | 467 struct query_info* qinf, uint8_t* wc) 473 if(!val_nsec_proves_name_error(nsec, qinf->qname)) 476 ce = nsec_closest_encloser(qinf->qname, nsec); 466 val_nsec_proves_positive_wildcard(struct ub_packed_rrset_key* nsec, struct query_info* qinf, uint8_t* wc) argument
|
/freebsd-10.0-release/contrib/unbound/services/cache/ |
H A D | dns.h | 66 * @param qinf: query info, the query for which answer is stored. 84 int dns_cache_store(struct module_env* env, struct query_info* qinf,
|
H A D | dns.c | 774 struct query_info qinf; local 777 qinf = *msgqinf; 778 qinf.qname = memdup(msgqinf->qname, msgqinf->qname_len); 779 if(!qinf.qname) { 788 h = query_info_hash(&qinf); 789 dns_cache_store_msg(env, &qinf, h, rep, leeway, pside, msgrep, 793 free(qinf.qname);
|
/freebsd-10.0-release/contrib/unbound/iterator/ |
H A D | iter_utils.h | 119 * @param qinf: query info, the query for which answer is stored. 133 void iter_dns_store(struct module_env* env, struct query_info* qinf,
|
H A D | iter_utils.c | 448 struct query_info qinf; local 449 qinf.qname = name; 450 qinf.qname_len = namelen; 451 qinf.qtype = t; 452 qinf.qclass = c; 455 return (*qstate->env->detect_cycle)(qstate, &qinf,
|
H A D | iterator.c | 497 struct query_info qinf; local 499 qinf.qname = qname; 500 qinf.qname_len = qnamelen; 501 qinf.qtype = qtype; 502 qinf.qclass = qclass; 517 if(!(*qstate->env->attach_sub)(qstate, &qinf, qflags, prime, &subq)) {
|
/freebsd-10.0-release/contrib/unbound/daemon/ |
H A D | cachedump.c | 718 struct query_info qinf; local 732 s = load_qinfo(s, &qinf, buf, region); 766 if(!dns_cache_store(&worker->env, &qinf, &rep, 0, 0, 0, NULL)) {
|