Lines Matching defs:qinf
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->local_alias = NULL;
444 struct alloc_cache* alloc, struct query_info* qinf,
448 if(!parse_create_qinfo(pkt, msg, qinf, region))
464 struct query_info* qinf, struct reply_info** rep,
471 qinf->qname = NULL;
472 qinf->local_alias = NULL;
488 if(!parse_create_msg(pkt, msg, alloc, qinf, rep, NULL)) {
489 query_info_clear(qinf);
846 log_reply_info(enum verbosity_value v, struct query_info *qinf,
869 if(qinf->qname)
870 dname_str(qinf->qname, qname_buf);
873 sldns_wire2str_type_buf(qinf->qtype, type_buf, sizeof(type_buf));
874 sldns_wire2str_class_buf(qinf->qclass, class_buf, sizeof(class_buf));
887 struct query_info* qinf)
889 log_nametypeclass(v, str, qinf->qname, qinf->qtype, qinf->qclass);