Searched refs:ancount (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/cloud_print/gcp20/prototype/
H A Ddns_packet_parser.cc18 reader.ReadU16(&header_.ancount) &&
H A Ddns_response_builder.cc32 header_.ancount = 0;
134 DCHECK_EQ(static_cast<size_t>(header_.ancount + header_.arcount),
142 writer.WriteU16(header_.ancount) &&
182 responses_.insert(responses_.begin() + header_.ancount, response);
183 ++header_.ancount;
/external/tcpdump/
H A Dprint-domain.c582 register int qdcount, ancount, nscount, arcount; local
590 ancount = EXTRACT_16BITS(&np->ancount);
622 printf(" %d/%d/%d", ancount, nscount, arcount);
623 if (ancount--) {
626 while (cp < snapend && ancount--) {
632 if (ancount > 0)
676 if (ancount != 1)
677 printf(" [%da]", ancount);
680 if (ancount)
[all...]
H A Dnameser.h232 u_int16_t ancount; /* number of answer entries */ member in struct:__anon31459
H A Dprint-smb.c1094 int qdcount, ancount, nscount, arcount; local
1106 ancount = EXTRACT_16BITS(data + 6);
1151 name_trn_id, opcode, nm_flags, rcode, qdcount, ancount, nscount,
1156 total = ancount + nscount + arcount;
/external/chromium_org/net/dns/
H A Ddns_protocol.h82 uint16 ancount; member in struct:net::dns_protocol::Header
H A Ddns_response.cc231 return base::NetToHost16(header()->ancount);
296 unsigned ancount = answer_count(); local
297 for (unsigned i = 0; i < ancount; ++i) {
H A Ddns_test_util.cc121 header->ancount = base::HostToNet16(1);
/external/ipsec-tools/src/racoon/
H A Dgetcertsbyname.c211 int qdcount, ancount, rdlength; local
254 ancount = ntohs(hp->ancount);
277 while (ancount-- && cp < eom) {
/external/dnsmasq/src/
H A Drfc1035.c424 if (!(ansp = skip_section(ansp, ntohs(header->ancount) + ntohs(header->nscount) + ntohs(header->arcount),
480 if (!(ansp = skip_section(ansp, ntohs(header->ancount) + ntohs(header->nscount), header, plen)))
590 !(p = do_doctor(p, ntohs(header->ancount), header, qlen)))
690 for (j = ntohs(header->ancount); j != 0; j--)
768 for (j = ntohs(header->ancount); j != 0; j--)
911 header->ancount = htons(0); /* no answers unless changed below */
921 header->ancount = htons(1);
929 header->ancount = htons(1);
987 for (i = ntohs(header->ancount); i != 0; i--)
1595 header->ancount
[all...]
H A Dnameser.h315 unsigned ancount :16; /* number of answer entries */ member in struct:__anon20435
H A Dforward.c417 if (!header->ra && header->rcode == NOERROR && ntohs(header->ancount) == 0 &&
459 header->ancount = htons(0);
521 header->ancount = htons(0);
/external/libpcap/Win32/Include/arpa/
H A Dnameser.h282 unsigned ancount :16; /* number of answer entries */ member in struct:__anon24572
/external/mdnsresponder/mDNSShared/
H A Ddnsextd.c1936 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);

Completed in 3448 milliseconds