Searched refs:rcode (Results 1 - 25 of 52) sorted by relevance

123

/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dresult.c182 "<rcode 11>", /*%< 11 has no macro */
183 "<rcode 12>", /*%< 12 has no macro */
184 "<rcode 13>", /*%< 13 has no macro */
185 "<rcode 14>", /*%< 14 has no macro */
187 "<rcode 15>", /*%< 15 has no macro */
232 dns_rcode_t rcode = dns_rcode_servfail; local
242 * Try to supply an appropriate rcode.
246 rcode = dns_rcode_noerror;
270 rcode = dns_rcode_formerr;
273 rcode
[all...]
H A Drcode.c37 #include <dns/rcode.h>
281 dns_rcode_totext(dns_rcode_t rcode, isc_buffer_t *target) { argument
282 return (dns_mnemonic_totext(rcode, target, rcodes));
294 dns_tsigrcode_totext(dns_rcode_t rcode, isc_buffer_t *target) { argument
295 return (dns_mnemonic_totext(rcode, target, tsigrcodes));
H A Dtkey.c1143 if (rmsg->rcode != dns_rcode_noerror)
1144 return (ISC_RESULTCLASS_DNSRCODE + rmsg->rcode);
1157 rmsg->rcode != dns_rcode_noerror) {
1269 if (rmsg->rcode != dns_rcode_noerror)
1270 return (ISC_RESULTCLASS_DNSRCODE + rmsg->rcode);
1338 if (rmsg->rcode != dns_rcode_noerror)
1339 return(ISC_RESULTCLASS_DNSRCODE + rmsg->rcode);
1352 rmsg->rcode != dns_rcode_noerror) {
1400 if (rmsg->rcode != dns_rcode_noerror)
1401 return (ISC_RESULTCLASS_DNSRCODE + rmsg->rcode);
[all...]
/freebsd-9.3-release/contrib/bind9/lib/dns/include/dns/
H A Drcode.h18 /* $Id: rcode.h,v 1.21 2008/09/25 04:02:39 tbox Exp $ */
23 /*! \file dns/rcode.h */
45 isc_result_t dns_rcode_totext(dns_rcode_t rcode, isc_buffer_t *target);
47 * Put a textual representation of error 'rcode' into 'target'.
50 *\li 'rcode' is a valid rcode.
78 isc_result_t dns_tsigrcode_totext(dns_rcode_t rcode, isc_buffer_t *target);
80 * Put a textual representation of TSIG/TKEY error 'rcode' into 'target'.
83 *\li 'rcode' is a valid TSIG/TKEY error code.
/freebsd-9.3-release/contrib/sendmail/libmilter/
H A Dsmfi.c555 ** 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-9.3-release/contrib/bind9/bin/named/
H A Dnotify.c53 dns_rcode_t rcode; local
58 rcode = dns_result_torcode(result);
67 message->rcode = rcode;
68 if (rcode == dns_rcode_noerror)
H A Dclient.c40 #include <dns/rcode.h>
1112 dns_rcode_t rcode; local
1120 rcode = dns_result_torcode(result);
1126 if (rcode == dns_rcode_formerr &&
1133 if (dns_rcode_totext(rcode, &b) != ISC_R_SUCCESS)
1153 INSIST(rcode != dns_rcode_noerror &&
1154 rcode != dns_rcode_nxdomain);
1214 message->rcode = rcode;
1225 if (rcode
[all...]
/freebsd-9.3-release/lib/libc/resolv/
H A Dres_query.c125 hp->rcode = NOERROR; /*%< default */
173 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) {
176 printf(";; rcode = (%s), counts = an:%d ns:%d ar:%d\n",
177 p_rcode(hp->rcode),
182 switch (hp->rcode) {
259 if (hp->rcode == SERVFAIL)
327 * ((HEADER *)answer)->rcode may not be set
341 if (hp->rcode == SERVFAIL) {
364 if (hp->rcode == SERVFAIL)
H A Dres_debug.c278 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);
697 * Return a string for the rcode.
700 p_rcode(int rcode) { argument
701 return (sym_ntos(__p_rcode_syms, rcode, (int *)0));
H A Dres_findzonecut.c283 u_int rcode; local
315 rcode = ns_msg_getflag(msg, ns_f_rcode);
318 if (ancount > 0 && rcode == ns_r_noerror)
/freebsd-9.3-release/contrib/sendmail/src/
H A Ddeliver.c1306 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, t
5813 auto int rcode; local
[all...]
H A Ddomain.c91 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-9.3-release/include/arpa/
H A Dnameser_compat.h74 unsigned rcode :4; /*%< response code */ member in struct:__anon4941
84 unsigned rcode :4; /*%< response code */ member in struct:__anon4941
/freebsd-9.3-release/contrib/bind9/bin/dig/
H A Dhost.c128 rcode_totext(dns_rcode_t rcode) argument
136 if (rcode >= (sizeof(rcodetext)/sizeof(rcodetext[0]))) {
137 snprintf(buf, sizeof(buf), "?%u", rcode);
140 totext.consttext = rcodetext[rcode];
446 if (msg->rcode != 0) {
453 (msg->rcode != dns_rcode_nxdomain) ? namestr :
454 query->lookup->textname, msg->rcode,
455 rcode_totext(msg->rcode));
458 (msg->rcode != dns_rcode_nxdomain) ? namestr :
459 query->lookup->textname, msg->rcode,
[all...]
H A Ddig.c116 rcode_totext(dns_rcode_t rcode) argument
124 if (rcode >= (sizeof(rcodetext)/sizeof(rcodetext[0]))) {
125 snprintf(buf, sizeof(buf), "?%u", rcode);
128 totext.consttext = rcodetext[rcode];
518 rcode_totext(msg->rcode),
553 (msg->rcode == dns_rcode_formerr ||
554 msg->rcode == dns_rcode_notimp))
557 rcode_totext(msg->rcode),
H A Dnslookup.c143 rcode_totext(dns_rcode_t rcode) argument
151 if (rcode >= (sizeof(rcodetext)/sizeof(rcodetext[0]))) {
152 snprintf(buf, sizeof(buf), "?%u", rcode);
155 totext.consttext = rcodetext[rcode];
440 if (msg->rcode != 0) {
445 nametext, rcode_totext(msg->rcode));
446 debug("returning with rcode == 0");
/freebsd-9.3-release/sys/netinet/libalias/
H A Dalias_nbt.c214 u_short dir: 1, opcode:4, nmflags:7, rcode:4; member in struct:__anon9965
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-9.3-release/contrib/bind9/lib/dns/rdata/generic/
H A Dtkey_249.c34 dns_rcode_t rcode; local
85 if (dns_tsigrcode_fromtext(&rcode, &token.value.as_textregion)
93 rcode = (dns_rcode_t)i;
95 RETERR(uint16_tobuffer(rcode, target));
/freebsd-9.3-release/crypto/openssl/crypto/conf/
H A Dconf_mod.c222 char rcode[DECIMAL_SIZE(ret) + 1]; local
224 BIO_snprintf(rcode, sizeof rcode, "%-8d", ret);
226 ", retcode=", rcode);
/freebsd-9.3-release/usr.sbin/sysinstall/
H A Doptions.c200 int (*cp)(char *) = opt.data, rcode; local
202 rcode = cp(NULL);
/freebsd-9.3-release/contrib/bind9/lib/dns/rdata/any_255/
H A Dtsig_250.c34 dns_rcode_t rcode; local
105 if (dns_tsigrcode_fromtext(&rcode, &token.value.as_textregion)
113 rcode = (dns_rcode_t)i;
115 RETERR(uint16_tobuffer(rcode, target));
/freebsd-9.3-release/lib/libc/net/
H A Dgetaddrinfo.c2570 int rcode; local
2573 rcode = NOERROR;
2598 hp->rcode = NOERROR; /* default */
2633 rcode = hp->rcode; /* record most recent error */
2642 hp->rcode = FORMERR; /* XXX not very informative */
2643 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) {
2644 rcode = hp->rcode; /* record most recent error */
2647 printf(";; rcode
[all...]
/freebsd-9.3-release/lib/libftpio/
H A Dftpio.c650 int i, rcode; local
652 rcode = FAILURE;
661 rcode = SUCCESS;
666 rcode = SUCCESS;
667 return rcode;
/freebsd-9.3-release/lib/bind/dns/
H A DMakefile31 rbt.c rbtdb.c rbtdb64.c rcode.c rdata.c rdatalist.c \
89 ${SRCDIR}/include/dns/rcode.h \
/freebsd-9.3-release/contrib/tcpdump/
H A Dprint-smb.c1093 int name_trn_id, response, opcode, nm_flags, rcode; local
1104 rcode = data[3] & 0xF;
1131 if (rcode)
1151 name_trn_id, opcode, nm_flags, rcode, qdcount, ancount, nscount,

Completed in 459 milliseconds

123