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()
325 if (hp->rcode == SERVFAIL) { in res_nsearch()
Dres_debug.c245 u_int opcode, rcode, id; in res_pquery() local
252 rcode = ns_msg_getflag(handle, ns_f_rcode); in res_pquery()
262 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX) || rcode) in res_pquery()
265 _res_opcodes[opcode], p_rcode((int)rcode), id); in res_pquery()
665 p_rcode(int rcode) { in p_rcode() argument
666 return (sym_ntos(__p_rcode_syms, rcode, (int *)0)); in p_rcode()
Dres_mkquery.c149 hp->rcode = NOERROR; in res_nmkquery()
Dres_send.c1210 if (anhp->rcode == FORMERR && (statp->options & RES_USE_EDNS0) != 0U) { in send_dg()
1242 if (anhp->rcode == SERVFAIL || in send_dg()
1243 anhp->rcode == NOTIMP || in send_dg()
1244 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.c2165 int rcode; in res_queryN() local
2171 rcode = NOERROR; in res_queryN()
2180 hp->rcode = NOERROR; /* default */ in res_queryN()
2218 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_queryN()
2219 rcode = hp->rcode; /* record most recent error */ in res_queryN()
2222 printf(";; rcode = %u, ancount=%u\n", hp->rcode, in res_queryN()
2234 switch (rcode) { in res_queryN()
2359 if (hp->rcode == SERVFAIL) { in res_searchN()