Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-domain.c580 register int qdcount, ancount, nscount, arcount; in ns_print() local
587 qdcount = EXTRACT_16BITS(&np->qdcount); in ns_print()
603 if (qdcount != 1) in ns_print()
604 ND_PRINT((ndo, " [%dq]", qdcount)); in ns_print()
607 while (qdcount--) { in ns_print()
608 if (qdcount < EXTRACT_16BITS(&np->qdcount) - 1) in ns_print()
672 if (qdcount) in ns_print()
673 ND_PRINT((ndo, " [%dq]", qdcount)); in ns_print()
680 if (qdcount != 1) in ns_print()
681 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/c-ares/
Dares_parse_mx_reply.c52 unsigned int qdcount, ancount, i; in ares_parse_mx_reply() local
69 qdcount = DNS_HEADER_QDCOUNT (abuf); in ares_parse_mx_reply()
71 if (qdcount != 1) in ares_parse_mx_reply()
Dares_parse_srv_reply.c57 unsigned int qdcount, ancount, i; in ares_parse_srv_reply() local
74 qdcount = DNS_HEADER_QDCOUNT (abuf); in ares_parse_srv_reply()
76 if (qdcount != 1) in ares_parse_srv_reply()
Dares_parse_txt_reply.c58 unsigned int qdcount, ancount, i; in ares_parse_txt_reply() local
76 qdcount = DNS_HEADER_QDCOUNT (abuf); in ares_parse_txt_reply()
78 if (qdcount != 1) in ares_parse_txt_reply()
Dares_parse_ns_reply.c53 unsigned int qdcount, ancount; in ares_parse_ns_reply() local
69 qdcount = DNS_HEADER_QDCOUNT( abuf ); in ares_parse_ns_reply()
71 if ( qdcount != 1 ) in ares_parse_ns_reply()
Dares_parse_ptr_reply.c50 unsigned int qdcount, ancount; in ares_parse_ptr_reply() local
68 qdcount = DNS_HEADER_QDCOUNT(abuf); in ares_parse_ptr_reply()
70 if (qdcount != 1) in ares_parse_ptr_reply()
Dares_parse_a_reply.c58 unsigned int qdcount, ancount; in ares_parse_a_reply() local
81 qdcount = DNS_HEADER_QDCOUNT(abuf); in ares_parse_a_reply()
83 if (qdcount != 1) in ares_parse_a_reply()
Dares_parse_aaaa_reply.c60 unsigned int qdcount, ancount; in ares_parse_aaaa_reply() local
83 qdcount = DNS_HEADER_QDCOUNT(abuf); in ares_parse_aaaa_reply()
85 if (qdcount != 1) in ares_parse_aaaa_reply()
Dares_process.c1105 int qdcount; in same_questions() member
1117 q.qdcount = DNS_HEADER_QDCOUNT(qbuf); in same_questions()
1118 a.qdcount = DNS_HEADER_QDCOUNT(abuf); in same_questions()
1119 if (q.qdcount != a.qdcount) in same_questions()
1124 for (i = 0; i < q.qdcount; i++) in same_questions()
1142 for (j = 0; j < a.qdcount; j++) in same_questions()
1173 if (j == a.qdcount) in same_questions()
Dadig.c417 unsigned int qdcount, ancount, nscount, arcount, i; in callback() local
449 qdcount = DNS_HEADER_QDCOUNT(abuf); in callback()
468 for (i = 0; i < qdcount; i++) in callback()
/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/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()
1176 if (ntohs(header->qdcount) == 0 || header->opcode != QUERY ) in answer_request()
1190 for (q = ntohs(header->qdcount); q != 0; q--) in answer_request()
Dnameser.h314 unsigned qdcount :16; /* number of question entries */ member
/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()