Home
last modified time | relevance | path

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

12

/NextBSD/contrib/tcpdump/
HDprint-domain.c584 register int qdcount, ancount, nscount, arcount; in ns_print() local
591 qdcount = EXTRACT_16BITS(&np->qdcount); in ns_print()
607 if (qdcount != 1) in ns_print()
608 ND_PRINT((ndo, " [%dq]", qdcount)); in ns_print()
611 while (qdcount--) { in ns_print()
612 if (qdcount < EXTRACT_16BITS(&np->qdcount) - 1) in ns_print()
676 if (qdcount) in ns_print()
677 ND_PRINT((ndo, " [%dq]", qdcount)); in ns_print()
684 if (qdcount != 1) in ns_print()
685 ND_PRINT((ndo, " [%dq]", qdcount)); in ns_print()
[all …]
HDprint-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()
HDnameser.h230 uint16_t qdcount; /* number of question entries */ member
/NextBSD/usr.sbin/pkg/
HDdns_utils.c121 int len, qdcount, ancount, n, i, f, l; in dns_getsrvinfo() local
128 qdcount = ntohs(q.hdr.qdcount); in dns_getsrvinfo()
134 while(qdcount > 0 && p < end) { in dns_getsrvinfo()
135 qdcount--; in dns_getsrvinfo()
/NextBSD/crypto/openssh/openbsd-compat/
HDgetrrsetbyname.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()
/NextBSD/lib/libc/net/
HDgetnetbydns.c164 int type, class, ancount, qdcount, haveanswer; in getnetanswer() local
186 qdcount = ntohs(hp->qdcount); /* #/entries in the question section */ in getnetanswer()
190 if (!qdcount) { in getnetanswer()
197 while (qdcount-- > 0) in getnetanswer()
HDhesiod.c376 int ancount, qdcount, i, j, n, skip, type, class, len; local
397 qdcount = ntohs(hp->qdcount);
405 for (i = 0; i < qdcount; i++) {
HDgethostbydns.c149 int type, class, ancount, qdcount; in gethostanswer() local
176 qdcount = ntohs(hp->qdcount); in gethostanswer()
181 if (qdcount != 1) { in gethostanswer()
/NextBSD/lib/libc/resolv/
HDres_send.c232 int qdcount = ntohs(((const HEADER*)buf)->qdcount); in res_nameinquery() local
234 while (qdcount-- > 0) { in res_nameinquery()
270 int qdcount = ntohs(((const HEADER*)buf1)->qdcount); in res_queriesmatch() local
283 if (qdcount != ntohs(((const HEADER*)buf2)->qdcount)) in res_queriesmatch()
285 while (qdcount-- > 0) { in res_queriesmatch()
HDres_debug.c277 int qdcount, ancount, nscount, arcount; in res_pquery() local
287 qdcount = ns_msg_count(handle, ns_s_qd); in res_pquery()
322 p_section(ns_s_qd, opcode), qdcount); in res_pquery()
341 if (qdcount == 0 && ancount == 0 && in res_pquery()
HDres_mkquery.c153 hp->qdcount = htons(1); in res_nmkquery()
/NextBSD/sys/netinet/libalias/
HDalias_nbt.c215 u_short qdcount; member
805 ntohs(nsh->qdcount), in AliasHandleUdpNbtNS()
814 if (ntohs(nsh->qdcount) != 0) { in AliasHandleUdpNbtNS()
816 ntohs(nsh->qdcount), in AliasHandleUdpNbtNS()
/NextBSD/contrib/unbound/daemon/
HDcachedump.c194 (int)d->flags, (int)d->qdcount, in dump_msg()
627 unsigned int flags, qdcount, security, an, ns, ar; in load_msg() local
645 if(sscanf(s, " %u %u " ARG_LL "d %u %u %u %u", &flags, &qdcount, &ttl, in load_msg()
651 rep.qdcount = (uint16_t)qdcount; in load_msg()
/NextBSD/contrib/unbound/util/data/
HDmsgparse.c576 if(msg->qdcount == 0) in parse_query_section()
578 if(msg->qdcount > 1) in parse_query_section()
580 log_assert(msg->qdcount == 1); in parse_query_section()
909 msg->qdcount = sldns_buffer_read_u16(pkt); in parse_packet()
913 if(msg->qdcount > 1) in parse_packet()
HDmsgparse.h94 uint16_t qdcount; member
HDmsgreply.h118 uint8_t qdcount; member
HDmsgreply.c100 rep->qdcount = qd; in construct_reply_info_base()
125 *rep = construct_reply_info_base(region, msg->flags, msg->qdcount, 0, in parse_create_repinfo()
679 cp = construct_reply_info_base(region, rep->flags, rep->qdcount, in reply_info_copy()
HDmsgencode.c643 sldns_buffer_write_u16(buffer, rep->qdcount); in reply_info_encode()
648 if(rep->qdcount) { in reply_info_encode()
/NextBSD/contrib/unbound/services/cache/
HDdns.c372 msg->rep->qdcount = 1; in dns_msg_create()
493 msg->rep->qdcount = r->qdcount; in tomsg()
546 msg->rep->qdcount = 1; in rrset_msg()
582 msg->rep->qdcount = 1; in synth_dname_msg()
/NextBSD/crypto/heimdal/lib/roken/
HDresolve.h219 unsigned qdcount; member
HDresolve.c442 r->h.qdcount = (p[4] << 8) | p[5]; in parse_reply()
449 if(r->h.qdcount != 1) { in parse_reply()
/NextBSD/contrib/unbound/iterator/
HDiter_scrub.c762 if(msg->qdcount > 1) in scrub_message()
773 msg->qdcount == 0) in scrub_message()
778 if(msg->qdcount == 1) { in scrub_message()
/NextBSD/include/arpa/
HDnameser_compat.h91 unsigned qdcount :16; /*%< number of question entries */ member
/NextBSD/contrib/ldns/
HDpacket.c542 ldns_pkt_set_qdcount(ldns_pkt *packet, uint16_t qdcount) in ldns_pkt_set_qdcount() argument
544 packet->_header->_qdcount = qdcount; in ldns_pkt_set_qdcount()
/NextBSD/contrib/unbound/sldns/
HDwire2str.c331 unsigned qdcount, ancount, nscount, arcount, i; in sldns_wire2str_pkt_scan() local
335 qdcount = (unsigned)LDNS_QDCOUNT(*d); in sldns_wire2str_pkt_scan()
340 qdcount = ancount = nscount = arcount = 0; in sldns_wire2str_pkt_scan()
345 for(i=0; i<qdcount; i++) { in sldns_wire2str_pkt_scan()

12