/freebsd/contrib/sendmail/libmilter/ |
H A 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/contrib/sendmail/src/ |
H A D | deliver.c | 1434 logfailover(e, m, mci, rcode, rcpt) in logfailover() argument 1438 int rcode; 1483 rcode, mci->mci_okrcpts, mci->mci_retryrcpt, 1487 if (rcode != EX_OK && rcpt != NULL 1511 # define logfailover(e, m, mci, rcode, rcpt) ((void) 0) argument 1688 int rcode; /* response code */ local 1820 rcode = EX_OK; 1826 rpath = remotename(p, m, RF_SENDERADDR|RF_CANONICAL, &rcode, e); 1827 if (rcode != EX_OK && bitnset(M_xSMTP, m->m_flags)) 1914 rcode = -1; [all …]
|
H A D | domain.c | 714 int i, rcode; local 753 0, &rcode, &ttl, 0, NULL); 863 getmxrr(host, mxhosts, mxprefs, flags, rcode, pttl, port, pad) in getmxrr() argument 868 int *rcode; 904 *rcode = EX_OK; 1002 *rcode = EX_NOHOST; 1015 *rcode = EX_TEMPFAIL; 1021 *rcode = EX_OSERR; 1165 *rcode = EX_UNAVAILABLE; 1250 *rcode = EX_TEMPFAIL; [all …]
|
/freebsd/lib/libc/resolv/ |
H A D | res_query.c | 121 hp->rcode = NOERROR; /*%< default */ in res_nquery() 169 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_nquery() 173 p_rcode(hp->rcode), in res_nquery() 178 switch (hp->rcode) { in res_nquery() 255 if (hp->rcode == SERVFAIL) in res_nsearch() 337 if (hp->rcode == SERVFAIL) { in res_nsearch() 360 if (hp->rcode == SERVFAIL) in res_nsearch()
|
/freebsd/crypto/openssl/crypto/conf/ |
H A D | conf_ssl.c | 71 int rcode = in ssl_module_init() local 76 ERR_raise_data(ERR_LIB_CONF, rcode, "section=%s", ssl_conf_section); in ssl_module_init() 91 int rcode = in ssl_module_init() local 96 ERR_raise_data(ERR_LIB_CONF, rcode, in ssl_module_init()
|
/freebsd/contrib/unbound/libunbound/ |
H A 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,
|
H A D | libworker.c | 516 res->rcode = LDNS_RCODE_SERVFAIL; in libworker_enter_result() 526 res->rcode = (int)FLAGS_GET_RCODE(rep->flags); in libworker_enter_result() 529 if(res->rcode == LDNS_RCODE_NXDOMAIN) in libworker_enter_result() 540 libworker_fillup_fg(struct ctx_query* q, int rcode, sldns_buffer* buf, in libworker_fillup_fg() argument 546 if(rcode != 0) { in libworker_fillup_fg() 547 q->res->rcode = rcode; in libworker_fillup_fg() 552 q->res->rcode = LDNS_RCODE_SERVFAIL; in libworker_fillup_fg() 566 libworker_fg_done_cb(void* arg, int rcode, sldns_buffer* buf, enum sec_status s, in libworker_fg_done_cb() argument 573 libworker_fillup_fg(q, rcode, buf, s, why_bogus, was_ratelimited); in libworker_fg_done_cb() 658 libworker_event_done_cb(void* arg, int rcode, sldns_buffer* buf, in libworker_event_done_cb() argument [all …]
|
/freebsd/contrib/unbound/contrib/ |
H A 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/contrib/ldns-host/ |
H A 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/contrib/unbound/smallapp/ |
H A D | unbound-host.c | 223 if(result->rcode != 0 && result->rcode != 3) return "(error)"; in secure_str() 299 pretty_rcode(rcodestr, 16, result->rcode); in pretty_output() 301 if(!result->havedata && result->rcode) { in pretty_output() 303 q, result->rcode, rcodestr); in pretty_output()
|
H A 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/contrib/unbound/util/data/ |
H A D | msgreply.h | 657 struct module_qstate* qstate, struct reply_info* rep, int rcode, 678 struct reply_info* rep, int rcode, struct edns_data* edns, 699 struct reply_info* rep, int rcode, struct edns_data* edns, 721 struct reply_info* rep, int rcode, struct edns_data* edns,
|
H A D | msgreply.c | 977 uint16_t rcode = FLAGS_GET_RCODE(sldns_buffer_read_u16_at(rmsg, 2)); in log_reply_info() local 982 sldns_wire2str_rcode_buf((int)rcode, rcode_buf, sizeof(rcode_buf)); in log_reply_info() 1017 if(rcode == LDNS_RCODE_FORMERR) in log_reply_info() 1210 struct reply_info* rep, int rcode, struct edns_data* edns, in inplace_cb_reply_call_generic() argument 1225 rcode, edns, &opt_list_out, repinfo, region, start_time, cb->id, cb->cb_arg); in inplace_cb_reply_call_generic() 1232 struct module_qstate* qstate, struct reply_info* rep, int rcode, in inplace_cb_reply_call() argument 1238 qstate, rep, rcode, edns, repinfo, region, start_time); in inplace_cb_reply_call() 1243 struct reply_info* rep, int rcode, struct edns_data* edns, in inplace_cb_reply_cache_call() argument 1249 qinfo, qstate, rep, rcode, edns, repinfo, region, start_time); in inplace_cb_reply_cache_call() 1254 struct reply_info* rep, int rcode, struct edns_data* edns, in inplace_cb_reply_local_call() argument [all …]
|
/freebsd/contrib/unbound/services/ |
H A D | mesh.c | 1217 mesh_do_callback(struct mesh_state* m, int rcode, struct reply_info* rep, in mesh_do_callback() argument 1228 if(!rep && rcode == LDNS_RCODE_NOERROR) in mesh_do_callback() 1229 rcode = LDNS_RCODE_SERVFAIL; in mesh_do_callback() 1230 if(!rcode && rep && (rep->security == sec_status_bogus || in mesh_do_callback() 1233 rcode = LDNS_RCODE_SERVFAIL; in mesh_do_callback() 1236 if(rcode) { in mesh_do_callback() 1237 if(rcode == LDNS_RCODE_SERVFAIL) { in mesh_do_callback() 1239 rep, rcode, &r->edns, NULL, m->s.region, start_time)) in mesh_do_callback() 1242 if(!inplace_cb_reply_call(m->s.env, &m->s.qinfo, &m->s, rep, rcode, in mesh_do_callback() 1247 (*r->cb)(r->cb_arg, rcode, r->buf, sec_status_unchecked, NULL, in mesh_do_callback() [all …]
|
H A 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,
|
/freebsd/sys/dev/smartpqi/ |
H A D | smartpqi_sis.c | 509 int rcode = PQI_STATUS_SUCCESS; in pqisrc_sis_wait_for_db_bit_to_clear() local 522 rcode = PQI_STATUS_FAILURE; in pqisrc_sis_wait_for_db_bit_to_clear() 527 rcode = PQI_STATUS_TIMEOUT; in pqisrc_sis_wait_for_db_bit_to_clear() 535 return rcode; in pqisrc_sis_wait_for_db_bit_to_clear()
|
/freebsd/sys/netinet/libalias/ |
H A D | alias_nbt.c | 209 u_short dir:1, opcode:4, nmflags:7, rcode:4; member 225 PrintRcode(u_char rcode) in PrintRcode() argument 227 switch (rcode) { in PrintRcode() 241 printf("\n?%c?=%0x\n", '?', rcode); in PrintRcode() 794 nsh->rcode, in AliasHandleUdpNbtNS() 840 PrintRcode(nsh->rcode); in AliasHandleUdpNbtNS()
|
/freebsd/contrib/tcpdump/ |
H A D | print-domain.c | 53 ns_rcode(u_int rcode) { in ns_rcode() argument 56 if (rcode < sizeof(ns_resp)/sizeof(ns_resp[0])) { in ns_rcode() 57 return (ns_resp[rcode]); in ns_rcode() 59 snprintf(buf, sizeof(buf), " Resp%u", rcode & 0xfff); in ns_rcode() 906 uint16_t flags, rcode, rdlen, type; in domain_print() local 960 rcode = DNS_RCODE(flags); in domain_print() 989 rcode |= (GET_U_1(cp) << 4); in domain_print() 1007 ns_rcode(rcode), in domain_print()
|
/freebsd/contrib/unbound/validator/ |
H A D | validator.c | 74 struct val_qstate* vq, int id, int rcode, struct dns_msg* msg, 353 int rcode; in needs_validation() local 376 rcode = ret_rc; in needs_validation() 377 else rcode = (int)FLAGS_GET_RCODE(ret_msg->rep->flags); in needs_validation() 379 if(rcode != LDNS_RCODE_NOERROR && rcode != LDNS_RCODE_NXDOMAIN) { in needs_validation() 383 (void)sldns_wire2str_rcode_buf(rcode, rc, sizeof(rc)); in needs_validation() 391 rcode == LDNS_RCODE_NOERROR && ret_msg && in needs_validation() 1204 struct key_entry_key* kkey, int* rcode, in validate_nameerror_response() argument 1276 *rcode = LDNS_RCODE_NOERROR; in validate_nameerror_response() 1292 *rcode = LDNS_RCODE_NOERROR; in validate_nameerror_response() [all …]
|
H A D | val_utils.c | 69 int rcode = (int)FLAGS_GET_RCODE(rep->flags); in val_classify_response() local 74 if(rcode == LDNS_RCODE_NXDOMAIN && rep->an_numrrsets == 0) in val_classify_response() 79 rcode == LDNS_RCODE_NOERROR) { in val_classify_response() 97 rep->an_numrrsets == 1 && rcode == LDNS_RCODE_NOERROR && in val_classify_response() 104 if(rcode != LDNS_RCODE_NOERROR && rcode != LDNS_RCODE_NXDOMAIN) in val_classify_response() 111 if(rcode == LDNS_RCODE_NOERROR && rep->an_numrrsets == 0) in val_classify_response() 119 if(rcode == LDNS_RCODE_NOERROR && qinf->qtype == LDNS_RR_TYPE_ANY) in val_classify_response() 126 if(rcode == LDNS_RCODE_NOERROR && in val_classify_response() 148 if(rcode == LDNS_RCODE_NOERROR && in val_classify_response()
|
/freebsd/contrib/unbound/dynlibmod/examples/ |
H A 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/contrib/ldns/ldns/ |
H A D | wire2host.h | 69 #define LDNS_RCODE_SET(wirebuf, rcode) \ argument 70 (*(wirebuf+3) = ((*(wirebuf+3)) & ~LDNS_RCODE_MASK) | (rcode))
|
/freebsd/contrib/unbound/ipset/ |
H A D | ipset.c | 44 static int error_response(struct module_qstate* qstate, int id, int rcode) { in error_response() argument 46 sldns_lookup_by_id(sldns_rcodes, rcode)? in error_response() 47 sldns_lookup_by_id(sldns_rcodes, rcode)->name:"??"); in error_response() 48 qstate->return_rcode = rcode; in error_response()
|
/freebsd/contrib/unbound/sldns/ |
H A D | pkthdr.h | 63 #define LDNS_RCODE_SET(wirebuf, rcode) \ argument 64 (*(wirebuf+3) = ((*(wirebuf+3)) & ~LDNS_RCODE_MASK) | (rcode))
|
/freebsd/include/arpa/ |
H A D | nameser_compat.h | 76 unsigned rcode :4; /*%< response code */ member 86 unsigned rcode :4; /*%< response code */ member
|