| /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 | 116 hp->rcode = NOERROR; /*%< default */ in res_nquery() 164 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_nquery() 168 p_rcode(hp->rcode), in res_nquery() 173 switch (hp->rcode) { in res_nquery() 250 if (hp->rcode == SERVFAIL) in res_nsearch() 332 if (hp->rcode == SERVFAIL) { in res_nsearch() 355 if (hp->rcode == SERVFAIL) in res_nsearch()
|
| /freebsd/crypto/openssl/crypto/conf/ |
| H A D | conf_ssl.c | 71 int rcode = cmd_lists == NULL in ssl_module_init() local 75 ERR_raise_data(ERR_LIB_CONF, rcode, "section=%s", ssl_conf_section); in ssl_module_init() 90 int rcode = cmds == NULL in ssl_module_init() local 94 ERR_raise_data(ERR_LIB_CONF, rcode, in ssl_module_init()
|
| /freebsd/contrib/unbound/libunbound/ |
| H A D | worker.h | 95 void libworker_fg_done_cb(void* arg, int rcode, sldns_buffer* buf, 99 void libworker_bg_done_cb(void* arg, int rcode, sldns_buffer* buf, 103 void libworker_event_done_cb(void* arg, int rcode, struct sldns_buffer* buf,
|
| H A D | libworker.c | 525 res->rcode = LDNS_RCODE_SERVFAIL; in libworker_enter_result() 535 res->rcode = (int)FLAGS_GET_RCODE(rep->flags); in libworker_enter_result() 538 if(res->rcode == LDNS_RCODE_NXDOMAIN) in libworker_enter_result() 549 libworker_fillup_fg(struct ctx_query* q, int rcode, sldns_buffer* buf, in libworker_fillup_fg() argument 555 if(rcode != 0) { in libworker_fillup_fg() 556 q->res->rcode = rcode; in libworker_fillup_fg() 561 q->res->rcode = LDNS_RCODE_SERVFAIL; in libworker_fillup_fg() 575 libworker_fg_done_cb(void* arg, int rcode, sldns_buffer* buf, enum sec_status s, in libworker_fg_done_cb() argument 582 libworker_fillup_fg(q, rcode, buf, s, why_bogus, was_ratelimited); in libworker_fg_done_cb() 669 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 | 167 void libworker_fg_done_cb(void* ATTR_UNUSED(arg), int ATTR_UNUSED(rcode), in libworker_fg_done_cb() argument 174 void libworker_bg_done_cb(void* ATTR_UNUSED(arg), int ATTR_UNUSED(rcode), in libworker_bg_done_cb() argument 181 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 | 671 struct module_qstate* qstate, struct reply_info* rep, int rcode, 692 struct reply_info* rep, int rcode, struct edns_data* edns, 713 struct reply_info* rep, int rcode, struct edns_data* edns, 735 struct reply_info* rep, int rcode, struct edns_data* edns,
|
| H A D | msgreply.c | 1004 uint16_t rcode = FLAGS_GET_RCODE(sldns_buffer_read_u16_at(rmsg, 2)); in log_reply_info() local 1009 sldns_wire2str_rcode_buf((int)rcode, rcode_buf, sizeof(rcode_buf)); in log_reply_info() 1044 if(rcode == LDNS_RCODE_FORMERR) in log_reply_info() 1241 struct reply_info* rep, int rcode, struct edns_data* edns, in inplace_cb_reply_call_generic() argument 1256 rcode, edns, &opt_list_out, repinfo, region, start_time, cb->id, cb->cb_arg); in inplace_cb_reply_call_generic() 1263 struct module_qstate* qstate, struct reply_info* rep, int rcode, in inplace_cb_reply_call() argument 1269 qstate, rep, rcode, edns, repinfo, region, start_time); in inplace_cb_reply_call() 1274 struct reply_info* rep, int rcode, struct edns_data* edns, in inplace_cb_reply_cache_call() argument 1280 qinfo, qstate, rep, rcode, edns, repinfo, region, start_time); in inplace_cb_reply_cache_call() 1285 struct reply_info* rep, int rcode, struct edns_data* edns, in inplace_cb_reply_local_call() argument [all …]
|
| /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() 908 uint16_t flags, rcode, rdlen, type; in domain_print() local 962 rcode = DNS_RCODE(flags); in domain_print() 991 rcode |= (GET_U_1(cp) << 4); in domain_print() 1009 ns_rcode(rcode), in domain_print()
|
| /freebsd/contrib/unbound/validator/ |
| H A D | validator.c | 77 struct val_qstate* vq, int id, int rcode, struct dns_msg* msg, 394 int rcode; in needs_validation() local 417 rcode = ret_rc; in needs_validation() 418 else rcode = (int)FLAGS_GET_RCODE(ret_msg->rep->flags); in needs_validation() 420 if(rcode != LDNS_RCODE_NOERROR && rcode != LDNS_RCODE_NXDOMAIN) { in needs_validation() 424 (void)sldns_wire2str_rcode_buf(rcode, rc, sizeof(rc)); in needs_validation() 432 rcode == LDNS_RCODE_NOERROR && ret_msg && in needs_validation() 1327 struct key_entry_key* kkey, int* rcode, in validate_nameerror_response() argument 1399 *rcode = LDNS_RCODE_NOERROR; in validate_nameerror_response() 1415 *rcode = LDNS_RCODE_NOERROR; in validate_nameerror_response() [all …]
|
| /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/services/ |
| H A D | mesh.c | 1362 mesh_do_callback(struct mesh_state* m, int rcode, struct reply_info* rep, in mesh_do_callback() argument 1373 if(!rep && rcode == LDNS_RCODE_NOERROR) in mesh_do_callback() 1374 rcode = LDNS_RCODE_SERVFAIL; in mesh_do_callback() 1375 if(!rcode && rep && (rep->security == sec_status_bogus || in mesh_do_callback() 1378 rcode = LDNS_RCODE_SERVFAIL; in mesh_do_callback() 1381 if(rcode) { in mesh_do_callback() 1382 if(rcode == LDNS_RCODE_SERVFAIL) { in mesh_do_callback() 1384 rep, rcode, &r->edns, NULL, m->s.region, start_time)) in mesh_do_callback() 1387 if(!inplace_cb_reply_call(m->s.env, &m->s.qinfo, &m->s, rep, rcode, in mesh_do_callback() 1392 (*r->cb)(r->cb_arg, rcode, r->buf, sec_status_unchecked, NULL, in mesh_do_callback() [all …]
|
| H A D | authzone.h | 719 void auth_xfer_probe_lookup_callback(void* arg, int rcode, 723 void auth_xfer_transfer_lookup_callback(void* arg, int rcode, 803 void auth_zonemd_dnskey_lookup_callback(void* arg, int rcode,
|
| /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
|
| /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/lib/libc/net/ |
| H A D | getaddrinfo.c | 2713 u_int rcode; in res_queryN() local 2725 rcode = NOERROR; in res_queryN() 2750 hp->rcode = NOERROR; /* default */ in res_queryN() 2800 rcode = RCODE_UNREACH; in res_queryN() 2803 rcode = RCODE_TIMEDOUT; in res_queryN() 2806 rcode = hp->rcode; in res_queryN() 2816 hp->rcode = FORMERR; /* XXX not very informative */ in res_queryN() 2817 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_queryN() 2818 rcode = hp->rcode; /* record most recent error */ in res_queryN() 2821 printf(";; rcode = %u, ancount=%u\n", hp->rcode, in res_queryN() [all …]
|