Home
last modified time | relevance | path

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

/bionic/libc/dns/resolv/
Dres_query.c142 hp->rcode = NOERROR; /* default */ in res_nquery()
184 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_nquery()
188 p_rcode(hp->rcode), in res_nquery()
193 switch (hp->rcode) { in res_nquery()
326 if (hp->rcode == SERVFAIL) { in res_nsearch()
Dres_debug.c282 u_int opcode, rcode, id; in res_pquery() local
289 rcode = ns_msg_getflag(handle, ns_f_rcode); in res_pquery()
299 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX) || rcode) in res_pquery()
302 _res_opcodes[opcode], p_rcode((int)rcode), id); in res_pquery()
719 p_rcode(int rcode) { in p_rcode() argument
720 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/include/arpa/
Dnameser_compat.h68 unsigned rcode :4; /* response code */ member
78 unsigned rcode :4; /* response code */ member
/bionic/libc/kernel/uapi/linux/
Dfirewire-cdev.h59 __u32 rcode; member
119 __u32 rcode; member
190 __u32 rcode; member
/bionic/libc/dns/net/
Dgetaddrinfo.c2144 int rcode; in res_queryN() local
2150 rcode = NOERROR; in res_queryN()
2159 hp->rcode = NOERROR; /* default */ in res_queryN()
2197 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_queryN()
2198 rcode = hp->rcode; /* record most recent error */ in res_queryN()
2201 printf(";; rcode = %u, ancount=%u\n", hp->rcode, in res_queryN()
2213 switch (rcode) { in res_queryN()
2338 if (hp->rcode == SERVFAIL) { in res_searchN()