Home
last modified time | relevance | path

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

/bionic/libc/netbsd/resolv/
Dres_query.c141 hp->rcode = NOERROR; /* default */ in res_nquery()
183 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_nquery()
187 p_rcode(hp->rcode), in res_nquery()
192 switch (hp->rcode) { in res_nquery()
316 if (hp->rcode == SERVFAIL) { in res_nsearch()
Dres_debug.c244 u_int opcode, rcode, id; in res_pquery() local
251 rcode = ns_msg_getflag(handle, ns_f_rcode); in res_pquery()
261 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX) || rcode) in res_pquery()
264 _res_opcodes[opcode], p_rcode((int)rcode), id); in res_pquery()
664 p_rcode(int rcode) { in p_rcode() argument
665 return (sym_ntos(__p_rcode_syms, rcode, (int *)0)); in p_rcode()
Dres_mkquery.c149 hp->rcode = NOERROR; in res_nmkquery()
Dres_send.c1026 if (anhp->rcode == FORMERR && (statp->options & RES_USE_EDNS0) != 0U) { in send_dg()
1055 if (anhp->rcode == SERVFAIL || in send_dg()
1056 anhp->rcode == NOTIMP || in send_dg()
1057 anhp->rcode == REFUSED) { in send_dg()
/bionic/libc/private/
Darpa_nameser_compat.h113 unsigned rcode :4; /* response code */ member
123 unsigned rcode :4; /* response code */ member
/bionic/libc/netbsd/net/
Dgetaddrinfo.c1516 int rcode; in res_queryN() local
1522 rcode = NOERROR; in res_queryN()
1531 hp->rcode = NOERROR; /* default */ in res_queryN()
1569 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_queryN()
1570 rcode = hp->rcode; /* record most recent error */ in res_queryN()
1573 printf(";; rcode = %u, ancount=%u\n", hp->rcode, in res_queryN()
1585 switch (rcode) { in res_queryN()
1704 if (hp->rcode == SERVFAIL) { in res_searchN()