Home
last modified time | relevance | path

Searched refs:ancount (Results 1 – 9 of 9) sorted by relevance

/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dres_update.c130 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 …]
Dgetnetbydns.c125 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()
Dgetaddrinfo.c1081 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()
Dres_query.c162 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_query()
166 ntohs(hp->ancount)); in res_query()
Dres_debug.c222 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()
Dgethostbydns.c205 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()
Dres_mkquery.c204 hp->ancount = htons(1); in res_mkquery()
Dres_mkupdate.c355 hp->ancount = htons(counts[1]); in res_mkupdate()
/device/linaro/bootloader/edk2/StdLib/Include/arpa/
Dnameser_compat.h131 unsigned ancount :16; /*%< number of answer entries */ member