Home
last modified time | relevance | path

Searched refs:qdcount (Results 1 – 14 of 14) 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/openssh/openbsd-compat/
Dgetrrsetbyname.c258 if (response->header.qdcount != 1) { in getrrsetbyname()
401 resp->header.qdcount = ntohs(resp->header.qdcount); in parse_dns_response()
407 if (resp->header.qdcount < 1) { in parse_dns_response()
414 resp->header.qdcount); in parse_dns_response()
415 if (resp->header.qdcount && resp->query == NULL) { in parse_dns_response()
/external/ipsec-tools/src/racoon/
Dgetcertsbyname.c211 int qdcount, ancount, rdlength; local
253 qdcount = ntohs(hp->qdcount);
257 if (qdcount != 1) {
/external/bcc/examples/networking/dns_matching/
Ddns_matching.c27 uint16_t qdcount; member
/external/dnsmasq/src/
Drfc1035.c282 for (q = ntohs(header->qdcount); q != 0; q--) { in skip_questions()
314 for (q = ntohs(header->qdcount); q != 0; q--) { in questions_crc()
379 for (i = ntohs(header->qdcount); i != 0; i--) { in find_pseudoheader()
537 for (i = ntohs(header->qdcount); i != 0; i--) { in extract_addresses()
710 if (ntohs(header->qdcount) != 1 || header->opcode != QUERY) in extract_request()
980 if (ntohs(header->qdcount) == 0 || header->opcode != QUERY) return 0; in answer_request()
991 for (q = ntohs(header->qdcount); q != 0; q--) { in answer_request()
Dnameser.h312 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/curl/lib/
Ddoh.c582 unsigned short qdcount; in doh_decode() local
600 qdcount = get16bit(doh, 4); in doh_decode()
601 while(qdcount) { in doh_decode()
608 qdcount--; in doh_decode()
/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."