Home
last modified time | relevance | path

Searched refs:ancount (Results 1 – 18 of 18) 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/syslinux/core/legacynet/
Ddnsresolv.c22 uint16_t ancount; member
258 hd1->ancount = 0; /* No answers */ in dns_resolv()
318 reps = htons(hd2->ancount); /* Replies */ in dns_resolv()
/external/dnsmasq/src/
Drfc1035.c426 …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()
916 header->ancount = htons(0); /* no answers unless changed below */ in setup_reply()
926 header->ancount = htons(1); in setup_reply()
934 header->ancount = htons(1); in setup_reply()
992 for (i = ntohs(header->ancount); i != 0; i--) in check_for_bogus_wildcard()
1603 header->ancount = htons(anscount); in answer_request()
Dnameser.h315 unsigned ancount :16; /* number of answer entries */ member
Dforward.c417 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/syslinux/gpxe/src/include/gpxe/
Ddns.h54 uint16_t ancount; member
/external/syslinux/core/fs/pxe/
Ddnsresolv.c24 uint16_t ancount; member
/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/syslinux/gpxe/src/net/udp/
Ddns.c175 for ( i = ntohs ( reply->ancount ) ; i > 0 ; i-- ) { in dns_find_rr()
/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