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() 316 if (hp->rcode == SERVFAIL) { in res_nsearch()
|
D | res_debug.c | 244 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()
|
D | res_mkquery.c | 149 hp->rcode = NOERROR; in res_nmkquery()
|
D | res_send.c | 1025 if (anhp->rcode == FORMERR && (statp->options & RES_USE_EDNS0) != 0U) { in send_dg() 1054 if (anhp->rcode == SERVFAIL || in send_dg() 1055 anhp->rcode == NOTIMP || in send_dg() 1056 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 | 1936 int rcode; in res_queryN() local 1942 rcode = NOERROR; in res_queryN() 1951 hp->rcode = NOERROR; /* default */ in res_queryN() 1989 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_queryN() 1990 rcode = hp->rcode; /* record most recent error */ in res_queryN() 1993 printf(";; rcode = %u, ancount=%u\n", hp->rcode, in res_queryN() 2005 switch (rcode) { in res_queryN() 2124 if (hp->rcode == SERVFAIL) { in res_searchN()
|