/external/tcpdump/ |
D | print-domain.c | 582 register int qdcount, ancount, nscount, arcount; in ns_print() local 590 ancount = EXTRACT_16BITS(&np->ancount); in ns_print() 622 ND_PRINT((ndo, " %d/%d/%d", ancount, nscount, arcount)); in ns_print() 623 if (ancount--) { in ns_print() 626 while (cp < ndo->ndo_snapend && ancount--) { in ns_print() 632 if (ancount > 0) in ns_print() 676 if (ancount != 1) in ns_print() 677 ND_PRINT((ndo, " [%da]", ancount)); in ns_print() 680 if (ancount) in ns_print() 681 ND_PRINT((ndo, " [%da]", ancount)); in ns_print() [all …]
|
D | nameser.h | 231 uint16_t ancount; /* number of answer entries */ member
|
D | print-smb.c | 1102 int qdcount, ancount, nscount, arcount; in nbt_udp137_print() local 1113 ancount = EXTRACT_16BITS(data + 6); in nbt_udp137_print() 1135 name_trn_id, opcode, nm_flags, rcode, qdcount, ancount, nscount, in nbt_udp137_print() 1140 total = ancount + nscount + arcount; in nbt_udp137_print()
|
/external/c-ares/ |
D | ares_parse_mx_reply.c | 52 unsigned int qdcount, ancount, i; in ares_parse_mx_reply() local 70 ancount = DNS_HEADER_ANCOUNT (abuf); in ares_parse_mx_reply() 73 if (ancount == 0) in ares_parse_mx_reply() 90 for (i = 0; i < ancount; i++) in ares_parse_mx_reply()
|
D | ares_parse_srv_reply.c | 57 unsigned int qdcount, ancount, i; in ares_parse_srv_reply() local 75 ancount = DNS_HEADER_ANCOUNT (abuf); in ares_parse_srv_reply() 78 if (ancount == 0) in ares_parse_srv_reply() 95 for (i = 0; i < ancount; i++) in ares_parse_srv_reply()
|
D | ares_parse_txt_reply.c | 58 unsigned int qdcount, ancount, i; in ares_parse_txt_reply() local 77 ancount = DNS_HEADER_ANCOUNT (abuf); in ares_parse_txt_reply() 80 if (ancount == 0) in ares_parse_txt_reply() 97 for (i = 0; i < ancount; i++) in ares_parse_txt_reply()
|
D | ares_parse_a_reply.c | 58 unsigned int qdcount, ancount; in ares_parse_a_reply() local 82 ancount = DNS_HEADER_ANCOUNT(abuf); in ares_parse_a_reply() 102 addrs = malloc(ancount * sizeof(struct in_addr)); in ares_parse_a_reply() 108 aliases = malloc((ancount + 1) * sizeof(char *)); in ares_parse_a_reply() 126 for (i = 0; i < (int)ancount; i++) in ares_parse_a_reply()
|
D | ares_parse_aaaa_reply.c | 60 unsigned int qdcount, ancount; in ares_parse_aaaa_reply() local 84 ancount = DNS_HEADER_ANCOUNT(abuf); in ares_parse_aaaa_reply() 103 addrs = malloc(ancount * sizeof(struct ares_in6_addr)); in ares_parse_aaaa_reply() 109 aliases = malloc((ancount + 1) * sizeof(char *)); in ares_parse_aaaa_reply() 126 for (i = 0; i < (int)ancount; i++) in ares_parse_aaaa_reply()
|
D | ares_parse_ns_reply.c | 53 unsigned int qdcount, ancount; in ares_parse_ns_reply() local 70 ancount = DNS_HEADER_ANCOUNT( abuf ); in ares_parse_ns_reply() 87 nameservers = malloc( ( ancount + 1 ) * sizeof( char * ) ); in ares_parse_ns_reply() 96 for ( i = 0; i < ( int ) ancount; i++ ) in ares_parse_ns_reply()
|
D | ares_query.c | 147 unsigned int ancount; in qcallback() local 156 ancount = DNS_HEADER_ANCOUNT(abuf); in qcallback() 162 status = (ancount > 0) ? ARES_SUCCESS : ARES_ENODATA; in qcallback()
|
D | ares_parse_ptr_reply.c | 50 unsigned int qdcount, ancount; in ares_parse_ptr_reply() local 69 ancount = DNS_HEADER_ANCOUNT(abuf); in ares_parse_ptr_reply() 93 for (i = 0; i < (int)ancount; i++) in ares_parse_ptr_reply()
|
D | adig.c | 417 unsigned int qdcount, ancount, nscount, arcount, i; in callback() local 450 ancount = DNS_HEADER_ANCOUNT(abuf); in callback() 477 for (i = 0; i < ancount; i++) in callback()
|
/external/ipsec-tools/src/racoon/ |
D | getcertsbyname.c | 211 int qdcount, ancount, rdlength; local 254 ancount = ntohs(hp->ancount); 277 while (ancount-- && cp < eom) {
|
/external/dnsmasq/src/ |
D | rfc1035.c | 426 …if (!(ansp = skip_section(ansp, ntohs(header->ancount) + ntohs(header->nscount) + ntohs(header->ar… in resize_packet() 482 if (!(ansp = skip_section(ansp, ntohs(header->ancount) + ntohs(header->nscount), header, plen))) in find_pseudoheader() 592 !(p = do_doctor(p, ntohs(header->ancount), header, qlen))) in find_soa() 692 for (j = ntohs(header->ancount); j != 0; j--) in extract_addresses() 770 for (j = ntohs(header->ancount); j != 0; j--) in extract_addresses() 913 header->ancount = htons(0); /* no answers unless changed below */ in setup_reply() 923 header->ancount = htons(1); in setup_reply() 931 header->ancount = htons(1); in setup_reply() 989 for (i = ntohs(header->ancount); i != 0; i--) in check_for_bogus_wildcard() 1597 header->ancount = htons(anscount); in answer_request()
|
D | nameser.h | 315 unsigned ancount :16; /* number of answer entries */ member
|
D | forward.c | 417 if (!header->ra && header->rcode == NOERROR && ntohs(header->ancount) == 0 && in process_reply() 459 header->ancount = htons(0); in process_reply() 521 header->ancount = htons(0); in reply_query()
|
/external/libpcap/Win32/Include/arpa/ |
D | nameser.h | 282 unsigned ancount :16; /* number of answer entries */ member
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/ |
D | message.py | 709 (self.message.id, self.message.flags, qcount, ancount, 717 self._get_section(self.message.answer, ancount)
|
/external/mdnsresponder/mDNSShared/ |
D | dnsextd.c | 1936 int ancount = 0; in PrintLLQAnswers() local 1938 while (rr) { ancount++; rr = rr->next; } in PrintLLQAnswers() 1939 …%##s; type %d; referenced by %d LLQs; %d answers:", a, a->name.c, a->type, a->refcount, ancount); in PrintLLQAnswers()
|