HomeSort by relevance Sort by last modified time
    Searched refs:ancount (Results 1 - 25 of 35) sorted by null

1 2

  /device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
res_update.c 130 int i, j, k = 0, n, ancount, nscount, arcount, rcode, rdatasize, local
213 ancount = ntohs(hp->ancount);
226 if (ancount == 0 && nscount == 0 && arcount == 0) {
239 ancount == 0 &&
274 } else if (rcode == NOERROR && ancount == 1) {
309 ancount, nscount, arcount, hp->rcode);
380 if (rcode == NOERROR && ancount > 0) {
394 for (j = 0; j < ancount; j++) {
406 nscount = ancount;
    [all...]
getnetbydns.c 125 int type, class, buflen, ancount, qdcount, haveanswer, i, nchar; local
148 ancount = ntohs(hp->ancount); /* #/records in the answer section */
166 while (--ancount >= 0 && cp < eom) {
res_mkquery.c 204 hp->ancount = htons(1);
res_query.c 162 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) {
165 printf(";; rcode = %d, ancount=%d\n", hp->rcode,
166 ntohs(hp->ancount));
getaddrinfo.c 1081 int type, class, ancount, qdcount; local
1109 ancount = ntohs(hp->ancount);
1141 while (ancount-- > 0 && cp < eom && !had_error) {
1689 int ancount; local
    [all...]
gethostbydns.c 205 int type, class, buflen, ancount, qdcount; local
231 ancount = ntohs(hp->ancount);
272 while (ancount-- > 0 && cp < eom && !had_error) {
res_debug.c 222 int qdcount, ancount, nscount, arcount; local
236 ancount = ns_msg_count(handle, ns_s_an);
272 p_section(ns_s_an, (int)opcode), ancount);
289 if (qdcount == 0 && ancount == 0 &&
  /external/tcpdump/
print-domain.c 581 register int qdcount, ancount, nscount, arcount; local
589 ancount = EXTRACT_16BITS(&np->ancount);
621 ND_PRINT((ndo, " %d/%d/%d", ancount, nscount, arcount));
622 if (ancount--) {
625 while (cp < ndo->ndo_snapend && ancount--) {
631 if (ancount > 0)
675 if (ancount != 1)
676 ND_PRINT((ndo, " [%da]", ancount));
679 if (ancount)
    [all...]
nameser.h 217 uint16_t ancount; /* number of answer entries */ member in struct:__anon38534
  /external/syslinux/core/fs/pxe/
dnsresolv.c 24 uint16_t ancount; member in struct:dnshdr
  /external/syslinux/gpxe/src/include/gpxe/
dns.h 54 uint16_t ancount; member in struct:dns_header
  /system/netd/server/dns/
DnsTlsTransport.cpp 169 0, 0, // [6-7] ANCOUNT (number of answers)
212 const int ancount = (recvbuf[6] << 8) | recvbuf[7]; local
213 ALOGV("%u answer count: %d", netid, ancount);
  /external/ipsec-tools/src/racoon/
getcertsbyname.c 211 int qdcount, ancount, rdlength; local
254 ancount = ntohs(hp->ancount);
277 while (ancount-- && cp < eom) {
  /external/syslinux/core/legacynet/
dnsresolv.c 22 uint16_t ancount; member in struct:dnshdr
258 hd1->ancount = 0; /* No answers */
318 reps = htons(hd2->ancount); /* Replies */
  /system/netd/tests/dns_responder/
dns_responder.cpp 391 uint16_t ancount; member in struct:test::DNSHeader::Header
397 unsigned* qdcount, unsigned* ancount,
403 unsigned ancount; local
406 const char* cur = readHeader(buffer, buffer_end, &qdcount, &ancount,
422 if (ancount) {
423 answers.resize(ancount);
424 for (unsigned i = 0 ; i < ancount ; ++i) {
472 header.ancount = htons(answers.size());
501 unsigned* qdcount, unsigned* ancount,
520 *ancount = ntohs(header.ancount)
    [all...]
  /bionic/libc/include/arpa/
nameser_compat.h 71 unsigned ancount :16; /* number of answer entries */ member in struct:__anon248
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/arpa/
nameser_compat.h 80 unsigned ancount :16; /*%< number of answer entries */ member in struct:__anon62079
  /bionic/libc/dns/resolv/
res_query.c 184 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) {
189 ntohs(hp->ancount),
res_debug.c 281 int qdcount, ancount, nscount, arcount; local
292 ancount = ns_msg_count(handle, ns_s_an);
328 p_section(ns_s_an, (int)opcode), ancount);
345 if (qdcount == 0 && ancount == 0 &&
    [all...]
  /external/dnsmasq/src/
rfc1035.c 426 if (!(ansp = skip_section(ansp, ntohs(header->ancount) + ntohs(header->nscount) + ntohs(header->arcount),
482 if (!(ansp = skip_section(ansp, ntohs(header->ancount) + ntohs(header->nscount), header, plen)))
592 !(p = do_doctor(p, ntohs(header->ancount), header, qlen)))
692 for (j = ntohs(header->ancount); j != 0; j--)
770 for (j = ntohs(header->ancount); j != 0; j--)
916 header->ancount = htons(0); /* no answers unless changed below */
926 header->ancount = htons(1);
934 header->ancount = htons(1);
992 for (i = ntohs(header->ancount); i != 0; i--)
    [all...]
nameser.h 315 unsigned ancount :16; /* number of answer entries */ member in struct:__anon18987
  /bionic/libc/dns/net/
getaddrinfo.c 1323 int type, class, ancount, qdcount; local
2168 int ancount; local
    [all...]
  /device/linaro/bootloader/edk2/StdLib/Include/arpa/
nameser_compat.h 131 unsigned ancount :16; /*%< number of answer entries */ member in struct:__anon12019
  /prebuilts/gcc/darwin-x86/mips/mips64el-linux-android-4.9/lib/gcc/mips64el-linux-android/4.9.x/include-fixed/arpa/
nameser_compat.h 142 unsigned ancount :16; /* number of answer entries */ member in struct:__anon60925
  /prebuilts/gcc/linux-x86/mips/mips64el-linux-android-4.9/lib/gcc/mips64el-linux-android/4.9.x/include-fixed/arpa/
nameser_compat.h 142 unsigned ancount :16; /* number of answer entries */ member in struct:__anon66368

Completed in 569 milliseconds

1 2