Home
last modified time | relevance | path

Searched refs:FLAGS_GET_RCODE (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/unbound/iterator/
H A Diter_resptype.c57 if(FLAGS_GET_RCODE(msg->rep->flags) == LDNS_RCODE_NXDOMAIN) in response_type_from_cache()
124 if(FLAGS_GET_RCODE(msg->rep->flags) == LDNS_RCODE_NXDOMAIN) { in response_type_from_server()
143 if(FLAGS_GET_RCODE(msg->rep->flags) != LDNS_RCODE_NOERROR) in response_type_from_server()
H A Diter_scrub.c433 if(FLAGS_GET_RCODE(msg->flags) != LDNS_RCODE_NOERROR && in scrub_normalize()
434 FLAGS_GET_RCODE(msg->flags) != LDNS_RCODE_NXDOMAIN) in scrub_normalize()
630 if(FLAGS_GET_RCODE(msg->flags) == LDNS_RCODE_NXDOMAIN || in scrub_normalize()
631 (FLAGS_GET_RCODE(msg->flags) == LDNS_RCODE_NOERROR in scrub_normalize()
651 FLAGS_GET_RCODE(msg->flags) == in scrub_normalize()
953 FLAGS_GET_RCODE(msg->flags) == in scrub_sanitize()
1046 if((FLAGS_GET_RCODE(msg->flags) == LDNS_RCODE_NOERROR || in scrub_message()
1047 FLAGS_GET_RCODE(msg->flags) == LDNS_RCODE_NXDOMAIN) && in scrub_message()
H A Diterator.c341 if(rep && (FLAGS_GET_RCODE(rep->flags) == in error_response_cache()
343 FLAGS_GET_RCODE(rep->flags) == in error_response_cache()
345 FLAGS_GET_RCODE(rep->flags) == in error_response_cache()
677 if(FLAGS_GET_RCODE(iq->response->rep->flags) != 0) { in errinf_reply()
680 FLAGS_GET_RCODE(iq->response->rep->flags), in errinf_reply()
1568 if(FLAGS_GET_RCODE(msg->rep->flags) == LDNS_RCODE_SERVFAIL) in processInitRequest()
2667 if(msg && FLAGS_GET_RCODE(msg->rep->flags) == in processQueryTargets()
2672 if(msg && FLAGS_GET_RCODE(msg->rep->flags) == in processQueryTargets()
2695 if(msg && FLAGS_GET_RCODE(msg->rep->flags) == in processQueryTargets()
3245 FLAGS_GET_RCODE(iq->response->rep->flags) == LDNS_RCODE_YXDOMAIN) { in processQueryResponse()
[all …]
H A Diter_utils.c1119 return !(FLAGS_GET_RCODE(rep->flags) == LDNS_RCODE_NOERROR || in caps_failed_rcode()
1120 FLAGS_GET_RCODE(rep->flags) == LDNS_RCODE_NXDOMAIN); in caps_failed_rcode()
H A Diter_delegpt.c565 if(FLAGS_GET_RCODE(rep->flags) != 0 || rep->an_numrrsets == 0) { in delegpt_add_neg_msg()
/freebsd/contrib/unbound/cachedb/
H A Dcachedb.c395 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()
612 (FLAGS_GET_RCODE(qstate->return_msg->rep->flags) in parse_data()
614 FLAGS_GET_RCODE(qstate->return_msg->rep->flags) in parse_data()
616 FLAGS_GET_RCODE(qstate->return_msg->rep->flags) in parse_data()
/freebsd/contrib/unbound/util/data/
H A Dmsgencode.c638 if (FLAGS_GET_RCODE(rep->flags) != LDNS_RCODE_NOERROR) in positive_answer()
667 if(FLAGS_GET_RCODE(rep->flags) == LDNS_RCODE_NXDOMAIN) in negative_answer()
669 if(FLAGS_GET_RCODE(rep->flags) == LDNS_RCODE_NOERROR && in negative_answer()
672 if(FLAGS_GET_RCODE(rep->flags) != LDNS_RCODE_NOERROR && in negative_answer()
673 FLAGS_GET_RCODE(rep->flags) != LDNS_RCODE_NXDOMAIN) in negative_answer()
1019 (FLAGS_GET_RCODE(rep->flags) == LDNS_RCODE_NOERROR || in reply_info_answer_encode()
1020 FLAGS_GET_RCODE(rep->flags) == LDNS_RCODE_NXDOMAIN)) { in reply_info_answer_encode()
H A Dmsgreply.c185 if(FLAGS_GET_RCODE(rep->flags) != LDNS_RCODE_NOERROR && in reply_info_can_answer_expired()
186 FLAGS_GET_RCODE(rep->flags) != LDNS_RCODE_NXDOMAIN && in reply_info_can_answer_expired()
187 FLAGS_GET_RCODE(rep->flags) != LDNS_RCODE_YXDOMAIN) return 0; in reply_info_can_answer_expired()
198 if(FLAGS_GET_RCODE(rep->flags) != LDNS_RCODE_NOERROR && in reply_info_could_use_expired()
199 FLAGS_GET_RCODE(rep->flags) != LDNS_RCODE_NXDOMAIN && in reply_info_could_use_expired()
200 FLAGS_GET_RCODE(rep->flags) != LDNS_RCODE_YXDOMAIN) return 0; in reply_info_could_use_expired()
977 uint16_t rcode = FLAGS_GET_RCODE(sldns_buffer_read_u16_at(rmsg, 2)); in log_reply_info()
/freebsd/contrib/unbound/util/
H A Dnet_help.h74 #define FLAGS_GET_RCODE(f) ((f) & 0xf) macro
/freebsd/contrib/unbound/edns-subnet/
H A Dsubnetmod.c728 FLAGS_GET_RCODE(response->rep->flags) == LDNS_RCODE_REFUSED) { in ecs_query_response()
736 FLAGS_GET_RCODE(response->rep->flags) == LDNS_RCODE_NOERROR && in ecs_query_response()
/freebsd/contrib/unbound/validator/
H A Dvalidator.c377 else rcode = (int)FLAGS_GET_RCODE(ret_msg->rep->flags); in needs_validation()
2261 rcode = (int)FLAGS_GET_RCODE(vq->orig_msg->rep->flags); in processValidate()
3059 if(FLAGS_GET_RCODE(msg->rep->flags) != LDNS_RCODE_NOERROR) { in ds_response_to_ke()
3062 (void)sldns_wire2str_rcode_buf((int)FLAGS_GET_RCODE( in ds_response_to_ke()
H A Dval_utils.c69 int rcode = (int)FLAGS_GET_RCODE(rep->flags); in val_classify_response()
/freebsd/contrib/unbound/services/
H A Dauthzone.c3288 if(FLAGS_GET_RCODE(msg->rep->flags) == LDNS_RCODE_YXDOMAIN) in az_generate_dname_answer()
3540 (int)FLAGS_GET_RCODE(msg->rep->flags), edns, repinfo, temp, env->now_tv) in auth_answer_encode()
5722 FLAGS_GET_RCODE(rep->flags) == LDNS_RCODE_NOERROR) { in auth_xfer_transfer_lookup_callback()
6785 FLAGS_GET_RCODE(rep->flags) == LDNS_RCODE_NOERROR) { in auth_xfer_probe_lookup_callback()
8310 FLAGS_GET_RCODE(rep->flags) == LDNS_RCODE_NOERROR) { in auth_zonemd_dnskey_lookup_callback()
8341 FLAGS_GET_RCODE(rep->flags) == LDNS_RCODE_NXDOMAIN && in auth_zonemd_dnskey_lookup_callback()
8353 FLAGS_GET_RCODE(rep->flags) == LDNS_RCODE_NXDOMAIN && in auth_zonemd_dnskey_lookup_callback()
8360 FLAGS_GET_RCODE(rep->flags) == LDNS_RCODE_NXDOMAIN && in auth_zonemd_dnskey_lookup_callback()
H A Dmesh.c1479 uint16_t rc = FLAGS_GET_RCODE(sldns_buffer_read_u16_at( in mesh_send_reply()
1512 (rep && FLAGS_GET_RCODE(rep->flags) == LDNS_RCODE_SERVFAIL)) { in mesh_query_done()
/freebsd/contrib/unbound/libunbound/
H A Dlibworker.c526 res->rcode = (int)FLAGS_GET_RCODE(rep->flags); in libworker_enter_result()
/freebsd/contrib/unbound/respip/
H A Drespip.c1169 tgt_rcode = FLAGS_GET_RCODE(tgt_rep->flags); in respip_merge_cname()
/freebsd/contrib/unbound/services/cache/
H A Ddns.c1030 if(FLAGS_GET_RCODE(data->flags) == LDNS_RCODE_NXDOMAIN in dns_cache_lookup()
/freebsd/contrib/unbound/daemon/
H A Dremote.c2046 if(FLAGS_GET_RCODE(d->flags) != 0 || d->an_numrrsets == 0) { in negative_del_msg()
/freebsd/contrib/unbound/contrib/
H A Dfastrpz.patch3041 if(FLAGS_GET_RCODE(iq->response->rep->flags) !=