Home
last modified time | relevance | path

Searched refs:rcode (Results 1 – 25 of 70) sorted by relevance

123

/freebsd-12.1/contrib/sendmail/libmilter/
H A Dsmfi.c566 char *rcode;
577 len = strlen(rcode) + 2;
580 if ((rcode[0] != '4' && rcode[0] != '5') ||
581 !isascii(rcode[1]) || !isdigit(rcode[1]) ||
582 !isascii(rcode[2]) || !isdigit(rcode[2]))
641 const char *rcode;
658 len = strlen(rcode) + 1;
661 if ((rcode[0] != '4' && rcode[0] != '5') ||
662 !isascii(rcode[1]) || !isdigit(rcode[1]) ||
663 !isascii(rcode[2]) || !isdigit(rcode[2]))
[all …]
/freebsd-12.1/contrib/sendmail/src/
H A Ddeliver.c1389 rcode = EX_OK;
1458 rcode = -1;
1807 rcode = 0;
3111 rcode = 0;
3301 rcode = EX_OK;
3579 rcode = EX_OK;
3668 return rcode;
3695 int rcode;
3702 switch (rcode)
3735 switch (rcode)
[all …]
H A Ddomain.c91 int i, rcode; local
115 &rcode, false, &ttl);
191 int *rcode;
217 *rcode = EX_OK;
278 *rcode = EX_NOHOST;
290 *rcode = EX_TEMPFAIL;
296 *rcode = EX_OSERR;
477 *rcode = EX_TEMPFAIL;
490 *rcode = EX_TEMPFAIL;
499 *rcode = EX_CONFIG;
[all …]
/freebsd-12.1/lib/libc/resolv/
H A Dres_query.c128 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()
H A Dres_debug.c279 u_int opcode, rcode, id; in res_pquery() local
286 rcode = ns_msg_getflag(handle, ns_f_rcode); in res_pquery()
296 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX) || rcode) in res_pquery()
299 _res_opcodes[opcode], p_rcode(rcode), id); in res_pquery()
717 p_rcode(int rcode) { in p_rcode() argument
718 return (sym_ntos(__p_rcode_syms, rcode, (int *)0)); in p_rcode()
/freebsd-12.1/contrib/unbound/libunbound/
H A Dworker.h91 void libworker_fg_done_cb(void* arg, int rcode, sldns_buffer* buf,
95 void libworker_bg_done_cb(void* arg, int rcode, sldns_buffer* buf,
99 void libworker_event_done_cb(void* arg, int rcode, struct sldns_buffer* buf,
H A Dlibworker.c492 res->rcode = LDNS_RCODE_SERVFAIL; in libworker_enter_result()
502 res->rcode = (int)FLAGS_GET_RCODE(rep->flags); in libworker_enter_result()
505 if(res->rcode == LDNS_RCODE_NXDOMAIN) in libworker_enter_result()
522 if(rcode != 0) { in libworker_fillup_fg()
523 q->res->rcode = rcode; in libworker_fillup_fg()
528 q->res->rcode = LDNS_RCODE_SERVFAIL; in libworker_fillup_fg()
549 libworker_fillup_fg(q, rcode, buf, s, why_bogus, was_ratelimited); in libworker_fg_done_cb()
629 libworker_event_done_cb(void* arg, int rcode, sldns_buffer* buf, in libworker_event_done_cb() argument
652 (*cb)(cb_arg, rcode, (buf?(void*)sldns_buffer_begin(buf):NULL), in libworker_event_done_cb()
776 if(rcode != 0) { in libworker_bg_done_cb()
[all …]
/freebsd-12.1/contrib/unbound/contrib/
H A Dredirect-bogus.patch65 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.1/contrib/unbound/util/data/
H A Dmsgreply.h560 struct module_qstate* qstate, struct reply_info* rep, int rcode,
578 struct reply_info* rep, int rcode, struct edns_data* edns,
596 struct reply_info* rep, int rcode, struct edns_data* edns,
615 struct reply_info* rep, int rcode, struct edns_data* edns,
H A Dmsgreply.c858 sldns_wire2str_rcode_buf((int)rcode, rcode_buf, sizeof(rcode_buf)); in log_reply_info()
860 if(rcode == LDNS_RCODE_FORMERR) in log_reply_info()
1037 struct reply_info* rep, int rcode, struct edns_data* edns, in inplace_cb_reply_call_generic() argument
1051 rcode, edns, &opt_list_out, repinfo, region, cb->id, cb->cb_arg); in inplace_cb_reply_call_generic()
1058 struct module_qstate* qstate, struct reply_info* rep, int rcode, in inplace_cb_reply_call() argument
1063 qstate, rep, rcode, edns, repinfo, region); in inplace_cb_reply_call()
1068 struct reply_info* rep, int rcode, struct edns_data* edns, in inplace_cb_reply_cache_call() argument
1073 qinfo, qstate, rep, rcode, edns, repinfo, region); in inplace_cb_reply_cache_call()
1078 struct reply_info* rep, int rcode, struct edns_data* edns, in inplace_cb_reply_local_call() argument
1083 qinfo, qstate, rep, rcode, edns, repinfo, region); in inplace_cb_reply_local_call()
[all …]
/freebsd-12.1/contrib/ldns-host/
H A Dldns-host.c382 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()
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()
828 printf(" not found: %d(", rcode); in report()
[all …]
/freebsd-12.1/contrib/unbound/smallapp/
H A Dunbound-host.c221 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()
H A Dworker_cb.c169 void libworker_fg_done_cb(void* ATTR_UNUSED(arg), int ATTR_UNUSED(rcode), in libworker_fg_done_cb() argument
176 void libworker_bg_done_cb(void* ATTR_UNUSED(arg), int ATTR_UNUSED(rcode), in libworker_bg_done_cb() argument
183 void libworker_event_done_cb(void* ATTR_UNUSED(arg), int ATTR_UNUSED(rcode), in libworker_event_done_cb() argument
/freebsd-12.1/contrib/unbound/validator/
H A Dvalidator.c299 int rcode; in needs_validation() local
322 rcode = ret_rc; in needs_validation()
325 if(rcode != LDNS_RCODE_NOERROR && rcode != LDNS_RCODE_NXDOMAIN) { in needs_validation()
989 struct key_entry_key* kkey, int* rcode) in validate_nameerror_response() argument
1052 *rcode = LDNS_RCODE_NOERROR; in validate_nameerror_response()
1063 *rcode = LDNS_RCODE_NOERROR; in validate_nameerror_response()
1828 int rcode; in processValidate() local
2666 if(rcode != LDNS_RCODE_NOERROR) { in ds_response_to_ke()
2961 if(rcode == LDNS_RCODE_NOERROR) in process_dnskey_response()
3065 if(rcode == LDNS_RCODE_NOERROR) { in process_prime_response()
[all …]
H A Dval_utils.c65 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.1/contrib/unbound/ipset/
H A Dipset.c34 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.1/sys/dev/smartpqi/
H A Dsmartpqi_sis.c454 int rcode = PQI_STATUS_SUCCESS; in pqisrc_sis_wait_for_db_bit_to_clear() local
467 rcode = PQI_STATUS_FAILURE; in pqisrc_sis_wait_for_db_bit_to_clear()
472 rcode = PQI_STATUS_TIMEOUT; in pqisrc_sis_wait_for_db_bit_to_clear()
480 return rcode; in pqisrc_sis_wait_for_db_bit_to_clear()
/freebsd-12.1/sys/netinet/libalias/
H A Dalias_nbt.c216 u_short dir: 1, opcode:4, nmflags:7, rcode:4; member
233 PrintRcode(u_char rcode) in PrintRcode() argument
236 switch (rcode) { in PrintRcode()
250 printf("\n?%c?=%0x\n", '?', rcode); in PrintRcode()
822 nsh->rcode, in AliasHandleUdpNbtNS()
868 PrintRcode(nsh->rcode); in AliasHandleUdpNbtNS()
/freebsd-12.1/contrib/unbound/services/
H A Dmesh.c1113 if(!rep && rcode == LDNS_RCODE_NOERROR) in mesh_do_callback()
1114 rcode = LDNS_RCODE_SERVFAIL; in mesh_do_callback()
1118 rcode = LDNS_RCODE_SERVFAIL; in mesh_do_callback()
1121 if(rcode) { in mesh_do_callback()
1122 if(rcode == LDNS_RCODE_SERVFAIL) { in mesh_do_callback()
1124 rep, rcode, &r->edns, NULL, m->s.region)) in mesh_do_callback()
1189 rcode = LDNS_RCODE_SERVFAIL; in mesh_send_reply()
1196 if(!rep && rcode == LDNS_RCODE_NOERROR) in mesh_send_reply()
1197 rcode = LDNS_RCODE_SERVFAIL; in mesh_send_reply()
1218 } else if(rcode) { in mesh_send_reply()
[all …]
/freebsd-12.1/crypto/openssl/crypto/conf/
H A Dconf_mod.c175 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.1/contrib/unbound/sldns/
H A Dpkthdr.h63 #define LDNS_RCODE_SET(wirebuf, rcode) \ argument
64 (*(wirebuf+3) = ((*(wirebuf+3)) & ~LDNS_RCODE_MASK) | (rcode))
H A Dwire2str.h88 char* sldns_wire2str_rcode(int rcode);
336 int sldns_wire2str_rcode_print(char** str, size_t* str_len, int rcode);
472 int sldns_wire2str_rcode_buf(int rcode, char* str, size_t len);
/freebsd-12.1/contrib/ldns/ldns/
H A Dwire2host.h69 #define LDNS_RCODE_SET(wirebuf, rcode) \ argument
70 (*(wirebuf+3) = ((*(wirebuf+3)) & ~LDNS_RCODE_MASK) | (rcode))
/freebsd-12.1/include/arpa/
H A Dnameser_compat.h77 unsigned rcode :4; /*%< response code */ member
87 unsigned rcode :4; /*%< response code */ member
/freebsd-12.1/lib/libc/net/
H A Dgetaddrinfo.c2705 int rcode; in res_queryN() local
2708 rcode = NOERROR; in res_queryN()
2733 hp->rcode = NOERROR; /* default */ in res_queryN()
2768 rcode = hp->rcode; /* record most recent error */ in res_queryN()
2777 hp->rcode = FORMERR; /* XXX not very informative */ in res_queryN()
2779 rcode = hp->rcode; /* record most recent error */ in res_queryN()
2782 printf(";; rcode = %u, ancount=%u\n", hp->rcode, in res_queryN()
2796 switch (rcode) { in res_queryN()
2871 if (hp->rcode == SERVFAIL) in res_searchN()
2934 if (hp->rcode == SERVFAIL) { in res_searchN()
[all …]

123