/external/c-ares/ |
ares_parse_mx_reply.c | 52 unsigned int qdcount, ancount, i; local 70 ancount = DNS_HEADER_ANCOUNT (abuf); 73 if (ancount == 0) 90 for (i = 0; i < ancount; i++)
|
ares_parse_ns_reply.c | 53 unsigned int qdcount, ancount; local 70 ancount = DNS_HEADER_ANCOUNT( abuf ); 86 /* Allocate nameservers array; ancount gives an upper bound */ 87 nameservers = malloc( ( ancount + 1 ) * sizeof( char * ) ); 96 for ( i = 0; i < ( int ) ancount; i++ )
|
ares_parse_srv_reply.c | 57 unsigned int qdcount, ancount, i; local 75 ancount = DNS_HEADER_ANCOUNT (abuf); 78 if (ancount == 0) 95 for (i = 0; i < ancount; i++)
|
ares_parse_txt_reply.c | 58 unsigned int qdcount, ancount, i; local 77 ancount = DNS_HEADER_ANCOUNT (abuf); 80 if (ancount == 0) 97 for (i = 0; i < ancount; i++)
|
ares_parse_a_reply.c | 58 unsigned int qdcount, ancount; local 82 ancount = DNS_HEADER_ANCOUNT(abuf); 100 /* Allocate addresses and aliases; ancount gives an upper bound for 102 addrs = malloc(ancount * sizeof(struct in_addr)); 108 aliases = malloc((ancount + 1) * sizeof(char *)); 126 for (i = 0; i < (int)ancount; i++)
|
ares_parse_aaaa_reply.c | 60 unsigned int qdcount, ancount; local 84 ancount = DNS_HEADER_ANCOUNT(abuf); 100 /* Allocate addresses and aliases; ancount gives an upper bound for both. */ 103 addrs = malloc(ancount * sizeof(struct ares_in6_addr)); 109 aliases = malloc((ancount + 1) * sizeof(char *)); 126 for (i = 0; i < (int)ancount; i++)
|
ares_parse_ptr_reply.c | 50 unsigned int qdcount, ancount; local 69 ancount = DNS_HEADER_ANCOUNT(abuf); 93 for (i = 0; i < (int)ancount; i++)
|
ares_query.c | 147 unsigned int ancount; local 156 ancount = DNS_HEADER_ANCOUNT(abuf); 162 status = (ancount > 0) ? ARES_SUCCESS : ARES_ENODATA;
|
/external/tcpdump/ |
print-domain.c | 582 register int qdcount, ancount, nscount, arcount; local 590 ancount = EXTRACT_16BITS(&np->ancount); 622 ND_PRINT((ndo, " %d/%d/%d", ancount, nscount, arcount)); 623 if (ancount--) { 626 while (cp < ndo->ndo_snapend && ancount--) { 632 if (ancount > 0) 676 if (ancount != 1) 677 ND_PRINT((ndo, " [%da]", ancount)); 680 if (ancount) [all...] |
nameser.h | 231 uint16_t ancount; /* number of answer entries */ member in struct:__anon24400
|
/external/ipsec-tools/src/racoon/ |
getcertsbyname.c | 211 int qdcount, ancount, rdlength; local 254 ancount = ntohs(hp->ancount); 277 while (ancount-- && cp < eom) {
|
/system/netd/tests/ |
dns_responder.cpp | 386 uint16_t ancount; member in struct:test::DNSHeader::Header 392 unsigned* qdcount, unsigned* ancount, 398 unsigned ancount; local 401 const char* cur = readHeader(buffer, buffer_end, &qdcount, &ancount, 417 if (ancount) { 418 answers.resize(ancount); 419 for (unsigned i = 0 ; i < ancount ; ++i) { 464 header.ancount = htons(answers.size()); 493 unsigned* qdcount, unsigned* ancount, 511 *ancount = ntohs(header.ancount) [all...] |
/bionic/libc/include/arpa/ |
nameser_compat.h | 86 unsigned ancount :16; /* number of answer entries */ member in struct:__anon164
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/arpa/ |
nameser_compat.h | 80 unsigned ancount :16; /*%< number of answer entries */ member in struct:__anon38688
|
/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:__anon40559
|
/bionic/libc/dns/resolv/ |
res_query.c | 184 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { 189 ntohs(hp->ancount),
|
res_mkquery.c | 215 hp->ancount = htons(1);
|
/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--) 913 header->ancount = htons(0); /* no answers unless changed below */ 923 header->ancount = htons(1); 931 header->ancount = htons(1); 989 for (i = ntohs(header->ancount); i != 0; i--) [all...] |
nameser.h | 315 unsigned ancount :16; /* number of answer entries */ member in struct:__anon11443
|
/bionic/libc/dns/net/ |
getaddrinfo.c | 1306 int type, class, ancount, qdcount; local 2145 int ancount; local [all...] |
/development/ndk/platforms/android-21/include/arpa/ |
nameser_compat.h | 133 unsigned ancount :16; /* number of answer entries */ member in struct:__anon1464
|
/external/libpcap/Win32/Include/arpa/ |
nameser.h | 282 unsigned ancount :16; /* number of answer entries */ member in struct:__anon17572
|
/prebuilts/gcc/darwin-x86/mips/mips64el-linux-android-4.9/lib/gcc/mips64el-linux-android/4.9/include-fixed/arpa/ |
nameser_compat.h | 142 unsigned ancount :16; /* number of answer entries */ member in struct:__anon37206
|
/prebuilts/gcc/linux-x86/mips/mips64el-linux-android-4.9/lib/gcc/mips64el-linux-android/4.9/include-fixed/arpa/ |
nameser_compat.h | 142 unsigned ancount :16; /* number of answer entries */ member in struct:__anon44573
|
/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include/arpa/ |
nameser_compat.h | 133 unsigned ancount :16; /* number of answer entries */ member in struct:__anon55948
|