Lines Matching defs:qinfo
132 msg_del_servfail(struct module_env* env, struct query_info* qinfo,
139 e = msg_cache_lookup(env, qinfo->qname, qinfo->qname_len,
140 qinfo->qtype, qinfo->qclass, flags, 0, 0);
151 msg_cache_remove(env, qinfo->qname, qinfo->qname_len, qinfo->qtype,
152 qinfo->qclass, flags);
156 dns_cache_store_msg(struct module_env* env, struct query_info* qinfo,
184 msg_del_servfail(env, qinfo, flags);
190 if(!(e = query_info_entrysetup(qinfo, rep, hash))) {
381 msg->qinfo.qclass, 0, now, 0);
386 dp->namelen, LDNS_RR_TYPE_NSEC, msg->qinfo.qclass,
415 msg->qinfo.qname = regional_alloc_init(region, qname, qnamelen);
416 if(!msg->qinfo.qname)
418 msg->qinfo.qname_len = qnamelen;
419 msg->qinfo.qtype = qtype;
420 msg->qinfo.qclass = qclass;
421 msg->qinfo.local_alias = NULL;
518 memcpy(&msg->qinfo, q, sizeof(struct query_info));
519 msg->qinfo.qname = regional_alloc_init(region, q->qname, q->qname_len);
520 if(!msg->qinfo.qname)
944 msg->qinfo.qname=qname;
945 msg->qinfo.qname_len=qnamelen;
1024 dns_cache_prefetch_adjust(struct module_env* env, struct query_info* qinfo,
1028 msg = msg_cache_lookup(env, qinfo->qname, qinfo->qname_len,
1029 qinfo->qtype, qinfo->qclass, flags, *env->now, 1);