/freebsd-10-stable/contrib/sendmail/libmilter/ |
H A D | smfi.c | 555 ** rcode -- The three-digit (RFC 821) SMTP reply code. 564 smfi_setreply(ctx, rcode, xcode, message) 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[ 637 smfi_setmlreply(SMFICTX *ctx, const char *rcode, const char *xcode, ...) argument [all...] |
/freebsd-10-stable/contrib/unbound/libunbound/ |
H A D | worker.h | 89 void libworker_fg_done_cb(void* arg, int rcode, sldns_buffer* buf, 93 void libworker_bg_done_cb(void* arg, int rcode, sldns_buffer* buf, 97 void libworker_event_done_cb(void* arg, int rcode, struct sldns_buffer* buf,
|
H A D | libworker.c | 510 res->rcode = LDNS_RCODE_SERVFAIL; 519 /* rcode, havedata, nxdomain, secure, bogus */ 520 res->rcode = (int)FLAGS_GET_RCODE(rep->flags); 523 if(res->rcode == LDNS_RCODE_NXDOMAIN) 533 libworker_fillup_fg(struct ctx_query* q, int rcode, sldns_buffer* buf, argument 538 if(rcode != 0) { 539 q->res->rcode = rcode; 544 q->res->rcode = LDNS_RCODE_SERVFAIL; 549 return; /* the error is in the rcode */ 558 libworker_fg_done_cb(void* arg, int rcode, sldns_buffer* buf, enum sec_status s, char* why_bogus) argument 633 libworker_event_done_cb(void* arg, int rcode, sldns_buffer* buf, enum sec_status s, char* why_bogus) argument 741 libworker_bg_done_cb(void* arg, int rcode, sldns_buffer* buf, enum sec_status s, char* why_bogus) argument [all...] |
H A D | unbound.h | 153 int rcode; member in struct:ub_result 164 * If false, there was no data (nxdomain may be true, rcode can be set).
|
/freebsd-10-stable/contrib/sendmail/src/ |
H A D | deliver.c | 1307 int rcode; /* response code */ local 1389 rcode = EX_OK; 1395 rpath = remotename(p, m, RF_SENDERADDR|RF_CANONICAL, &rcode, e); 1396 if (rcode != EX_OK && bitnset(M_xSMTP, m->m_flags)) 1458 rcode = -1; 1605 rcode = rscheck("check_compat", e->e_from.q_paddr, to->q_paddr, 1608 if (rcode == EX_OK) 1613 rcode = checkcompat(to, e); 1617 if (rcode != EX_OK) 1619 markfailure(e, to, NULL, rcode, ov 5868 auto int rcode; local [all...] |
H A D | domain.c | 91 int i, rcode; local 115 &rcode, false, &ttl); 169 ** rcode -- a pointer to an EX_ status code. 186 getmxrr(host, mxhosts, mxprefs, droplocalhost, rcode, tryfallback, pttl) 191 int *rcode; 217 *rcode = EX_OK; 278 *rcode = EX_NOHOST; 290 *rcode = EX_TEMPFAIL; 296 *rcode = EX_OSERR; 477 *rcode [all...] |
/freebsd-10-stable/lib/libc/resolv/ |
H A D | res_query.c | 127 hp->rcode = NOERROR; /*%< default */ 175 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { 178 printf(";; rcode = (%s), counts = an:%d ns:%d ar:%d\n", 179 p_rcode(hp->rcode), 184 switch (hp->rcode) { 261 if (hp->rcode == SERVFAIL) 329 * ((HEADER *)answer)->rcode may not be set 343 if (hp->rcode == SERVFAIL) { 366 if (hp->rcode == SERVFAIL)
|
H A D | res_debug.c | 278 u_int opcode, rcode, id; local 285 rcode = ns_msg_getflag(handle, ns_f_rcode); 295 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX) || rcode) 298 _res_opcodes[opcode], p_rcode(rcode), id); 716 * Return a string for the rcode. 719 p_rcode(int rcode) { argument 720 return (sym_ntos(__p_rcode_syms, rcode, (int *)0));
|
/freebsd-10-stable/contrib/unbound/smallapp/ |
H A D | worker_cb.c | 169 void libworker_fg_done_cb(void* ATTR_UNUSED(arg), int ATTR_UNUSED(rcode), 176 void libworker_bg_done_cb(void* ATTR_UNUSED(arg), int ATTR_UNUSED(rcode), 183 void libworker_event_done_cb(void* ATTR_UNUSED(arg), int ATTR_UNUSED(rcode),
|
H A D | unbound-host.c | 235 /** nice string for rcode */ 287 pretty_rcode(rcodestr, 16, result->rcode); 289 if(!result->havedata && result->rcode) { 291 q, result->rcode, rcodestr);
|
/freebsd-10-stable/include/arpa/ |
H A D | nameser_compat.h | 74 unsigned rcode :4; /*%< response code */ member in struct:__anon5555 84 unsigned rcode :4; /*%< response code */ member in struct:__anon5555
|
/freebsd-10-stable/contrib/unbound/sldns/ |
H A D | pkthdr.h | 63 #define LDNS_RCODE_SET(wirebuf, rcode) \ 64 (*(wirebuf+3) = ((*(wirebuf+3)) & ~LDNS_RCODE_MASK) | (rcode))
|
H A D | wire2str.h | 82 * Convert wire packet rcode to a string, 'NOERROR', 'NXDOMAIN'... 83 * @param rcode: as integer, host order 84 * @return malloced string with the rcode or NULL on malloc failure. 86 char* sldns_wire2str_rcode(int rcode); 316 * Print host format rcode to string. Moves string along, user buffers. 319 * @param rcode: host format rcode number. 322 int sldns_wire2str_rcode_print(char** str, size_t* str_len, int rcode); 435 * Convert wire RR rcode to a string, 'NOERROR', 'NXDOMAIN'. With user buffer. 436 * @param rcode [all...] |
/freebsd-10-stable/contrib/unbound/validator/ |
H A D | autotrust.h | 205 void probe_answer_cb(void* arg, int rcode, struct sldns_buffer* buf,
|
H A D | validator.c | 66 struct val_qstate* vq, int id, int rcode, struct dns_msg* msg, 277 * @param ret_rc: rcode for this message (if noerror - examine ret_msg). 278 * @param ret_msg: return msg, can be NULL; look at rcode instead. 286 int rcode; local 309 rcode = ret_rc; 310 else rcode = (int)FLAGS_GET_RCODE(ret_msg->rep->flags); 312 if(rcode != LDNS_RCODE_NOERROR && rcode != LDNS_RCODE_NXDOMAIN) { 316 (void)sldns_wire2str_rcode_buf(rcode, rc, sizeof(rc)); 317 verbose(VERB_ALGO, "cannot validate non-answer, rcode 844 validate_nameerror_response(struct module_env* env, struct val_env* ve, struct query_info* qchase, struct reply_info* chase_reply, struct key_entry_key* kkey, int* rcode) argument 1656 int rcode; local 2438 ds_response_to_ke(struct module_qstate* qstate, struct val_qstate* vq, int id, int rcode, struct dns_msg* msg, struct query_info* qinfo, struct key_entry_key** ke) argument 2656 process_ds_response(struct module_qstate* qstate, struct val_qstate* vq, int id, int rcode, struct dns_msg* msg, struct query_info* qinfo, struct sock_list* origin) argument 2729 process_dnskey_response(struct module_qstate* qstate, struct val_qstate* vq, int id, int rcode, struct dns_msg* msg, struct query_info* qinfo, struct sock_list* origin) argument 2825 process_prime_response(struct module_qstate* qstate, struct val_qstate* vq, int id, int rcode, struct dns_msg* msg, struct sock_list* origin) argument 2899 process_dlv_response(struct module_qstate* qstate, struct val_qstate* vq, int id, int rcode, struct dns_msg* msg, struct query_info* qinfo) argument [all...] |
H A D | val_utils.c | 62 int rcode = (int)FLAGS_GET_RCODE(rep->flags); local 67 if(rcode == LDNS_RCODE_NXDOMAIN && rep->an_numrrsets == 0) 72 rcode == LDNS_RCODE_NOERROR) { 90 rep->an_numrrsets == 1 && rcode == LDNS_RCODE_NOERROR && 97 if(rcode != LDNS_RCODE_NOERROR && rcode != LDNS_RCODE_NXDOMAIN) 104 if(rcode == LDNS_RCODE_NOERROR && rep->an_numrrsets == 0) 112 if(rcode == LDNS_RCODE_NOERROR && qinf->qtype == LDNS_RR_TYPE_ANY) 118 if(rcode == LDNS_RCODE_NOERROR &&
|
/freebsd-10-stable/contrib/ldns/ldns/ |
H A D | wire2host.h | 69 #define LDNS_RCODE_SET(wirebuf, rcode) \ 70 (*(wirebuf+3) = ((*(wirebuf+3)) & ~LDNS_RCODE_MASK) | (rcode))
|
H A D | host2str.h | 188 * Converts an ldns packet rcode value to its mnemonic, and adds that 191 * \param[in] rcode to find the string representation of 195 ldns_pkt_rcode2buffer_str(ldns_buffer *output, ldns_pkt_rcode rcode); 231 * Converts a packet rcode to its mnemonic and returns that as 235 * \param[in] rcode the rcode to convert to text 238 char *ldns_pkt_rcode2str(ldns_pkt_rcode rcode);
|
/freebsd-10-stable/contrib/ldns-host/ |
H A D | ldns-host.c | 248 print_rcode(uint8_t rcode) { argument 249 ldns_lookup_table *lt = ldns_lookup_by_id(ldns_rcodes, rcode); 254 printf("RESERVED%d", rcode); 607 ldns_pkt_rcode rcode; local 632 rcode = ldns_pkt_get_rcode(*pkt); 633 if (o_ignore_servfail && rcode == LDNS_RCODE_SERVFAIL && cnt > 1) 635 return rcode == LDNS_RCODE_NOERROR; 674 ldns_pkt_rcode rcode; local 682 rcode = ldns_pkt_get_rcode(pkt); 683 if (rcode ! [all...] |
/freebsd-10-stable/contrib/unbound/services/ |
H A D | mesh.c | 780 * @param rcode: if not 0, error code. 781 * @param rep: reply to send (or NULL if rcode is set). 785 mesh_do_callback(struct mesh_state* m, int rcode, struct reply_info* rep, argument 795 if(!rep && rcode == LDNS_RCODE_NOERROR) 796 rcode = LDNS_RCODE_SERVFAIL; 797 if(!rcode && rep->security == sec_status_bogus) { 799 rcode = LDNS_RCODE_SERVFAIL; 802 if(rcode) { 804 (*r->cb)(r->cb_arg, rcode, r->buf, sec_status_unchecked, NULL); 833 * @param rcode 839 mesh_send_reply(struct mesh_state* m, int rcode, struct reply_info* rep, struct mesh_reply* r, struct mesh_reply* prev) argument [all...] |
H A D | localzone.c | 955 struct ub_packed_rrset_key* rrset, int ansec, int rcode) 961 rep.flags = (uint16_t)((BIT_QR | BIT_AA | BIT_RA) | rcode); 1056 int rcode = ld?LDNS_RCODE_NOERROR:LDNS_RCODE_NXDOMAIN; local 1059 z->soa, 0, rcode); 1060 error_encode(buf, (rcode|BIT_AA), qinfo, 1073 int rcode = LDNS_RCODE_NOERROR; local 1076 z->soa, 0, rcode); 1077 error_encode(buf, (rcode|BIT_AA), qinfo, 953 local_encode(struct query_info* qinfo, struct edns_data* edns, sldns_buffer* buf, struct regional* temp, struct ub_packed_rrset_key* rrset, int ansec, int rcode) argument
|
/freebsd-10-stable/sys/netinet/libalias/ |
H A D | alias_nbt.c | 214 u_short dir: 1, opcode:4, nmflags:7, rcode:4; member in struct:__anon10924 231 PrintRcode(u_char rcode) argument 234 switch (rcode) { 248 printf("\n?%c?=%0x\n", '?', rcode); 798 printf(" [%s] ID=%02x, op=%01x, flag=%02x, rcode=%01x, qd=%04x" 804 nsh->rcode, 850 PrintRcode(nsh->rcode);
|
/freebsd-10-stable/crypto/openssl/crypto/conf/ |
H A D | conf_mod.c | 222 char rcode[DECIMAL_SIZE(ret) + 1]; local 224 BIO_snprintf(rcode, sizeof rcode, "%-8d", ret); 226 ", retcode=", rcode);
|
/freebsd-10-stable/lib/libc/net/ |
H A D | getaddrinfo.c | 2706 int rcode; local 2709 rcode = NOERROR; 2734 hp->rcode = NOERROR; /* default */ 2769 rcode = hp->rcode; /* record most recent error */ 2778 hp->rcode = FORMERR; /* XXX not very informative */ 2779 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { 2780 rcode = hp->rcode; /* record most recent error */ 2783 printf(";; rcode [all...] |
/freebsd-10-stable/crypto/heimdal/lib/krb5/ |
H A D | context.c | 777 LONG rcode; local 780 rcode = RegOpenKeyEx(HKEY_CURRENT_USER, KeyName, 0, KEY_READ, &key); 781 if (rcode == ERROR_SUCCESS) { 790 rcode = RegOpenKeyEx(HKEY_LOCAL_MACHINE, KeyName, 0, KEY_READ, &key); 791 if (rcode == ERROR_SUCCESS) {
|