Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-domain.c582 register int qdcount, ancount, nscount, arcount; in ns_print() local
589 qdcount = EXTRACT_16BITS(&np->qdcount); in ns_print()
605 if (qdcount != 1) in ns_print()
606 ND_PRINT((ndo, " [%dq]", qdcount)); in ns_print()
609 while (qdcount--) { in ns_print()
610 if (qdcount < EXTRACT_16BITS(&np->qdcount) - 1) in ns_print()
674 if (qdcount) in ns_print()
675 ND_PRINT((ndo, " [%dq]", qdcount)); in ns_print()
682 if (qdcount != 1) in ns_print()
683 ND_PRINT((ndo, " [%dq]", qdcount)); in ns_print()
[all …]
Dprint-smb.c1102 int qdcount, ancount, nscount, arcount; in nbt_udp137_print() local
1112 qdcount = EXTRACT_16BITS(data + 4); in nbt_udp137_print()
1135 name_trn_id, opcode, nm_flags, rcode, qdcount, ancount, nscount, in nbt_udp137_print()
1142 if (qdcount > 100 || total > 100) { in nbt_udp137_print()
1147 if (qdcount) { in nbt_udp137_print()
1149 for (i = 0; i < qdcount; i++) { in nbt_udp137_print()
Dnameser.h230 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/ipsec-tools/src/racoon/
Dgetcertsbyname.c211 int qdcount, ancount, rdlength; local
253 qdcount = ntohs(hp->qdcount);
257 if (qdcount != 1) {
/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()
1173 if (ntohs(header->qdcount) == 0 || header->opcode != QUERY ) in answer_request()
1187 for (q = ntohs(header->qdcount); q != 0; q--) in answer_request()
Dnameser.h314 unsigned qdcount :16; /* number of question entries */ member
/external/libpcap/Win32/Include/arpa/
Dnameser.h281 unsigned qdcount :16; /* number of question entries */ member