| /trueos/contrib/sendmail/libmilter/ |
| HD | smfi.c | 564 smfi_setreply(ctx, rcode, xcode, message) in smfi_setreply() argument 566 char *rcode; 573 if (rcode == NULL || ctx == NULL) 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])) 605 (void) sm_strlcpy(buf, rcode, len); 637 smfi_setmlreply(SMFICTX *ctx, const char *rcode, const char *xcode, ...) in smfi_setmlreply() argument 639 smfi_setmlreply(ctx, rcode, xcode, va_alist) in smfi_setmlreply() [all …]
|
| /trueos/contrib/sendmail/src/ |
| HD | deliver.c | 1306 int rcode; /* response code */ local 1388 rcode = EX_OK; 1394 rpath = remotename(p, m, RF_SENDERADDR|RF_CANONICAL, &rcode, e); 1455 rcode = -1; 1601 rcode = rscheck("check_compat", e->e_from.q_paddr, to->q_paddr, 1604 if (rcode == EX_OK) 1609 rcode = checkcompat(to, e); 1613 if (rcode != EX_OK) 1615 markfailure(e, to, NULL, rcode, ovr); 1616 giveresponse(rcode, to->q_status, m, [all …]
|
| HD | domain.c | 91 int i, rcode; local 115 &rcode, false, &ttl); 186 getmxrr(host, mxhosts, mxprefs, droplocalhost, rcode, tryfallback, pttl) in getmxrr() argument 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; [all …]
|
| /trueos/lib/libc/resolv/ |
| HD | res_query.c | 125 hp->rcode = NOERROR; /*%< default */ in res_nquery() 173 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_nquery() 177 p_rcode(hp->rcode), in res_nquery() 182 switch (hp->rcode) { in res_nquery() 259 if (hp->rcode == SERVFAIL) in res_nsearch() 341 if (hp->rcode == SERVFAIL) { in res_nsearch() 364 if (hp->rcode == SERVFAIL) in res_nsearch()
|
| HD | res_debug.c | 278 u_int opcode, rcode, id; in res_pquery() local 285 rcode = ns_msg_getflag(handle, ns_f_rcode); in res_pquery() 295 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX) || rcode) in res_pquery() 298 _res_opcodes[opcode], p_rcode(rcode), id); in res_pquery() 719 p_rcode(int rcode) { in p_rcode() argument 720 return (sym_ntos(__p_rcode_syms, rcode, (int *)0)); in p_rcode()
|
| /trueos/contrib/unbound/libunbound/ |
| HD | worker.h | 87 void libworker_fg_done_cb(void* arg, int rcode, sldns_buffer* buf, 91 void libworker_bg_done_cb(void* arg, int rcode, sldns_buffer* buf, 95 void libworker_event_done_cb(void* arg, int rcode, struct sldns_buffer* buf,
|
| HD | libworker.c | 510 res->rcode = LDNS_RCODE_SERVFAIL; in libworker_enter_result() 520 res->rcode = (int)FLAGS_GET_RCODE(rep->flags); in libworker_enter_result() 523 if(res->rcode == LDNS_RCODE_NXDOMAIN) in libworker_enter_result() 533 libworker_fillup_fg(struct ctx_query* q, int rcode, sldns_buffer* buf, in libworker_fillup_fg() argument 538 if(rcode != 0) { in libworker_fillup_fg() 539 q->res->rcode = rcode; in libworker_fillup_fg() 544 q->res->rcode = LDNS_RCODE_SERVFAIL; in libworker_fillup_fg() 558 libworker_fg_done_cb(void* arg, int rcode, sldns_buffer* buf, enum sec_status s, in libworker_fg_done_cb() argument 565 libworker_fillup_fg(q, rcode, buf, s, why_bogus); in libworker_fg_done_cb() 633 libworker_event_done_cb(void* arg, int rcode, sldns_buffer* buf, in libworker_event_done_cb() argument [all …]
|
| /trueos/contrib/ldns-host/ |
| HD | ldns-host.c | 248 print_rcode(uint8_t rcode) { in print_rcode() argument 249 ldns_lookup_table *lt = ldns_lookup_by_id(ldns_rcodes, rcode); in print_rcode() 254 printf("RESERVED%d", rcode); in print_rcode() 607 ldns_pkt_rcode rcode; in query() local 632 rcode = ldns_pkt_get_rcode(*pkt); in query() 633 if (o_ignore_servfail && rcode == LDNS_RCODE_SERVFAIL && cnt > 1) in query() 635 return rcode == LDNS_RCODE_NOERROR; in query() 674 ldns_pkt_rcode rcode; in report() local 682 rcode = ldns_pkt_get_rcode(pkt); in report() 683 if (rcode != LDNS_RCODE_NOERROR) { in report() [all …]
|
| /trueos/contrib/unbound/validator/ |
| HD | validator.c | 66 struct val_qstate* vq, int id, int rcode, struct dns_msg* msg, 284 int rcode; in needs_validation() local 294 rcode = ret_rc; in needs_validation() 295 else rcode = (int)FLAGS_GET_RCODE(ret_msg->rep->flags); in needs_validation() 297 if(rcode != LDNS_RCODE_NOERROR && rcode != LDNS_RCODE_NXDOMAIN) { in needs_validation() 301 (void)sldns_wire2str_rcode_buf(rcode, rc, sizeof(rc)); in needs_validation() 309 rcode == LDNS_RCODE_NOERROR && ret_msg && in needs_validation() 770 struct key_entry_key* kkey, int* rcode) in validate_nameerror_response() argument 820 *rcode = LDNS_RCODE_NOERROR; in validate_nameerror_response() 831 *rcode = LDNS_RCODE_NOERROR; in validate_nameerror_response() [all …]
|
| HD | val_utils.c | 62 int rcode = (int)FLAGS_GET_RCODE(rep->flags); in val_classify_response() local 67 if(rcode == LDNS_RCODE_NXDOMAIN && rep->an_numrrsets == 0) in val_classify_response() 72 rcode == LDNS_RCODE_NOERROR) { in val_classify_response() 90 rep->an_numrrsets == 1 && rcode == LDNS_RCODE_NOERROR && in val_classify_response() 97 if(rcode != LDNS_RCODE_NOERROR && rcode != LDNS_RCODE_NXDOMAIN) in val_classify_response() 104 if(rcode == LDNS_RCODE_NOERROR && rep->an_numrrsets == 0) in val_classify_response() 112 if(rcode == LDNS_RCODE_NOERROR && qinf->qtype == LDNS_RR_TYPE_ANY) in val_classify_response() 118 if(rcode == LDNS_RCODE_NOERROR && in val_classify_response()
|
| HD | autotrust.h | 205 void probe_answer_cb(void* arg, int rcode, struct sldns_buffer* buf,
|
| /trueos/contrib/unbound/smallapp/ |
| HD | worker_cb.c | 169 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
|
| HD | unbound-host.c | 285 pretty_rcode(rcodestr, 16, result->rcode); in pretty_output() 287 if(!result->havedata && result->rcode) { in pretty_output() 289 q, result->rcode, rcodestr); in pretty_output()
|
| /trueos/contrib/unbound/services/ |
| HD | mesh.c | 781 mesh_do_callback(struct mesh_state* m, int rcode, struct reply_info* rep, in mesh_do_callback() argument 791 if(!rep && rcode == LDNS_RCODE_NOERROR) in mesh_do_callback() 792 rcode = LDNS_RCODE_SERVFAIL; in mesh_do_callback() 793 if(!rcode && rep->security == sec_status_bogus) { in mesh_do_callback() 795 rcode = LDNS_RCODE_SERVFAIL; in mesh_do_callback() 798 if(rcode) { in mesh_do_callback() 800 (*r->cb)(r->cb_arg, rcode, r->buf, sec_status_unchecked, NULL); in mesh_do_callback() 835 mesh_send_reply(struct mesh_state* m, int rcode, struct reply_info* rep, in mesh_send_reply() argument 845 rcode = LDNS_RCODE_SERVFAIL; in mesh_send_reply() 852 if(!rep && rcode == LDNS_RCODE_NOERROR) in mesh_send_reply() [all …]
|
| HD | localzone.c | 976 struct ub_packed_rrset_key* rrset, int ansec, int rcode) in local_encode() argument 982 rep.flags = (uint16_t)((BIT_QR | BIT_AA | BIT_RA) | rcode); in local_encode() 1077 int rcode = ld?LDNS_RCODE_NOERROR:LDNS_RCODE_NXDOMAIN; in lz_zone_answer() local 1080 z->soa, 0, rcode); in lz_zone_answer() 1081 error_encode(buf, (rcode|BIT_AA), qinfo, in lz_zone_answer() 1094 int rcode = LDNS_RCODE_NOERROR; in lz_zone_answer() local 1097 z->soa, 0, rcode); in lz_zone_answer() 1098 error_encode(buf, (rcode|BIT_AA), qinfo, in lz_zone_answer()
|
| /trueos/sys/netinet/libalias/ |
| HD | alias_nbt.c | 214 u_short dir: 1, opcode:4, nmflags:7, rcode:4; member 231 PrintRcode(u_char rcode) in PrintRcode() argument 234 switch (rcode) { in PrintRcode() 248 printf("\n?%c?=%0x\n", '?', rcode); in PrintRcode() 804 nsh->rcode, in AliasHandleUdpNbtNS() 850 PrintRcode(nsh->rcode); in AliasHandleUdpNbtNS()
|
| /trueos/contrib/unbound/ldns/ |
| HD | pkthdr.h | 63 #define LDNS_RCODE_SET(wirebuf, rcode) \ argument 64 (*(wirebuf+3) = ((*(wirebuf+3)) & ~LDNS_RCODE_MASK) | (rcode))
|
| HD | wire2str.h | 86 char* sldns_wire2str_rcode(int rcode); 322 int sldns_wire2str_rcode_print(char** str, size_t* str_len, int rcode); 442 int sldns_wire2str_rcode_buf(int rcode, char* str, size_t len);
|
| /trueos/crypto/openssl/crypto/conf/ |
| HD | conf_mod.c | 222 char rcode[DECIMAL_SIZE(ret) + 1]; in module_run() local 224 BIO_snprintf(rcode, sizeof rcode, "%-8d", ret); in module_run() 226 ", retcode=", rcode); in module_run()
|
| /trueos/contrib/ldns/ldns/ |
| HD | wire2host.h | 69 #define LDNS_RCODE_SET(wirebuf, rcode) \ argument 70 (*(wirebuf+3) = ((*(wirebuf+3)) & ~LDNS_RCODE_MASK) | (rcode))
|
| HD | host2str.h | 195 ldns_pkt_rcode2buffer_str(ldns_buffer *output, ldns_pkt_rcode rcode); 238 char *ldns_pkt_rcode2str(ldns_pkt_rcode rcode);
|
| /trueos/include/arpa/ |
| HD | nameser_compat.h | 74 unsigned rcode :4; /*%< response code */ member 84 unsigned rcode :4; /*%< response code */ member
|
| /trueos/lib/libc/net/ |
| HD | getaddrinfo.c | 2575 int rcode; in res_queryN() local 2578 rcode = NOERROR; in res_queryN() 2603 hp->rcode = NOERROR; /* default */ in res_queryN() 2638 rcode = hp->rcode; /* record most recent error */ in res_queryN() 2647 hp->rcode = FORMERR; /* XXX not very informative */ in res_queryN() 2648 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_queryN() 2649 rcode = hp->rcode; /* record most recent error */ in res_queryN() 2652 printf(";; rcode = %u, ancount=%u\n", hp->rcode, in res_queryN() 2666 switch (rcode) { in res_queryN() 2741 if (hp->rcode == SERVFAIL) in res_searchN() [all …]
|
| /trueos/contrib/unbound/libunbound/python/doc/modules/ |
| HD | unbound.rst | 37 … data, this property is true. If false, there was no data (nxdomain may be true, rcode can be set). 64 .. attribute:: rcode
|
| /trueos/crypto/heimdal/lib/krb5/ |
| HD | context.c | 777 LONG rcode; in _krb5_get_default_config_config_files_from_registry() local 780 rcode = RegOpenKeyEx(HKEY_CURRENT_USER, KeyName, 0, KEY_READ, &key); in _krb5_get_default_config_config_files_from_registry() 781 if (rcode == ERROR_SUCCESS) { in _krb5_get_default_config_config_files_from_registry() 790 rcode = RegOpenKeyEx(HKEY_LOCAL_MACHINE, KeyName, 0, KEY_READ, &key); in _krb5_get_default_config_config_files_from_registry() 791 if (rcode == ERROR_SUCCESS) { in _krb5_get_default_config_config_files_from_registry()
|