Home
last modified time | relevance | path

Searched refs:return_msg (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/unbound/cachedb/
H A Dcachedb.c318 qstate->return_msg = NULL; in error_response()
391 if(!qstate->return_msg || !qstate->return_msg->rep) in prep_data()
395 if(FLAGS_GET_RCODE(qstate->return_msg->rep->flags) != in prep_data()
397 FLAGS_GET_RCODE(qstate->return_msg->rep->flags) != in prep_data()
399 FLAGS_GET_RCODE(qstate->return_msg->rep->flags) != in prep_data()
406 if(qstate->return_msg->rep->ttl == 0 && in prep_data()
411 if (qstate->env->cfg->ede && qstate->return_msg->rep->reason_bogus != LDNS_EDE_NONE) { in prep_data()
413 qstate->return_msg->rep->reason_bogus, in prep_data()
414 qstate->return_msg->rep->reason_bogus_str); in prep_data()
418 log_dns_msg("cachedb encoding", &qstate->return_msg->qinfo, in prep_data()
[all …]
/freebsd/contrib/unbound/dns64/
H A Ddns64.c641 qstate->return_msg && in handle_event_moddone()
642 qstate->return_msg->rep && in handle_event_moddone()
643 reply_find_answer_rrset(&qstate->qinfo, qstate->return_msg->rep); in handle_event_moddone()
656 qstate->return_msg && in handle_event_moddone()
657 qstate->return_msg->rep && in handle_event_moddone()
659 qstate->env, &qstate->qinfo, qstate->return_msg->rep, in handle_event_moddone()
830 log_assert(qstate->return_msg); in dns64_adjust_a()
831 log_assert(qstate->return_msg->rep); in dns64_adjust_a()
834 if(!super->return_msg) { in dns64_adjust_a()
835 super->return_msg = (struct dns_msg*)regional_alloc( in dns64_adjust_a()
[all …]
/freebsd/contrib/unbound/ipsecmod/
H A Dipsecmod.c295 rrset_key = reply_find_answer_rrset(&qstate->return_msg->qinfo, in call_hook()
296 qstate->return_msg->rep); in call_hook()
436 rrset_key = reply_find_answer_rrset(&qstate->return_msg->qinfo, in ipsecmod_handle_query()
437 qstate->return_msg->rep); in ipsecmod_handle_query()
445 if(qstate->return_msg->rep->ttl > (time_t)qstate->env->cfg->ipsecmod_max_ttl) { in ipsecmod_handle_query()
446 qstate->return_msg->rep->ttl = in ipsecmod_handle_query()
448 qstate->return_msg->rep->prefetch_ttl = PREFETCH_TTL_CALC( in ipsecmod_handle_query()
449 qstate->return_msg->rep->ttl); in ipsecmod_handle_query()
450 qstate->return_msg->rep->serve_expired_ttl = qstate->return_msg->rep->ttl + in ipsecmod_handle_query()
458 qstate->return_msg->rep, 0, qstate->prefetch_leeway, in ipsecmod_handle_query()
[all …]
/freebsd/contrib/unbound/ipset/
H A Dipset.c49 qstate->return_msg = NULL; in error_response()
272 static int ipset_update(struct module_env *env, struct dns_msg *return_msg, in ipset_update() argument
301 for(i = 0; i < return_msg->rep->rrset_count; i++) { in ipset_update()
303 rrset = return_msg->rep->rrsets[i]; in ipset_update()
431 if (qstate->return_msg && qstate->return_msg->rep) { in ipset_operate()
432 ipset_update(qstate->env, qstate->return_msg, qstate->qinfo, ie); in ipset_operate()
/freebsd/contrib/unbound/respip/
H A Drespip.c1094 qstate->return_msg && qstate->return_msg->rep) { in respip_operate()
1095 struct reply_info* new_rep = qstate->return_msg->rep; in respip_operate()
1101 qstate->client_info, qstate->return_msg->rep, in respip_operate()
1121 (new_rep == qstate->return_msg->rep && in respip_operate()
1134 qstate->return_msg->rep = new_rep; in respip_operate()
1144 qstate->return_msg = NULL; in respip_operate()
1219 log_assert(super->return_msg && super->return_msg->rep); in respip_inform_super()
1225 if(!qstate->return_msg || !qstate->return_msg->rep || in respip_inform_super()
1229 if(!respip_merge_cname(super->return_msg->rep, &qstate->qinfo, in respip_inform_super()
1230 qstate->return_msg->rep, super->client_info, in respip_inform_super()
[all …]
/freebsd/contrib/unbound/edns-subnet/
H A Dsubnetmod.c413 rep = reply_info_copy(qstate->return_msg->rep, &sne->alloc, NULL); in update_cache()
485 qstate->return_msg = tomsg(NULL, &qstate->qinfo, in lookup_and_reply()
491 if (!qstate->return_msg) { /* Failed allocation or expired TTL */ in lookup_and_reply()
537 if (!qstate->return_msg) { in eval_response()
819 qstate->return_msg = NULL; in subnetmod_operate()
934 qstate->return_msg) { in subnetmod_operate()
/freebsd/contrib/unbound/validator/
H A Dvalidator.c248 if(!qstate->return_msg || qstate->return_rcode != LDNS_RCODE_NOERROR) { in val_new_getmsg()
266 vq->orig_msg = qstate->return_msg; in val_new_getmsg()
2487 qstate->return_msg = NULL; in processFinished()
2580 qstate->return_msg = vq->orig_msg; in processFinished()
2652 qstate->return_msg)) { in val_operate()
2654 if(qstate->return_msg) in val_operate()
2655 qstate->return_msg->rep->security = in val_operate()
2660 if(already_validated(qstate->return_msg)) { in val_operate()
2666 if(qstate->return_msg) in val_operate()
2667 qstate->return_msg->rep->security = in val_operate()
[all …]
/freebsd/contrib/unbound/iterator/
H A Diterator.c291 qstate->return_msg = NULL; in error_response()
1470 qstate->return_msg = forged_response; in processInitRequest()
1473 if(!iter_prepend(iq, qstate->return_msg, qstate->region)) { in processInitRequest()
1477 qstate->return_msg->qinfo = qstate->qinfo; in processInitRequest()
2905 qstate->return_msg = forged_response; in processQueryTargets()
2908 if(!iter_prepend(iq, qstate->return_msg, qstate->region)) { in processQueryTargets()
3559 qstate->return_msg = forged_response; in processQueryResponse()
3562 if(!iter_prepend(iq, qstate->return_msg, qstate->region)) { in processQueryResponse()
3566 qstate->return_msg->qinfo = qstate->qinfo; in processQueryResponse()
3697 dp = delegpt_from_message(qstate->return_msg, forq->region); in prime_supers()
[all …]
/freebsd/contrib/unbound/util/
H A Dmodule.h641 struct dns_msg* return_msg; member
/freebsd/contrib/unbound/services/
H A Dmesh.c296 m->s.return_msg = NULL; in mesh_make_new_space()
925 mstate->s.return_msg = 0; in mesh_state_create()
1502 struct reply_info* rep = (mstate->s.return_msg? in mesh_query_done()
1503 mstate->s.return_msg->rep:NULL); in mesh_query_done()
/freebsd/contrib/unbound/contrib/
H A Dfastrpz.patch3085 qstate->return_msg = iq->response;