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

12

/bind-9.6-ESV-R11/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>
273 dns_rcode_totext(dns_rcode_t rcode, isc_buffer_t *target) { argument
274 return (dns_mnemonic_totext(rcode, target, rcodes));
286 dns_tsigrcode_totext(dns_rcode_t rcode, isc_buffer_t *target) { argument
287 return (dns_mnemonic_totext(rcode, target, tsigrcodes));
H A Dtkey.c1122 if (rmsg->rcode != dns_rcode_noerror)
1123 return (ISC_RESULTCLASS_DNSRCODE + rmsg->rcode);
1136 rmsg->rcode != dns_rcode_noerror) {
1247 if (rmsg->rcode != dns_rcode_noerror)
1248 return (ISC_RESULTCLASS_DNSRCODE + rmsg->rcode);
1315 if (rmsg->rcode != dns_rcode_noerror)
1316 return(ISC_RESULTCLASS_DNSRCODE + rmsg->rcode);
1329 rmsg->rcode != dns_rcode_noerror) {
1377 if (rmsg->rcode != dns_rcode_noerror)
1378 return (ISC_RESULTCLASS_DNSRCODE + rmsg->rcode);
[all...]
H A Dresolver.c51 #include <dns/rcode.h>
542 if (message->rcode == dns_rcode_nxdomain)
682 message->rcode = dns_rcode_nxdomain;
2316 fctx->rmessage->rcode == dns_rcode_servfail &&
2322 dns_rcode_totext(fctx->rmessage->rcode, &b);
3787 if (message->rcode != dns_rcode_noerror &&
3788 message->rcode != dns_rcode_nxdomain)
4169 if (fctx->rmessage->rcode == dns_rcode_nxdomain)
5438 if (message->rcode == dns_rcode_nxdomain ||
5534 * rcode i
[all...]
H A Dmessage.c380 m->rcode = 0;
1509 * the extended rcode. Note that msg->opt will only be set
1521 msg->rcode |= ercode;
1603 msg->rcode = (dns_rcode_t)(tmpflags & DNS_MESSAGE_RCODE_MASK);
2038 tmp |= (msg->rcode & DNS_MESSAGE_RCODE_MASK);
2067 if ((msg->rcode & ~DNS_MESSAGE_RCODE_MASK) != 0 && msg->opt == NULL) {
2069 * We have an extended rcode but are not using EDNS.
2105 * Set the extended rcode.
2108 msg->opt->ttl |= ((msg->rcode << 20) &
3268 if (msg->rcode < (sizeo
[all...]
/bind-9.6-ESV-R11/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.
H A Dmessage.h187 dns_rcode_t rcode; member in struct:dns_message
/bind-9.6-ESV-R11/bin/tests/system/dnssec/
H A Ddnssec_update_test.pl81 my $rcode = $reply->header->rcode;
82 assert($rcode eq $expected, "expected $expected, got $rcode");
/bind-9.6-ESV-R11/bin/tests/system/stress/
H A Dupdate.pl86 my $rcode = $reply->header->rcode;
87 assert($rcode eq $expected, "expected $expected, got $rcode");
/bind-9.6-ESV-R11/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.c39 #include <dns/rcode.h>
1086 dns_rcode_t rcode; local
1094 rcode = dns_result_torcode(result);
1100 if (rcode == dns_rcode_formerr &&
1107 if (dns_rcode_totext(rcode, &b) != ISC_R_SUCCESS)
1141 message->rcode = rcode;
1152 if (rcode == dns_rcode_formerr) {
1584 client->message->rcode = dns_rcode_noerror;
/bind-9.6-ESV-R11/bin/tests/system/resolver/ans2/
H A Dans.pl76 $packet->header->rcode(NXDOMAIN);
/bind-9.6-ESV-R11/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.c114 rcode_totext(dns_rcode_t rcode) argument
122 if (rcode >= (sizeof(rcodetext)/sizeof(rcodetext[0]))) {
123 snprintf(buf, sizeof(buf), "?%u", rcode);
126 totext.consttext = rcodetext[rcode];
495 rcode_totext(msg->rcode),
530 (msg->rcode == dns_rcode_formerr ||
531 msg->rcode == dns_rcode_notimp))
534 rcode_totext(msg->rcode),
H A Dnslookup.c135 rcode_totext(dns_rcode_t rcode) argument
143 if (rcode >= (sizeof(rcodetext)/sizeof(rcodetext[0]))) {
144 snprintf(buf, sizeof(buf), "?%u", rcode);
147 totext.consttext = rcodetext[rcode];
432 if (msg->rcode != 0) {
437 nametext, rcode_totext(msg->rcode));
438 debug("returning with rcode == 0");
/bind-9.6-ESV-R11/bin/tests/system/nsupdate/
H A Dupdate_test.pl86 my $rcode = $reply->header->rcode;
87 assert($rcode eq $expected, "expected $expected, got $rcode");
/bind-9.6-ESV-R11/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));
/bind-9.6-ESV-R11/bin/tests/system/tkey/
H A Dkeydelete.c93 if (response->rcode != dns_rcode_noerror) {
94 result = ISC_RESULTCLASS_DNSRCODE + response->rcode;
95 fprintf(stderr, "I:response rcode: %s\n",
H A Dkeycreate.c100 if (response->rcode != dns_rcode_noerror) {
101 result = ISC_RESULTCLASS_DNSRCODE + response->rcode;
102 fprintf(stderr, "I:response rcode: %s\n",
/bind-9.6-ESV-R11/bin/tests/
H A Dprintmsg.c173 opcodetext[msg->opcode], rcodetext[msg->rcode], msg->id);
/bind-9.6-ESV-R11/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));
/bind-9.6-ESV-R11/contrib/queryperf/
H A Dqueryperf.c289 " -c print the number of packets with each rcode\n"
1429 *p++ = 0; /* extended rcode */
1547 unsigned int rcode)
1590 "[query=%s/%d, rcode=%u]\n", rtt, qname, qtype, rcode);
1605 register_response(unsigned short int id, unsigned int rcode, char *qname, argument
1617 register_rtt(&qi->sent_timestamp, qname, qtype, rcode);
1632 rcode);
1635 printf("> %s %s\n", rcode_strings[rcode],
1643 rcodecounts[rcode]
1546 register_rtt(struct timeval *timestamp, char *qname, int qtype, unsigned int rcode) argument
[all...]
/bind-9.6-ESV-R11/bin/nsupdate/
H A Dnsupdate.c62 #include <dns/rcode.h>
1989 if (usegsstsig && answer->rcode == dns_rcode_noerror) {
2004 if (answer->rcode != dns_rcode_noerror) {
2012 result = dns_rcode_totext(answer->rcode, &b);
2176 if (rcvmsg->rcode != dns_rcode_noerror &&
2177 rcvmsg->rcode != dns_rcode_nxdomain)
2180 if (userzone != NULL && rcvmsg->rcode == dns_rcode_nxdomain) {
2541 if (rcvmsg->rcode == dns_rcode_formerr && !tried_other_gsstsig) {
2553 if (rcvmsg->rcode != dns_rcode_noerror &&
2554 rcvmsg->rcode !
[all...]
/bind-9.6-ESV-R11/lib/dns/win32/
H A Dlibdns.mak172 -@erase "$(INTDIR)\rcode.obj"
290 "$(INTDIR)\rcode.obj" \
460 -@erase "$(INTDIR)\rcode.obj"
461 -@erase "$(INTDIR)\rcode.sbr"
605 "$(INTDIR)\rcode.sbr" \
693 "$(INTDIR)\rcode.obj" \
1406 SOURCE=..\rcode.c
1411 "$(INTDIR)\rcode.obj" : $(SOURCE) "$(INTDIR)"
1418 "$(INTDIR)\rcode.obj" "$(INTDIR)\rcode
[all...]
/bind-9.6-ESV-R11/bin/tests/dst/
H A Dgsstest.c298 if (response->rcode != dns_rcode_noerror) {
299 result = ISC_RESULTCLASS_DNSRCODE + response->rcode;
300 fprintf(stderr, "I:response rcode: %s\n",

Completed in 6747 milliseconds

12