| /freebsd-12-stable/contrib/sendmail/libmilter/ |
| D | smfi.c | 563 smfi_setreply(ctx, rcode, xcode, message) in smfi_setreply() argument 565 char *rcode; 572 if (rcode == NULL || ctx == NULL) 576 len = strlen(rcode) + 2; 579 if ((rcode[0] != '4' && rcode[0] != '5') || 580 !isascii(rcode[1]) || !isdigit(rcode[1]) || 581 !isascii(rcode[2]) || !isdigit(rcode[2])) 604 (void) sm_strlcpy(buf, rcode, len); 636 smfi_setmlreply(SMFICTX *ctx, const char *rcode, const char *xcode, ...) in smfi_setmlreply() argument 638 smfi_setmlreply(ctx, rcode, xcode, va_alist) in smfi_setmlreply() [all …]
|
| /freebsd-12-stable/contrib/sendmail/src/ |
| D | deliver.c | 1374 int rcode; /* response code */ local 1493 rcode = EX_OK; 1499 rpath = remotename(p, m, RF_SENDERADDR|RF_CANONICAL, &rcode, e); 1500 if (rcode != EX_OK && bitnset(M_xSMTP, m->m_flags)) 1564 rcode = -1; 1720 rcode = rscheck("check_compat", e->e_from.q_paddr, to->q_paddr, 1723 if (rcode == EX_OK) 1728 rcode = checkcompat(to, e); 1732 if (rcode != EX_OK) 1734 markfailure(e, to, NULL, rcode, ovr); [all …]
|
| D | domain.c | 417 int i, rcode; local 454 &rcode, &ttl, 0); 562 getmxrr(host, mxhosts, mxprefs, flags, rcode, pttl, port) in getmxrr() argument 567 int *rcode; 602 *rcode = EX_OK; 700 *rcode = EX_NOHOST; 713 *rcode = EX_TEMPFAIL; 719 *rcode = EX_OSERR; 853 *rcode = EX_UNAVAILABLE; 938 *rcode = EX_TEMPFAIL; [all …]
|
| /freebsd-12-stable/lib/libc/resolv/ |
| D | res_query.c | 128 hp->rcode = NOERROR; /*%< default */ in res_nquery() 176 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_nquery() 180 p_rcode(hp->rcode), in res_nquery() 185 switch (hp->rcode) { in res_nquery() 262 if (hp->rcode == SERVFAIL) in res_nsearch() 344 if (hp->rcode == SERVFAIL) { in res_nsearch() 367 if (hp->rcode == SERVFAIL) in res_nsearch()
|
| /freebsd-12-stable/contrib/unbound/libunbound/ |
| D | worker.h | 92 void libworker_fg_done_cb(void* arg, int rcode, sldns_buffer* buf, 96 void libworker_bg_done_cb(void* arg, int rcode, sldns_buffer* buf, 100 void libworker_event_done_cb(void* arg, int rcode, struct sldns_buffer* buf,
|
| D | libworker.c | 530 res->rcode = LDNS_RCODE_SERVFAIL; in libworker_enter_result() 540 res->rcode = (int)FLAGS_GET_RCODE(rep->flags); in libworker_enter_result() 543 if(res->rcode == LDNS_RCODE_NXDOMAIN) in libworker_enter_result() 554 libworker_fillup_fg(struct ctx_query* q, int rcode, sldns_buffer* buf, in libworker_fillup_fg() argument 560 if(rcode != 0) { in libworker_fillup_fg() 561 q->res->rcode = rcode; in libworker_fillup_fg() 566 q->res->rcode = LDNS_RCODE_SERVFAIL; in libworker_fillup_fg() 580 libworker_fg_done_cb(void* arg, int rcode, sldns_buffer* buf, enum sec_status s, in libworker_fg_done_cb() argument 587 libworker_fillup_fg(q, rcode, buf, s, why_bogus, was_ratelimited); in libworker_fg_done_cb() 672 libworker_event_done_cb(void* arg, int rcode, sldns_buffer* buf, in libworker_event_done_cb() argument [all …]
|
| /freebsd-12-stable/contrib/unbound/contrib/ |
| D | redirect-bogus.patch | 65 rcode = LDNS_RCODE_SERVFAIL; 73 } else if(rcode) { 76 - if(rcode == LDNS_RCODE_SERVFAIL) { 78 - rep, rcode, &r->edns, m->s.region)) 81 - if(!inplace_cb_reply_call(m->s.env, &m->s.qinfo, &m->s, rep, rcode, 98 + if(rcode == LDNS_RCODE_SERVFAIL) { 101 + rep, rcode, &r->edns, m->s.region)) 105 + &m->s, rep, rcode, &r->edns, 109 + error_encode(r->query_reply.c->buffer, rcode, 112 - error_encode(r->query_reply.c->buffer, rcode, &m->s.qinfo,
|
| /freebsd-12-stable/contrib/ldns-host/ |
| D | ldns-host.c | 382 print_rcode(uint8_t rcode) { in print_rcode() argument 383 ldns_lookup_table *lt = ldns_lookup_by_id(ldns_rcodes, rcode); in print_rcode() 388 printf("RESERVED%d", rcode); in print_rcode() 746 ldns_pkt_rcode rcode; in query() local 773 rcode = ldns_pkt_get_rcode(*pkt); in query() 774 if (o_ignore_servfail && rcode == LDNS_RCODE_SERVFAIL && cnt > 1) in query() 776 return rcode == LDNS_RCODE_NOERROR; in query() 816 ldns_pkt_rcode rcode; in report() local 824 rcode = ldns_pkt_get_rcode(pkt); in report() 825 if (rcode != LDNS_RCODE_NOERROR) { in report() [all …]
|
| /freebsd-12-stable/contrib/unbound/smallapp/ |
| D | unbound-host.c | 221 if(result->rcode != 0 && result->rcode != 3) return "(error)"; in secure_str() 297 pretty_rcode(rcodestr, 16, result->rcode); in pretty_output() 299 if(!result->havedata && result->rcode) { in pretty_output() 301 q, result->rcode, rcodestr); in pretty_output()
|
| D | worker_cb.c | 160 void libworker_fg_done_cb(void* ATTR_UNUSED(arg), int ATTR_UNUSED(rcode), in libworker_fg_done_cb() argument 167 void libworker_bg_done_cb(void* ATTR_UNUSED(arg), int ATTR_UNUSED(rcode), in libworker_bg_done_cb() argument 174 void libworker_event_done_cb(void* ATTR_UNUSED(arg), int ATTR_UNUSED(rcode), in libworker_event_done_cb() argument
|
| /freebsd-12-stable/contrib/unbound/util/data/ |
| D | msgreply.h | 622 struct module_qstate* qstate, struct reply_info* rep, int rcode, 643 struct reply_info* rep, int rcode, struct edns_data* edns, 664 struct reply_info* rep, int rcode, struct edns_data* edns, 686 struct reply_info* rep, int rcode, struct edns_data* edns,
|
| D | msgreply.c | 929 uint16_t rcode = FLAGS_GET_RCODE(sldns_buffer_read_u16_at(rmsg, 2)); in log_reply_info() local 934 sldns_wire2str_rcode_buf((int)rcode, rcode_buf, sizeof(rcode_buf)); in log_reply_info() 936 if(rcode == LDNS_RCODE_FORMERR) in log_reply_info() 1125 struct reply_info* rep, int rcode, struct edns_data* edns, in inplace_cb_reply_call_generic() argument 1140 rcode, edns, &opt_list_out, repinfo, region, start_time, cb->id, cb->cb_arg); in inplace_cb_reply_call_generic() 1147 struct module_qstate* qstate, struct reply_info* rep, int rcode, in inplace_cb_reply_call() argument 1153 qstate, rep, rcode, edns, repinfo, region, start_time); in inplace_cb_reply_call() 1158 struct reply_info* rep, int rcode, struct edns_data* edns, in inplace_cb_reply_cache_call() argument 1164 qinfo, qstate, rep, rcode, edns, repinfo, region, start_time); in inplace_cb_reply_cache_call() 1169 struct reply_info* rep, int rcode, struct edns_data* edns, in inplace_cb_reply_local_call() argument [all …]
|
| /freebsd-12-stable/contrib/unbound/validator/ |
| D | validator.c | 69 struct val_qstate* vq, int id, int rcode, struct dns_msg* msg, 326 int rcode; in needs_validation() local 349 rcode = ret_rc; in needs_validation() 350 else rcode = (int)FLAGS_GET_RCODE(ret_msg->rep->flags); in needs_validation() 352 if(rcode != LDNS_RCODE_NOERROR && rcode != LDNS_RCODE_NXDOMAIN) { in needs_validation() 356 (void)sldns_wire2str_rcode_buf(rcode, rc, sizeof(rc)); in needs_validation() 364 rcode == LDNS_RCODE_NOERROR && ret_msg && in needs_validation() 1022 struct key_entry_key* kkey, int* rcode) in validate_nameerror_response() argument 1086 *rcode = LDNS_RCODE_NOERROR; in validate_nameerror_response() 1098 *rcode = LDNS_RCODE_NOERROR; in validate_nameerror_response() [all …]
|
| D | val_utils.c | 65 int rcode = (int)FLAGS_GET_RCODE(rep->flags); in val_classify_response() local 70 if(rcode == LDNS_RCODE_NXDOMAIN && rep->an_numrrsets == 0) in val_classify_response() 75 rcode == LDNS_RCODE_NOERROR) { in val_classify_response() 93 rep->an_numrrsets == 1 && rcode == LDNS_RCODE_NOERROR && in val_classify_response() 100 if(rcode != LDNS_RCODE_NOERROR && rcode != LDNS_RCODE_NXDOMAIN) in val_classify_response() 107 if(rcode == LDNS_RCODE_NOERROR && rep->an_numrrsets == 0) in val_classify_response() 115 if(rcode == LDNS_RCODE_NOERROR && qinf->qtype == LDNS_RR_TYPE_ANY) in val_classify_response() 121 if(rcode == LDNS_RCODE_NOERROR && in val_classify_response()
|
| /freebsd-12-stable/contrib/unbound/services/ |
| D | mesh.c | 1161 mesh_do_callback(struct mesh_state* m, int rcode, struct reply_info* rep, in mesh_do_callback() argument 1172 if(!rep && rcode == LDNS_RCODE_NOERROR) in mesh_do_callback() 1173 rcode = LDNS_RCODE_SERVFAIL; in mesh_do_callback() 1174 if(!rcode && rep && (rep->security == sec_status_bogus || in mesh_do_callback() 1177 rcode = LDNS_RCODE_SERVFAIL; in mesh_do_callback() 1180 if(rcode) { in mesh_do_callback() 1181 if(rcode == LDNS_RCODE_SERVFAIL) { in mesh_do_callback() 1183 rep, rcode, &r->edns, NULL, m->s.region, start_time)) in mesh_do_callback() 1186 if(!inplace_cb_reply_call(m->s.env, &m->s.qinfo, &m->s, rep, rcode, in mesh_do_callback() 1191 (*r->cb)(r->cb_arg, rcode, r->buf, sec_status_unchecked, NULL, in mesh_do_callback() [all …]
|
| D | authzone.h | 692 void auth_xfer_probe_lookup_callback(void* arg, int rcode, 696 void auth_xfer_transfer_lookup_callback(void* arg, int rcode, 776 void auth_zonemd_dnskey_lookup_callback(void* arg, int rcode,
|
| D | localzone.c | 1298 int rcode) in local_encode() argument 1304 rep.flags = (uint16_t)((BIT_QR | BIT_AA | BIT_RA) | rcode); in local_encode() 1317 if(!inplace_cb_reply_local_call(env, qinfo, NULL, &rep, rcode, edns, in local_encode() 1332 struct regional* temp, int rcode, int r, int ede_code, in local_error_encode() argument 1341 rcode, edns, repinfo, temp, env->now_tv)) in local_error_encode() 1668 int rcode = (ld || lz_type == local_zone_redirect || in local_zones_zone_answer() local 1673 rcode = (lz_type == local_zone_truncate ? (rcode|BIT_TC) : rcode); in local_zones_zone_answer() 1676 z->soa_negative, 0, rcode); in local_zones_zone_answer() 1678 rcode, (rcode|BIT_AA), LDNS_EDE_NONE, NULL); in local_zones_zone_answer() 1741 int rcode = LDNS_RCODE_NOERROR; in local_zones_zone_answer() local [all …]
|
| /freebsd-12-stable/contrib/unbound/ipset/ |
| D | ipset.c | 34 static int error_response(struct module_qstate* qstate, int id, int rcode) { in error_response() argument 36 sldns_lookup_by_id(sldns_rcodes, rcode)? in error_response() 37 sldns_lookup_by_id(sldns_rcodes, rcode)->name:"??"); in error_response() 38 qstate->return_rcode = rcode; in error_response()
|
| /freebsd-12-stable/sys/dev/smartpqi/ |
| D | smartpqi_sis.c | 486 int rcode = PQI_STATUS_SUCCESS; in pqisrc_sis_wait_for_db_bit_to_clear() local 499 rcode = PQI_STATUS_FAILURE; in pqisrc_sis_wait_for_db_bit_to_clear() 504 rcode = PQI_STATUS_TIMEOUT; in pqisrc_sis_wait_for_db_bit_to_clear() 512 return rcode; in pqisrc_sis_wait_for_db_bit_to_clear()
|
| /freebsd-12-stable/sys/netinet/libalias/ |
| D | alias_nbt.c | 211 u_short dir:1, opcode:4, nmflags:7, rcode:4; member 227 PrintRcode(u_char rcode) in PrintRcode() argument 229 switch (rcode) { in PrintRcode() 243 printf("\n?%c?=%0x\n", '?', rcode); in PrintRcode() 794 nsh->rcode, in AliasHandleUdpNbtNS() 840 PrintRcode(nsh->rcode); in AliasHandleUdpNbtNS()
|
| /freebsd-12-stable/crypto/openssl/crypto/conf/ |
| D | conf_mod.c | 175 char rcode[DECIMAL_SIZE(ret) + 1]; in module_run() local 178 BIO_snprintf(rcode, sizeof(rcode), "%-8d", ret); in module_run() 180 ", retcode=", rcode); in module_run()
|
| /freebsd-12-stable/include/arpa/ |
| D | nameser_compat.h | 77 unsigned rcode :4; /*%< response code */ member 87 unsigned rcode :4; /*%< response code */ member
|
| /freebsd-12-stable/contrib/ldns/ldns/ |
| D | wire2host.h | 69 #define LDNS_RCODE_SET(wirebuf, rcode) \ argument 70 (*(wirebuf+3) = ((*(wirebuf+3)) & ~LDNS_RCODE_MASK) | (rcode))
|
| /freebsd-12-stable/contrib/unbound/dynlibmod/examples/ |
| D | helloworld.c | 33 struct module_qstate* qstate, struct reply_info* rep, int rcode, 119 struct module_qstate* qstate, struct reply_info* rep, int rcode, in reply_callback() argument
|
| /freebsd-12-stable/contrib/unbound/sldns/ |
| D | pkthdr.h | 63 #define LDNS_RCODE_SET(wirebuf, rcode) \ argument 64 (*(wirebuf+3) = ((*(wirebuf+3)) & ~LDNS_RCODE_MASK) | (rcode))
|