| /src/lib/libc/net/ |
| hesiod.c | 415 int ancount, qdcount, i, j, n, skip, type, class, len; local 441 ancount = ntohs(hp->ancount); 460 list = malloc((ancount + 1) * sizeof(char *)); 467 for (i = 0; i < ancount; i++) { 516 if (i < ancount) {
|
| getnetnamadr.c | 177 int type, class, ancount, qdcount, haveanswer; local 199 ancount = ntohs(hp->ancount); /* #/records in the answer section */ 224 while (--ancount >= 0 && cp < eom) {
|
| getaddrinfo.c | 1717 int type, class, ancount, qdcount; local 1751 ancount = ntohs(hp->ancount); 1784 while (ancount-- > 0 && cp < eom && !had_error) { 1995 h_errno = ntohs(hp->ancount) > 0? NO_DATA : NO_RECOVERY; 2560 int ancount; local 2566 ancount = 0; 2634 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { 2640 ntohs(hp->ancount), 2647 ancount += ntohs(hp->ancount) [all...] |
| gethnamaddr.c | 223 int type, class, ancount, qdcount; local 257 ancount = ntohs(hp->ancount); 290 while (ancount-- > 0 && cp < eom && !had_error) {
|
| /src/include/arpa/ |
| nameser_compat.h | 93 unsigned ancount :16; /*%< number of answer entries */ member in struct:__anon112
|
| /src/lib/libresolv/ |
| res_findzonecut.c | 280 int n, i, ancount, nscount; local 316 ancount = ns_msg_count(msg, ns_s_an); 318 if (ancount > 0 && rcode == ns_r_noerror) 319 sect = ns_s_an, n = ancount;
|
| ns_verify.c | 81 n = ns_skiprr(cp, eom, ns_s_an, ntohs(hp->ancount));
|
| res_mkupdate.c | 717 hp->ancount = htons(counts[1]);
|
| /src/lib/libc/resolv/ |
| res_query.c | 206 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { 211 ntohs(hp->ancount),
|
| res_debug.c | 291 int qdcount, ancount, nscount, arcount; local 302 ancount = ns_msg_count(handle, ns_s_an); 338 p_section(ns_s_an, (int)opcode), ancount); 355 if (qdcount == 0 && ancount == 0 &&
|
| res_mkquery.c | 212 hp->ancount = htons(1);
|