Home
last modified time | relevance | path

Searched refs:ancount (Results 1 – 17 of 17) sorted by relevance

/external/tcpdump/
Dprint-domain.c581 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 …]
Dnameser.h217 uint16_t ancount; /* number of answer entries */ member
Dprint-smb.c1105 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/ipsec-tools/src/racoon/
Dgetcertsbyname.c211 int qdcount, ancount, rdlength; local
254 ancount = ntohs(hp->ancount);
277 while (ancount-- && cp < eom) {
/external/openssh/openbsd-compat/
Dgetrrsetbyname.c272 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/
Drfc1035.c348 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()
1335 header->ancount = htons(anscount); in answer_request()
Dnameser.h313 unsigned ancount : 16; /* number of answer entries */ member
Dforward.c361 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/
Ddns_matching.c28 uint16_t ancount; member
/external/curl/lib/
Ddoh.c583 unsigned short ancount; in doh_decode() local
611 ancount = get16bit(doh, 6); in doh_decode()
612 while(ancount) { in doh_decode()
655 ancount--; in doh_decode()
/external/curl/tests/python_dependencies/impacket/
Dnmb.py289 self.ancount = 0 # Unsigned 16 bit integer specifying the number of
310 self.ancount = unpack('>H', self._data[6:8])[0]
339 return self.ancount
348 …data = pack('!HHHHHH', self.name_trn_id, secondWord , self.qdcount, self.ancount, self.nscount, se…
/external/scapy/test/
Danswering_machines.uts56 assert(DNS in packet and packet[DNS].ancount == 1)
Dregression.uts5586 assert pkt.ancount == 0
5912 assert pkt.ancount == 3
/external/scapy/scapy/layers/
Ddns.py305 if self.ancount > 0 and isinstance(self.an, DNSRR):
/external/scapy/doc/notebooks/
DScapy in 15 minutes.ipynb437 …opcode=QUERY aa=0L tc=0L rd=1L ra=0L z=0L ad=0L cd=0L rcode=ok qdcount=1 ancount=0 nscount=0 arcou…
469 …opcode=QUERY aa=0L tc=0L rd=1L ra=0L z=0L ad=0L cd=0L rcode=ok qdcount=1 ancount=0 nscount=0 arcou…
573 …opcode=QUERY aa=0L tc=0L rd=1L ra=1L z=0L ad=0L cd=0L rcode=ok qdcount=1 ancount=1 nscount=0 arcou…
789 " ancount = 0\n",
998 …opcode=QUERY aa=0L tc=0L rd=0L ra=0L z=0L ad=0L cd=0L rcode=ok qdcount=0 ancount=0 nscount=0 arcou…
1036 …opcode=QUERY aa=0L tc=0L rd=1L ra=1L z=0L ad=0L cd=0L rcode=ok qdcount=1 ancount=1 nscount=0 arcou…
/external/mdnsresponder/mDNSShared/
Ddnsextd.c1936 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()
/external/scapy/doc/scapy/
Dusage.rst326 |<DNS id=0 qr=1L opcode=QUERY aa=0L tc=0L rd=1L ra=1L z=0L rcode=ok qdcount=1 ancount=1