Home
last modified time | relevance | path

Searched refs:qdcount (Results 1 – 15 of 15) sorted by relevance

/external/tcpdump/
Dprint-domain.c581 register int qdcount, ancount, nscount, arcount; in ns_print() local
588 qdcount = EXTRACT_16BITS(&np->qdcount); in ns_print()
604 if (qdcount != 1) in ns_print()
605 ND_PRINT((ndo, " [%dq]", qdcount)); in ns_print()
608 while (qdcount--) { in ns_print()
609 if (qdcount < EXTRACT_16BITS(&np->qdcount) - 1) in ns_print()
673 if (qdcount) in ns_print()
674 ND_PRINT((ndo, " [%dq]", qdcount)); in ns_print()
681 if (qdcount != 1) in ns_print()
682 ND_PRINT((ndo, " [%dq]", qdcount)); in ns_print()
[all …]
Dprint-smb.c1105 int qdcount, ancount, nscount, arcount; in nbt_udp137_print() local
1115 qdcount = EXTRACT_16BITS(data + 4); in nbt_udp137_print()
1138 name_trn_id, opcode, nm_flags, rcode, qdcount, ancount, nscount, in nbt_udp137_print()
1145 if (qdcount > 100 || total > 100) { in nbt_udp137_print()
1150 if (qdcount) { in nbt_udp137_print()
1152 for (i = 0; i < qdcount; i++) { in nbt_udp137_print()
Dnameser.h216 uint16_t qdcount; /* number of question entries */ member
/external/ipsec-tools/src/racoon/
Dgetcertsbyname.c211 int qdcount, ancount, rdlength; local
253 qdcount = ntohs(hp->qdcount);
257 if (qdcount != 1) {
/external/syslinux/core/legacynet/
Ddnsresolv.c20 uint16_t qdcount; member
257 hd1->qdcount = htons(1); /* One question */ in dns_resolv()
317 ques = htons(hd2->qdcount); /* Questions */ in dns_resolv()
/external/syslinux/gpxe/src/include/gpxe/
Ddns.h53 uint16_t qdcount; member
/external/syslinux/core/fs/pxe/
Ddnsresolv.c22 uint16_t qdcount; member
/external/dnsmasq/src/
Drfc1035.c343 for (q = ntohs(header->qdcount); q != 0; q--) in skip_questions()
382 for (q = ntohs(header->qdcount); q != 0; q--) in questions_crc()
460 for (i = ntohs(header->qdcount); i != 0; i--) in find_pseudoheader()
660 for (i = ntohs(header->qdcount); i != 0; i--) in extract_addresses()
874 if (ntohs(header->qdcount) != 1 || header->opcode != QUERY) in extract_request()
1179 if (ntohs(header->qdcount) == 0 || header->opcode != QUERY ) in answer_request()
1193 for (q = ntohs(header->qdcount); q != 0; q--) in answer_request()
Dnameser.h314 unsigned qdcount :16; /* number of question entries */ member
/external/curl/tests/python_dependencies/impacket/
Dnmb.py288 …self.qdcount = 0 # Unsigned 16 bit integer specifying the number of entries in the question…
309 self.qdcount = unpack('>H', self._data[4:6])[0]
326 self.qdcount += 1
337 return self.qdcount
348 …data = pack('!HHHHHH', self.name_trn_id, secondWord , self.qdcount, self.ancount, self.nscount, se…
/external/syslinux/gpxe/src/net/udp/
Ddns.c170 for ( i = ntohs ( reply->qdcount ) ; i > 0 ; i-- ) { in dns_find_rr()
514 dns->query.dns.qdcount = htons ( 1 ); in dns_resolv()
/external/scapy/scapy/layers/
Ddns.py309 if self.qdcount > 0 and isinstance(self.qd, DNSQR):
/external/scapy/doc/notebooks/
DScapy in 15 minutes.ipynb437 …d=0 qr=0L opcode=QUERY aa=0L tc=0L rd=1L ra=0L z=0L ad=0L cd=0L rcode=ok qdcount=1 ancount=0 nscou…
469 …d=0 qr=0L opcode=QUERY aa=0L tc=0L rd=1L ra=0L z=0L ad=0L cd=0L rcode=ok qdcount=1 ancount=0 nscou…
573 …"<DNS id=0 qr=1L opcode=QUERY aa=0L tc=0L rd=1L ra=1L z=0L ad=0L cd=0L rcode=ok qdcount=1 ancount…
788 " qdcount = 1\n",
998 …d=0 qr=0L opcode=QUERY aa=0L tc=0L rd=0L ra=0L z=0L ad=0L cd=0L rcode=ok qdcount=0 ancount=0 nscou…
1036 …d=0 qr=1L opcode=QUERY aa=0L tc=0L rd=1L ra=1L z=0L ad=0L cd=0L rcode=ok qdcount=1 ancount=1 nscou…
/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
/external/scapy/test/
Dregression.uts5583 assert pkt.qdcount == 0
5900 assert pkt[DNS].qdcount == 1 and pkt[DNS].qd.qname == b"secdev.org."
5906 assert pkt[DNS].qdcount == 1 and pkt[DNS].qd.qname == b"secdev.org."