/external/c-ares/ |
H A D | 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++)
|
H A D | 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++ )
|
H A D | 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++)
|
H A D | 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++)
|
H A D | 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++)
|
H A D | 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++)
|
H A D | 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++)
|
H A D | ares_query.c | 147 unsigned int ancount; local 156 ancount = DNS_HEADER_ANCOUNT(abuf); 162 status = (ancount > 0) ? ARES_SUCCESS : ARES_ENODATA;
|
H A D | adig.c | 417 unsigned int qdcount, ancount, nscount, arcount, i; local 450 ancount = DNS_HEADER_ANCOUNT(abuf); 477 for (i = 0; i < ancount; i++)
|
/external/tcpdump/ |
H A D | print-domain.c | 580 register int qdcount, ancount, nscount, arcount; local 588 ancount = EXTRACT_16BITS(&np->ancount); 620 ND_PRINT((ndo, " %d/%d/%d", ancount, nscount, arcount)); 621 if (ancount--) { 624 while (cp < ndo->ndo_snapend && ancount--) { 630 if (ancount > 0) 674 if (ancount != 1) 675 ND_PRINT((ndo, " [%da]", ancount)); 678 if (ancount) [all...] |
H A D | nameser.h | 217 uint16_t ancount; /* number of answer entries */ member in struct:__anon22406
|
H A D | print-smb.c | 1105 int qdcount, ancount, nscount, arcount; local 1116 ancount = EXTRACT_16BITS(data + 6); 1138 name_trn_id, opcode, nm_flags, rcode, qdcount, ancount, nscount, 1143 total = ancount + nscount + arcount;
|
/external/syslinux/gpxe/src/include/gpxe/ |
H A D | dns.h | 54 uint16_t ancount; member in struct:dns_header
|
/external/ipsec-tools/src/racoon/ |
H A D | getcertsbyname.c | 211 int qdcount, ancount, rdlength; local 254 ancount = ntohs(hp->ancount); 277 while (ancount-- && cp < eom) {
|
/external/syslinux/core/fs/pxe/ |
H A D | dnsresolv.c | 24 uint16_t ancount; member in struct:dnshdr
|
/external/syslinux/core/legacynet/ |
H A D | dnsresolv.c | 22 uint16_t ancount; member in struct:dnshdr 258 hd1->ancount = 0; /* No answers */ 318 reps = htons(hd2->ancount); /* Replies */
|
/external/openssh/openbsd-compat/ |
H A D | getrrsetbyname.c | 272 rrset->rri_nrdatas = response->header.ancount; 402 resp->header.ancount = ntohs(resp->header.ancount); 422 resp->header.ancount); 423 if (resp->header.ancount && resp->answer == NULL) {
|
/external/dnsmasq/src/ |
H A D | 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--) 1600 header->ancount [all...] |
H A D | nameser.h | 315 unsigned ancount :16; /* number of answer entries */ member in struct:__anon5060
|
H A D | forward.c | 417 if (!header->ra && header->rcode == NOERROR && ntohs(header->ancount) == 0 && 459 header->ancount = htons(0); 521 header->ancount = htons(0);
|
/external/syslinux/gpxe/src/net/udp/ |
H A D | dns.c | 175 for ( i = ntohs ( reply->ancount ) ; i > 0 ; i-- ) {
|
/external/mdnsresponder/mDNSShared/ |
H A D | dnsextd.c | 1936 int ancount = 0; local 1938 while (rr) { ancount++; rr = rr->next; } 1939 Log("%p : Question %##s; type %d; referenced by %d LLQs; %d answers:", a, a->name.c, a->type, a->refcount, ancount);
|