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

/bionic/libc/netbsd/resolv/
H A Dres_query.c141 hp->rcode = NOERROR; /* default */
183 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) {
186 printf(";; rcode = (%s), counts = an:%d ns:%d ar:%d\n",
187 p_rcode(hp->rcode),
192 switch (hp->rcode) {
316 if (hp->rcode == SERVFAIL) {
H A Dres_mkquery.c149 hp->rcode = NOERROR;
H A Dres_debug.c245 u_int opcode, rcode, id; local
252 rcode = ns_msg_getflag(handle, ns_f_rcode);
262 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX) || rcode)
265 _res_opcodes[opcode], p_rcode((int)rcode), id);
662 * Return a string for the rcode.
665 p_rcode(int rcode) { argument
666 return (sym_ntos(__p_rcode_syms, rcode, (int *)0));
H A Dres_send.c1167 if (anhp->rcode == FORMERR && (statp->options & RES_USE_EDNS0) != 0U) {
1196 if (anhp->rcode == SERVFAIL ||
1197 anhp->rcode == NOTIMP ||
1198 anhp->rcode == REFUSED) {
/bionic/libc/private/
H A Darpa_nameser_compat.h113 unsigned rcode :4; /* response code */ member in struct:__anon615
123 unsigned rcode :4; /* response code */ member in struct:__anon615
/bionic/libc/netbsd/net/
H A Dgetaddrinfo.c2160 int rcode; local
2166 rcode = NOERROR;
2175 hp->rcode = NOERROR; /* default */
2213 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) {
2214 rcode = hp->rcode; /* record most recent error */
2217 printf(";; rcode = %u, ancount=%u\n", hp->rcode,
2229 switch (rcode) {
2348 if (hp->rcode
[all...]

Completed in 300 milliseconds