Searched refs:ancount (Results 1 – 9 of 9) sorted by relevance
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
D | res_update.c | 130 int i, j, k = 0, n, ancount, nscount, arcount, rcode, rdatasize, in res_update() local 213 ancount = ntohs(hp->ancount); in res_update() 226 if (ancount == 0 && nscount == 0 && arcount == 0) { in res_update() 239 ancount == 0 && in res_update() 274 } else if (rcode == NOERROR && ancount == 1) { in res_update() 309 ancount, nscount, arcount, hp->rcode); in res_update() 380 if (rcode == NOERROR && ancount > 0) { in res_update() 394 for (j = 0; j < ancount; j++) { in res_update() 406 nscount = ancount; in res_update() 411 dname, ancount, nscount, arcount, hp->rcode); in res_update() [all …]
|
D | getnetbydns.c | 125 int type, class, buflen, ancount, qdcount, haveanswer, i, nchar; in getnetanswer() local 148 ancount = ntohs(hp->ancount); /* #/records in the answer section */ in getnetanswer() 166 while (--ancount >= 0 && cp < eom) { in getnetanswer()
|
D | getaddrinfo.c | 1081 int type, class, ancount, qdcount; in getanswer() local 1109 ancount = ntohs(hp->ancount); in getanswer() 1141 while (ancount-- > 0 && cp < eom && !had_error) { in getanswer() 1689 int ancount; in res_queryN() local 1695 ancount = 0; in res_queryN() 1741 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_queryN() 1746 ntohs(hp->ancount)); in res_queryN() 1751 ancount += ntohs(hp->ancount); in res_queryN() 1756 if (ancount == 0) { in res_queryN() 1776 return ancount; in res_queryN()
|
D | res_query.c | 162 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_query() 166 ntohs(hp->ancount)); in res_query()
|
D | res_debug.c | 222 int qdcount, ancount, nscount, arcount; in fp_nquery() local 236 ancount = ns_msg_count(handle, ns_s_an); in fp_nquery() 272 p_section(ns_s_an, (int)opcode), ancount); in fp_nquery() 289 if (qdcount == 0 && ancount == 0 && in fp_nquery()
|
D | gethostbydns.c | 205 int type, class, buflen, ancount, qdcount; in gethostanswer() local 231 ancount = ntohs(hp->ancount); in gethostanswer() 272 while (ancount-- > 0 && cp < eom && !had_error) { in gethostanswer()
|
D | res_mkquery.c | 204 hp->ancount = htons(1); in res_mkquery()
|
D | res_mkupdate.c | 355 hp->ancount = htons(counts[1]); in res_mkupdate()
|
/device/linaro/bootloader/edk2/StdLib/Include/arpa/ |
D | nameser_compat.h | 131 unsigned ancount :16; /*%< number of answer entries */ member
|