Searched refs:rcode (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/netbsd/resolv/ |
D | res_query.c | 141 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()
|
D | res_debug.c | 245 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()
|
D | res_mkquery.c | 149 hp->rcode = NOERROR; in res_nmkquery()
|
D | res_send.c | 1210 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/ |
D | arpa_nameser_compat.h | 113 unsigned rcode :4; /* response code */ member 123 unsigned rcode :4; /* response code */ member
|
/bionic/libc/netbsd/net/ |
D | getaddrinfo.c | 2165 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()
|