Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/sendmail/libmilter/
H A Dsmfi.c565 char *rcode;
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]))
640 const char *rcode;
657 len = strlen(rcode) + 1;
660 if ((rcode[0] != '4' && rcode[0] != '5') ||
661 !isascii(rcode[1]) || !isdigit(rcode[1]) ||
662 !isascii(rcode[2]) || !isdigit(rcode[2]))
[all …]
/freebsd-13.1/contrib/sendmail/src/
H A Ddeliver.c1434 rcode = EX_OK;
1503 rcode = -1;
1854 rcode = 0;
3269 rcode = 0;
3480 rcode = EX_OK;
3758 rcode = EX_OK;
3864 return rcode;
3891 int rcode;
3898 switch (rcode)
3928 switch (rcode)
[all …]
H A Ddomain.c417 int i, rcode; local
454 &rcode, &ttl, 0);
534 int *rcode;
568 *rcode = EX_OK;
675 *rcode = EX_NOHOST;
688 *rcode = EX_TEMPFAIL;
694 *rcode = EX_OSERR;
828 *rcode = EX_UNAVAILABLE;
913 *rcode = EX_TEMPFAIL;
935 *rcode = EX_CONFIG;
[all …]
/freebsd-13.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()
/freebsd-13.1/contrib/unbound/libunbound/
H A Dworker.h92 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 Dlibworker.c527 res->rcode = LDNS_RCODE_SERVFAIL; in libworker_enter_result()
537 res->rcode = (int)FLAGS_GET_RCODE(rep->flags); in libworker_enter_result()
540 if(res->rcode == LDNS_RCODE_NXDOMAIN) in libworker_enter_result()
557 if(rcode != 0) { in libworker_fillup_fg()
558 q->res->rcode = rcode; in libworker_fillup_fg()
563 q->res->rcode = LDNS_RCODE_SERVFAIL; in libworker_fillup_fg()
584 libworker_fillup_fg(q, rcode, buf, s, why_bogus, was_ratelimited); in libworker_fg_done_cb()
667 libworker_event_done_cb(void* arg, int rcode, sldns_buffer* buf, in libworker_event_done_cb() argument
690 (*cb)(cb_arg, rcode, (buf?(void*)sldns_buffer_begin(buf):NULL), in libworker_event_done_cb()
814 if(rcode != 0) { in libworker_bg_done_cb()
[all …]
/freebsd-13.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-13.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.c160 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-13.1/contrib/unbound/util/data/
H A Dmsgreply.h565 struct module_qstate* qstate, struct reply_info* rep, int rcode,
586 struct reply_info* rep, int rcode, struct edns_data* edns,
607 struct reply_info* rep, int rcode, struct edns_data* edns,
629 struct reply_info* rep, int rcode, struct edns_data* edns,
H A Dmsgreply.c899 uint16_t rcode = FLAGS_GET_RCODE(sldns_buffer_read_u16_at(rmsg, 2)); in log_reply_info() local
904 sldns_wire2str_rcode_buf((int)rcode, rcode_buf, sizeof(rcode_buf)); in log_reply_info()
906 if(rcode == LDNS_RCODE_FORMERR) in log_reply_info()
1055 struct reply_info* rep, int rcode, struct edns_data* edns, in inplace_cb_reply_call_generic() argument
1077 struct module_qstate* qstate, struct reply_info* rep, int rcode, in inplace_cb_reply_call() argument
1083 qstate, rep, rcode, edns, repinfo, region, start_time); in inplace_cb_reply_call()
1088 struct reply_info* rep, int rcode, struct edns_data* edns, in inplace_cb_reply_cache_call() argument
1094 qinfo, qstate, rep, rcode, edns, repinfo, region, start_time); in inplace_cb_reply_cache_call()
1099 struct reply_info* rep, int rcode, struct edns_data* edns, in inplace_cb_reply_local_call() argument
1105 qinfo, qstate, rep, rcode, edns, repinfo, region, start_time); in inplace_cb_reply_local_call()
[all …]
/freebsd-13.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-13.1/contrib/unbound/services/
H A Dmesh.c1137 rcode = LDNS_RCODE_SERVFAIL; in mesh_do_callback()
1141 rcode = LDNS_RCODE_SERVFAIL; in mesh_do_callback()
1144 if(rcode) { in mesh_do_callback()
1145 if(rcode == LDNS_RCODE_SERVFAIL) { in mesh_do_callback()
1229 ? (rcode|BIT_TC) : rcode; in mesh_send_reply()
1236 rcode = LDNS_RCODE_SERVFAIL; in mesh_send_reply()
1244 rcode = LDNS_RCODE_SERVFAIL; in mesh_send_reply()
1260 if(((rcode != LDNS_RCODE_SERVFAIL && in mesh_send_reply()
1262 (rcode == LDNS_RCODE_SERVFAIL && in mesh_send_reply()
1281 } else if(rcode) { in mesh_send_reply()
[all …]
H A Dauthzone.h692 void auth_xfer_probe_lookup_callback(void* arg, int rcode,
696 void auth_xfer_transfer_lookup_callback(void* arg, int rcode,
773 void auth_zonemd_dnskey_lookup_callback(void* arg, int rcode,
H A Dlocalzone.c1298 int rcode) in local_encode() argument
1304 rep.flags = (uint16_t)((BIT_QR | BIT_AA | BIT_RA) | rcode); in local_encode()
1331 struct regional* temp, int rcode, int r) in local_error_encode() argument
1339 rcode, edns, repinfo, temp, env->now_tv)) in local_error_encode()
1657 int rcode = (ld || lz_type == local_zone_redirect || in local_zones_zone_answer() local
1662 rcode = (lz_type == local_zone_truncate ? (rcode|BIT_TC) : rcode); in local_zones_zone_answer()
1665 z->soa_negative, 0, rcode); in local_zones_zone_answer()
1667 (rcode|BIT_AA)); in local_zones_zone_answer()
1719 int rcode = LDNS_RCODE_NOERROR; in local_zones_zone_answer() local
1722 z->soa_negative, 0, rcode); in local_zones_zone_answer()
[all …]
/freebsd-13.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-13.1/contrib/unbound/validator/
H A Dvalidator.c300 int rcode; in needs_validation() local
323 rcode = ret_rc; in needs_validation()
326 if(rcode != LDNS_RCODE_NOERROR && rcode != LDNS_RCODE_NXDOMAIN) { in needs_validation()
338 rcode == LDNS_RCODE_NOERROR && ret_msg && in needs_validation()
988 struct key_entry_key* kkey, int* rcode) in validate_nameerror_response() argument
1051 *rcode = LDNS_RCODE_NOERROR; in validate_nameerror_response()
1062 *rcode = LDNS_RCODE_NOERROR; in validate_nameerror_response()
1825 int rcode; in processValidate() local
2393 if(rcode != LDNS_RCODE_NOERROR) { in ds_response_to_ke()
2689 if(rcode == LDNS_RCODE_NOERROR) in process_dnskey_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-13.1/sys/dev/smartpqi/
H A Dsmartpqi_sis.c486 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-13.1/sys/netinet/libalias/
H A Dalias_nbt.c211 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-13.1/contrib/unbound/sldns/
H A Dpkthdr.h63 #define LDNS_RCODE_SET(wirebuf, rcode) \ argument
64 (*(wirebuf+3) = ((*(wirebuf+3)) & ~LDNS_RCODE_MASK) | (rcode))
/freebsd-13.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-13.1/contrib/unbound/dynlibmod/examples/
H A Dhelloworld.c33 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-13.1/include/arpa/
H A Dnameser_compat.h77 unsigned rcode :4; /*%< response code */ member
87 unsigned rcode :4; /*%< response code */ member
/freebsd-13.1/contrib/ldns/ldns/
H A Dwire2host.h69 #define LDNS_RCODE_SET(wirebuf, rcode) \ argument
70 (*(wirebuf+3) = ((*(wirebuf+3)) & ~LDNS_RCODE_MASK) | (rcode))

123