/external/tcpdump/ |
D | print-domain.c | 581 register int qdcount, ancount, nscount, arcount; in ns_print() local 589 ancount = EXTRACT_16BITS(&np->ancount); in ns_print() 621 ND_PRINT((ndo, " %d/%d/%d", ancount, nscount, arcount)); in ns_print() 622 if (ancount--) { in ns_print() 625 while (cp < ndo->ndo_snapend && ancount--) { in ns_print() 631 if (ancount > 0) in ns_print() 675 if (ancount != 1) in ns_print() 676 ND_PRINT((ndo, " [%da]", ancount)); in ns_print() 679 if (ancount) in ns_print() 680 ND_PRINT((ndo, " [%da]", ancount)); in ns_print() [all …]
|
D | nameser.h | 217 uint16_t ancount; /* number of answer entries */ member
|
D | print-smb.c | 1105 int qdcount, ancount, nscount, arcount; in nbt_udp137_print() local 1116 ancount = EXTRACT_16BITS(data + 6); in nbt_udp137_print() 1138 name_trn_id, opcode, nm_flags, rcode, qdcount, ancount, nscount, in nbt_udp137_print() 1143 total = ancount + nscount + arcount; in nbt_udp137_print()
|
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/ |
D | ares_parse_srv_reply.c | 52 unsigned int qdcount, ancount, i; in ares_parse_srv_reply() local 70 ancount = DNS_HEADER_ANCOUNT (abuf); in ares_parse_srv_reply() 73 if (ancount == 0) in ares_parse_srv_reply() 90 for (i = 0; i < ancount; i++) in ares_parse_srv_reply()
|
D | ares_parse_mx_reply.c | 47 unsigned int qdcount, ancount, i; in ares_parse_mx_reply() local 65 ancount = DNS_HEADER_ANCOUNT (abuf); in ares_parse_mx_reply() 68 if (ancount == 0) in ares_parse_mx_reply() 85 for (i = 0; i < ancount; i++) in ares_parse_mx_reply()
|
D | ares_parse_ns_reply.c | 48 unsigned int qdcount, ancount; in ares_parse_ns_reply() local 65 ancount = DNS_HEADER_ANCOUNT( abuf ); in ares_parse_ns_reply() 82 nameservers = ares_malloc( ( ancount + 1 ) * sizeof( char * ) ); in ares_parse_ns_reply() 91 for ( i = 0; i < ( int ) ancount; i++ ) in ares_parse_ns_reply()
|
D | ares_parse_naptr_reply.c | 52 unsigned int qdcount, ancount, i; in ares_parse_naptr_reply() local 70 ancount = DNS_HEADER_ANCOUNT (abuf); in ares_parse_naptr_reply() 73 if (ancount == 0) in ares_parse_naptr_reply() 90 for (i = 0; i < ancount; i++) in ares_parse_naptr_reply()
|
D | ares_parse_txt_reply.c | 52 unsigned int qdcount, ancount, i; in ares__parse_txt_reply() local 71 ancount = DNS_HEADER_ANCOUNT (abuf); in ares__parse_txt_reply() 74 if (ancount == 0) in ares__parse_txt_reply() 91 for (i = 0; i < ancount; i++) in ares__parse_txt_reply()
|
D | ares_parse_aaaa_reply.c | 55 unsigned int qdcount, ancount; in ares_parse_aaaa_reply() local 79 ancount = DNS_HEADER_ANCOUNT(abuf); in ares_parse_aaaa_reply() 98 addrs = ares_malloc(ancount * sizeof(struct ares_in6_addr)); in ares_parse_aaaa_reply() 104 aliases = ares_malloc((ancount + 1) * sizeof(char *)); in ares_parse_aaaa_reply() 121 for (i = 0; i < (int)ancount; i++) in ares_parse_aaaa_reply()
|
D | ares_parse_a_reply.c | 53 unsigned int qdcount, ancount; in ares_parse_a_reply() local 77 ancount = DNS_HEADER_ANCOUNT(abuf); in ares_parse_a_reply() 97 addrs = ares_malloc(ancount * sizeof(struct in_addr)); in ares_parse_a_reply() 103 aliases = ares_malloc((ancount + 1) * sizeof(char *)); in ares_parse_a_reply() 121 for (i = 0; i < (int)ancount; i++) in ares_parse_a_reply()
|
D | ares_parse_soa_reply.c | 51 int qdcount, ancount; in ares_parse_soa_reply() local 59 ancount = DNS_HEADER_ANCOUNT(abuf); in ares_parse_soa_reply() 60 if (qdcount != 1 || ancount != 1) in ares_parse_soa_reply()
|
D | ares_query.c | 150 unsigned int ancount; in qcallback() local 159 ancount = DNS_HEADER_ANCOUNT(abuf); in qcallback() 165 status = (ancount > 0) ? ARES_SUCCESS : ARES_ENODATA; in qcallback()
|
D | ares_parse_ptr_reply.c | 46 unsigned int qdcount, ancount; in ares_parse_ptr_reply() local 66 ancount = DNS_HEADER_ANCOUNT(abuf); in ares_parse_ptr_reply() 90 for (i = 0; i < (int)ancount; i++) in ares_parse_ptr_reply()
|
D | adig.c | 401 unsigned int qdcount, ancount, nscount, arcount, i; in callback() local 434 ancount = DNS_HEADER_ANCOUNT(abuf); in callback() 461 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/webrtc/p2p/base/ |
D | mdns_message.cc | 114 !buf->ReadUInt16(&qdcount) || !buf->ReadUInt16(&ancount) || in Read() 126 buf->WriteUInt16(ancount); in Write() 345 !read_rr(&answer_section_, header_.ancount) || in Read() 393 header_.ancount = answer_section_.size(); in AddAnswerRecord()
|
D | mdns_message.h | 67 uint16_t ancount = 0; variable
|
/external/openssh/openbsd-compat/ |
D | getrrsetbyname.c | 272 rrset->rri_nrdatas = response->header.ancount; in getrrsetbyname() 402 resp->header.ancount = ntohs(resp->header.ancount); in parse_dns_response() 422 resp->header.ancount); in parse_dns_response() 423 if (resp->header.ancount && resp->answer == NULL) { in parse_dns_response()
|
/external/dnsmasq/src/ |
D | rfc1035.c | 348 ansp, ntohs(header->ancount) + ntohs(header->nscount) + ntohs(header->arcount), in resize_packet() 394 if (!(ansp = skip_section(ansp, ntohs(header->ancount) + ntohs(header->nscount), header, plen))) in find_pseudoheader() 481 !(p = do_doctor(p, ntohs(header->ancount), header, qlen))) in find_soa() 562 for (j = ntohs(header->ancount); j != 0; j--) { in extract_addresses() 625 for (j = ntohs(header->ancount); j != 0; j--) { in extract_addresses() 742 header->ancount = htons(0); /* no answers unless changed below */ in setup_reply() 751 header->ancount = htons(1); in setup_reply() 759 header->ancount = htons(1); in setup_reply() 811 for (i = ntohs(header->ancount); i != 0; i--) { in check_for_bogus_wildcard() 1357 header->ancount = htons(anscount); in answer_request()
|
D | nameser.h | 313 unsigned ancount : 16; /* number of answer entries */ member
|
D | forward.c | 361 if (!header->ra && header->rcode == NOERROR && ntohs(header->ancount) == 0 && server && in process_reply() 394 header->ancount = htons(0); in process_reply() 451 header->ancount = htons(0); in reply_query()
|
/external/bcc/examples/networking/dns_matching/ |
D | dns_matching.c | 28 uint16_t ancount; member
|
/external/curl/lib/ |
D | doh.c | 615 unsigned short ancount; in doh_decode() local 642 ancount = get16bit(doh, 6); in doh_decode() 643 while(ancount) { in doh_decode() 689 ancount--; in doh_decode()
|
/external/scapy/test/ |
D | answering_machines.uts | 56 assert(DNS in packet and packet[DNS].ancount == 1)
|
/external/scapy/scapy/layers/ |
D | dns.py | 305 if self.ancount > 0 and isinstance(self.an, DNSRR):
|