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

12

/freebsd-11-stable/contrib/tcpdump/
H A Dprint-domain.c581 register int qdcount, ancount, nscount, arcount; local
595 qdcount = EXTRACT_16BITS(&np->qdcount);
611 if (qdcount != 1)
612 ND_PRINT((ndo, " [%dq]", qdcount));
615 while (qdcount--) {
616 if (qdcount < EXTRACT_16BITS(&np->qdcount) - 1)
680 if (qdcount)
681 ND_PRINT((ndo, " [%dq]", qdcount));
[all...]
H A Dnameser.h216 uint16_t qdcount; /* number of question entries */ member in struct:__anon4036
H A Dprint-smb.c1112 int qdcount, ancount, nscount, arcount; local
1122 qdcount = EXTRACT_16BITS(data + 4);
1145 name_trn_id, opcode, nm_flags, rcode, qdcount, ancount, nscount,
1152 if (qdcount > 100 || total > 100) {
1157 if (qdcount) {
1159 for (i = 0; i < qdcount; i++) {
/freebsd-11-stable/usr.sbin/pkg/
H A Ddns_utils.c123 int len, qdcount, ancount, n, i, f, l; local
130 qdcount = ntohs(q.hdr.qdcount);
136 while(qdcount > 0 && p < end) {
137 qdcount--;
/freebsd-11-stable/contrib/sendmail/contrib/
H A Dbitdomain.c216 int ancount, qdcount; local
273 for (qdcount = ntohs(hp->qdcount); qdcount--; ap += ret + QFIXEDSZ)
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dgetrrsetbyname.c258 if (response->header.qdcount != 1) {
401 resp->header.qdcount = ntohs(resp->header.qdcount);
407 if (resp->header.qdcount < 1) {
414 resp->header.qdcount);
415 if (resp->header.qdcount && resp->query == NULL) {
/freebsd-11-stable/lib/libc/net/
H A Dgetnetbydns.c164 int type, class, ancount, qdcount, haveanswer; local
186 qdcount = ntohs(hp->qdcount); /* #/entries in the question section */
190 if (!qdcount) {
197 while (qdcount-- > 0)
H A Dhesiod.c375 int ancount, qdcount, i, j, n, skip, type, class, len; local
396 qdcount = ntohs(hp->qdcount);
404 for (i = 0; i < qdcount; i++) {
H A Dgethostbydns.c148 int type, class, ancount, qdcount; local
175 qdcount = ntohs(hp->qdcount);
180 if (qdcount != 1) {
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dresolve.h219 unsigned qdcount; member in struct:rk_dns_header
H A Dresolve.c442 r->h.qdcount = (p[4] << 8) | p[5];
449 if(r->h.qdcount != 1) {
/freebsd-11-stable/include/arpa/
H A Dnameser_compat.h91 unsigned qdcount :16; /*%< number of question entries */ member in struct:__anon6504
/freebsd-11-stable/contrib/sendmail/src/
H A Ddomain.c544 int ancount, qdcount, buflen; local
714 for (qdcount = ntohs((unsigned short) hp->qdcount);
715 qdcount--;
1261 int ancount, qdcount, ret, type, qtype, initial, loopcnt, ttl, sli; local
1485 for (qdcount = ntohs((unsigned short) hp->qdcount);
1486 qdcount--;
1492 sm_dprintf("qdcount failure (%d)\n",
1493 ntohs((unsigned short) hp->qdcount));
[all...]
/freebsd-11-stable/contrib/unbound/util/data/
H A Dmsgparse.h103 uint16_t qdcount; member in struct:msg_parse
123 /** query type, host order. 0 if qdcount=0 */
125 /** query class, host order. 0 if qdcount=0 */
H A Dmsgparse.c581 if(msg->qdcount == 0)
583 if(msg->qdcount > 1)
585 log_assert(msg->qdcount == 1);
914 msg->qdcount = sldns_buffer_read_u16(pkt);
918 if(msg->qdcount > 1)
H A Dmsgreply.h137 * If qdcount is not 0, then it is 1, and the data that appears
141 uint8_t qdcount; member in struct:reply_info
261 * caches or anything, this is only parsing. Returns formerror on qdcount > 1.
H A Dmsgreply.c111 rep->qdcount = qd;
137 *rep = construct_reply_info_base(region, msg->flags, msg->qdcount, 0,
707 cp = construct_reply_info_base(region, rep->flags, rep->qdcount,
/freebsd-11-stable/lib/libc/resolv/
H A Dres_send.c231 int qdcount = ntohs(((const HEADER*)buf)->qdcount); local
233 while (qdcount-- > 0) {
269 int qdcount = ntohs(((const HEADER*)buf1)->qdcount); local
282 if (qdcount != ntohs(((const HEADER*)buf2)->qdcount))
284 while (qdcount-- > 0) {
H A Dres_debug.c276 int qdcount, ancount, nscount, arcount; local
286 qdcount = ns_msg_count(handle, ns_s_qd);
321 p_section(ns_s_qd, opcode), qdcount);
340 if (qdcount == 0 && ancount == 0 &&
H A Dres_mkquery.c152 hp->qdcount = htons(1);
/freebsd-11-stable/sys/netinet/libalias/
H A Dalias_nbt.c215 u_short qdcount; member in struct:__anon8185
821 ntohs(nsh->qdcount),
830 if (ntohs(nsh->qdcount) != 0) {
832 ntohs(nsh->qdcount),
/freebsd-11-stable/contrib/unbound/daemon/
H A Dcachedump.c195 (int)d->flags, (int)d->qdcount,
629 unsigned int flags, qdcount, security, an, ns, ar; local
647 if(sscanf(s, " %u %u " ARG_LL "d %u %u %u %u", &flags, &qdcount, &ttl,
653 rep.qdcount = (uint16_t)qdcount;
/freebsd-11-stable/contrib/unbound/services/cache/
H A Ddns.c430 msg->rep->qdcount = 1;
565 msg->rep->qdcount = r->qdcount;
626 msg->rep->qdcount = 1;
664 msg->rep->qdcount = 1;
/freebsd-11-stable/contrib/unbound/iterator/
H A Diter_scrub.c813 if(msg->qdcount > 1)
824 msg->qdcount == 0)
829 if(msg->qdcount == 1) {
/freebsd-11-stable/contrib/ldns/
H A Dpacket.c542 ldns_pkt_set_qdcount(ldns_pkt *packet, uint16_t qdcount) argument
544 packet->_header->_qdcount = qdcount;

Completed in 386 milliseconds

12