HomeSort by: relevance | last modified time | path
    Searched refs:qinf (Results 1 - 17 of 17) sorted by relevancy

  /src/external/bsd/unbound/dist/util/data/
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,
msgreply.c 80 struct query_info* qinf, struct regional* region)
84 qinf->qname = (uint8_t*)regional_alloc(region,
86 else qinf->qname = (uint8_t*)malloc(msg->qname_len);
87 if(!qinf->qname) return 0;
88 dname_pkt_copy(pkt, qinf->qname, msg->qname);
89 } else qinf->qname = 0;
90 qinf->qname_len = msg->qname_len;
91 qinf->qtype = msg->qtype;
92 qinf->qclass = msg->qclass;
93 qinf->local_alias = NULL
    [all...]
msgreply.h 295 * @param qinf: query_info is returned (only on no error).
303 struct query_info* qinf, struct reply_info** rep,
312 * @param qinf: where to store query info.
313 * qinf itself is allocated by the caller.
322 struct alloc_cache* alloc, struct query_info* qinf,
560 * @param qinf: query section.
572 void log_reply_info(enum verbosity_value v, struct query_info *qinf,
581 * @param qinf: query info structure with name, type and class.
584 struct query_info* qinf);
msgencode.c 1023 reply_info_answer_encode(struct query_info* qinf, struct reply_info* rep,
1044 if(qinf->local_alias &&
1070 if(!reply_info_encode(qinf, rep, id, flags, pkt, timenow, region,
  /src/external/bsd/unbound/dist/validator/
val_nsec.h 140 * @param qinf: what was queried.
145 struct query_info* qinf, uint8_t* wc);
val_utils.h 93 * @param qinf: query info. The chased query name.
101 struct query_info* origqinf, struct query_info* qinf,
110 * @param qinf: query, the chased query name.
119 struct query_info* qinf, struct reply_info* rep,
val_utils.c 67 struct query_info* qinf, struct reply_info* rep, size_t skip)
119 if(rcode == LDNS_RCODE_NOERROR && qinf->qtype == LDNS_RR_TYPE_ANY)
124 if(qinf->qtype == LDNS_RR_TYPE_DNAME) {
129 query_dname_compare(qinf->qname,
141 qinf, rep);
149 ntohs(rep->rrsets[i]->rk.type) == qinf->qtype)
155 qinf, rep);
206 * @param qinf: the query name that needs validation.
214 struct query_info* qinf, uint8_t** signer_name, size_t* signer_len,
229 dname_subdomain_c(qinf->qname, sign))
    [all...]
val_nsec.c 507 struct query_info* qinf, uint8_t* wc)
513 if(!val_nsec_proves_name_error(nsec, qinf->qname))
516 ce = nsec_closest_encloser(qinf->qname, nsec);
  /src/external/bsd/unbound/dist/iterator/
iter_utils.h 137 * @param qinf: query info, the query for which answer is stored.
154 void iter_dns_store(struct module_env* env, struct query_info* qinf,
408 * @param qinf: query name to lookup for.
420 struct query_info *qinf, uint8_t** retdpname, size_t* retdpnamelen,
iter_utils.c 801 struct query_info qinf; local
802 qinf.qname = name;
803 qinf.qname_len = namelen;
804 qinf.qtype = t;
805 qinf.qclass = c;
806 qinf.local_alias = NULL;
809 return (*qstate->env->detect_cycle)(qstate, &qinf,
1544 iter_stub_fwd_no_cache(struct module_qstate *qstate, struct query_info *qinf,
1561 stub = hints_lookup_stub(qstate->env->hints, qinf->qname,
1562 qinf->qclass, NULL, nolock)
    [all...]
iterator.c 832 struct query_info qinf; local
835 qinf.qname = qname;
836 qinf.qname_len = qnamelen;
837 qinf.qtype = qtype;
838 qinf.qclass = qclass;
839 qinf.local_alias = NULL;
858 if(!(*qstate->env->add_sub)(qstate, &qinf, NULL,
867 if(!(*qstate->env->attach_sub)(qstate, &qinf, NULL, qflags,
  /src/external/bsd/unbound/dist/edns-subnet/
subnetmod.c 394 struct query_info qinf; local
419 qinf = qstate->qinfo;
420 qinf.qname = memdup(qstate->qinfo.qname,
422 if(!qinf.qname) {
427 mrep_entry = query_info_entrysetup(&qinf, data, h);
428 free(qinf.qname); /* if qname 'consumed', it is set to NULL */
638 struct query_info qinf; local
639 qinf.qname = qstate->qinfo.qname;
640 qinf.qname_len = qstate->qinfo.qname_len;
641 qinf.qtype = qstate->qinfo.qtype
    [all...]
  /src/external/bsd/unbound/dist/services/cache/
dns.h 72 * @param qinf: query info, the query for which answer is stored.
97 int dns_cache_store(struct module_env* env, struct query_info* qinf,
dns.c 1222 struct query_info qinf; local
1225 qinf = *msgqinf;
1226 qinf.qname = memdup(msgqinf->qname, msgqinf->qname_len);
1227 if(!qinf.qname) {
1236 h = query_info_hash(&qinf, (uint16_t)flags);
1237 dns_cache_store_msg(env, &qinf, h, rep, leeway, pside, msgrep,
1241 free(qinf.qname);
  /src/external/bsd/unbound/dist/dnstap/
unbound-dnstap-socket.c 618 char* maddr=NULL, *qinf=NULL; local
640 qinf = q_of_msg(d->message->query_message);
642 qinf = q_of_msg(d->message->response_message);
649 (qinf?" ":""), (qinf?qinf:""));
651 free(qinf);
  /src/external/bsd/unbound/dist/daemon/
cachedump.c 753 struct query_info qinf; local
771 s = load_qinfo(s, &qinf, region);
817 if(!dns_cache_store(&worker->env, &qinf, &rep, 0, 0, 0, NULL, flags,
  /src/external/bsd/unbound/dist/pythonmod/
interface.i 1500 void log_query_info(enum verbosity_value v, const char* str, struct query_info* qinf);

Completed in 30 milliseconds