Searched refs:qdcount (Results 1 - 21 of 21) sorted by relevance

/external/c-ares/
H A Dares_parse_mx_reply.c52 unsigned int qdcount, ancount, i; local
69 qdcount = DNS_HEADER_QDCOUNT (abuf);
71 if (qdcount != 1)
H A Dares_parse_ns_reply.c53 unsigned int qdcount, ancount; local
69 qdcount = DNS_HEADER_QDCOUNT( abuf );
71 if ( qdcount != 1 )
H A Dares_parse_srv_reply.c57 unsigned int qdcount, ancount, i; local
74 qdcount = DNS_HEADER_QDCOUNT (abuf);
76 if (qdcount != 1)
H A Dares_parse_txt_reply.c58 unsigned int qdcount, ancount, i; local
76 qdcount = DNS_HEADER_QDCOUNT (abuf);
78 if (qdcount != 1)
H A Dares_parse_ptr_reply.c50 unsigned int qdcount, ancount; local
68 qdcount = DNS_HEADER_QDCOUNT(abuf);
70 if (qdcount != 1)
H A Dares_parse_a_reply.c58 unsigned int qdcount, ancount; local
81 qdcount = DNS_HEADER_QDCOUNT(abuf);
83 if (qdcount != 1)
H A Dares_parse_aaaa_reply.c60 unsigned int qdcount, ancount; local
83 qdcount = DNS_HEADER_QDCOUNT(abuf);
85 if (qdcount != 1)
H A Dares_process.c1105 int qdcount; member in struct:__anon763
1116 /* Extract qdcount from the request and reply buffers and compare them. */
1117 q.qdcount = DNS_HEADER_QDCOUNT(qbuf);
1118 a.qdcount = DNS_HEADER_QDCOUNT(abuf);
1119 if (q.qdcount != a.qdcount)
1124 for (i = 0; i < q.qdcount; i++)
1142 for (j = 0; j < a.qdcount; j++)
1173 if (j == a.qdcount)
H A Dadig.c417 unsigned int qdcount, ancount, nscount, arcount, i; local
449 qdcount = DNS_HEADER_QDCOUNT(abuf);
468 for (i = 0; i < qdcount; i++)
/external/tcpdump/
H A Dprint-domain.c582 register int qdcount, ancount, nscount, arcount; local
589 qdcount = EXTRACT_16BITS(&np->qdcount);
605 if (qdcount != 1)
606 ND_PRINT((ndo, " [%dq]", qdcount));
609 while (qdcount--) {
610 if (qdcount < EXTRACT_16BITS(&np->qdcount) - 1)
674 if (qdcount)
675 ND_PRINT((ndo, " [%dq]", qdcount));
[all...]
H A Dnameser.h230 uint16_t qdcount; /* number of question entries */ member in struct:__anon20834
H A Dprint-smb.c1102 int qdcount, ancount, nscount, arcount; local
1112 qdcount = EXTRACT_16BITS(data + 4);
1135 name_trn_id, opcode, nm_flags, rcode, qdcount, ancount, nscount,
1142 if (qdcount > 100 || total > 100) {
1147 if (qdcount) {
1149 for (i = 0; i < qdcount; i++) {
/external/syslinux/gpxe/src/include/gpxe/
H A Ddns.h53 uint16_t qdcount; member in struct:dns_header
/external/openssh/openbsd-compat/
H A Dgetrrsetbyname.c260 if (response->header.qdcount != 1) {
403 resp->header.qdcount = ntohs(resp->header.qdcount);
409 if (resp->header.qdcount < 1) {
416 resp->header.qdcount);
417 if (resp->header.qdcount && resp->query == NULL) {
/external/ipsec-tools/src/racoon/
H A Dgetcertsbyname.c211 int qdcount, ancount, rdlength; local
253 qdcount = ntohs(hp->qdcount);
257 if (qdcount != 1) {
/external/syslinux/core/fs/pxe/
H A Ddnsresolv.c22 uint16_t qdcount; member in struct:dnshdr
/external/syslinux/core/legacynet/
H A Ddnsresolv.c20 uint16_t qdcount; member in struct:dnshdr
257 hd1->qdcount = htons(1); /* One question */
317 ques = htons(hd2->qdcount); /* Questions */
/external/dnsmasq/src/
H A Dnameser.h314 unsigned qdcount :16; /* number of question entries */ member in struct:__anon4956
H A Drfc1035.c343 for (q = ntohs(header->qdcount); q != 0; q--)
382 for (q = ntohs(header->qdcount); q != 0; q--)
460 for (i = ntohs(header->qdcount); i != 0; i--)
660 for (i = ntohs(header->qdcount); i != 0; i--)
874 if (ntohs(header->qdcount) != 1 || header->opcode != QUERY)
1173 if (ntohs(header->qdcount) == 0 || header->opcode != QUERY )
1187 for (q = ntohs(header->qdcount); q != 0; q--)
/external/libpcap/Win32/Include/arpa/
H A Dnameser.h281 unsigned qdcount :16; /* number of question entries */ member in struct:__anon11334
/external/syslinux/gpxe/src/net/udp/
H A Ddns.c170 for ( i = ntohs ( reply->qdcount ) ; i > 0 ; i-- ) {
514 dns->query.dns.qdcount = htons ( 1 );

Completed in 2410 milliseconds