Home
last modified time | relevance | path

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

12

/freebsd/contrib/tcpdump/
H A Dprint-domain.c951 qdcount = GET_BE_U_2(np->qdcount); in domain_print()
959 for (i = 0; i < qdcount; i++) { in domain_print()
1011 if (qdcount != 1) in domain_print()
1012 ND_PRINT(" [%uq]", qdcount); in domain_print()
1087 if (qdcount) in domain_print()
1088 ND_PRINT(" [%uq]", qdcount); in domain_print()
1095 if (qdcount != 1) in domain_print()
1104 if (qdcount) { in domain_print()
1108 qdcount--; in domain_print()
1115 qdcount--; in domain_print()
[all …]
H A Dprint-smb.c1083 u_int qdcount, ancount, nscount, arcount; in nbt_udp137_print() local
1093 qdcount = GET_BE_U_2(data + 4); in nbt_udp137_print()
1116 name_trn_id, opcode, nm_flags, rcode, qdcount, ancount, nscount, in nbt_udp137_print()
1123 if (qdcount > 100 || total > 100) { in nbt_udp137_print()
1128 if (qdcount) { in nbt_udp137_print()
1130 for (i = 0; i < qdcount; i++) { in nbt_udp137_print()
H A Dnameser.h302 nd_uint16_t qdcount; /* number of question entries */ member
/freebsd/usr.sbin/pkg/
H A Ddns_utils.c122 int len, qdcount, ancount, n, i, f, l; in dns_getsrvinfo() local
129 qdcount = ntohs(q.hdr.qdcount); in dns_getsrvinfo()
135 while(qdcount > 0 && p < end) { in dns_getsrvinfo()
136 qdcount--; in dns_getsrvinfo()
/freebsd/contrib/sendmail/contrib/
H A Dbitdomain.c216 int ancount, qdcount; local
273 for (qdcount = ntohs(hp->qdcount); qdcount--; ap += ret + QFIXEDSZ)
/freebsd/lib/libc/net/
H A Dgetnetbydns.c160 int type, class, ancount, qdcount, haveanswer; in getnetanswer() local
182 qdcount = ntohs(hp->qdcount); /* #/entries in the question section */ in getnetanswer()
186 if (!qdcount) { in getnetanswer()
193 while (qdcount-- > 0) in getnetanswer()
H A Dhesiod.c351 int ancount, qdcount, i, j, n, skip, type, class, len; in get_txt_records() local
372 qdcount = ntohs(hp->qdcount); in get_txt_records()
380 for (i = 0; i < qdcount; i++) { in get_txt_records()
H A Dgethostbydns.c143 int type, class, ancount, qdcount; in gethostanswer() local
170 qdcount = ntohs(hp->qdcount); in gethostanswer()
175 if (qdcount != 1) { in gethostanswer()
/freebsd/crypto/openssh/openbsd-compat/
H A Dgetrrsetbyname.c263 if (response->header.qdcount != 1) { in getrrsetbyname()
409 resp->header.qdcount = ntohs(resp->header.qdcount); in parse_dns_response()
415 if (resp->header.qdcount < 1) { in parse_dns_response()
422 resp->header.qdcount); in parse_dns_response()
423 if (resp->header.qdcount && resp->query == NULL) { in parse_dns_response()
/freebsd/lib/libc/resolv/
H A Dres_send.c226 int qdcount = ntohs(((const HEADER*)buf)->qdcount); in res_nameinquery() local
228 while (qdcount-- > 0) { in res_nameinquery()
264 int qdcount = ntohs(((const HEADER*)buf1)->qdcount); in res_queriesmatch() local
277 if (qdcount != ntohs(((const HEADER*)buf2)->qdcount)) in res_queriesmatch()
279 while (qdcount-- > 0) { in res_queriesmatch()
H A Dres_debug.c271 int qdcount, ancount, nscount, arcount; in res_pquery() local
281 qdcount = ns_msg_count(handle, ns_s_qd); in res_pquery()
316 p_section(ns_s_qd, opcode), qdcount); in res_pquery()
335 if (qdcount == 0 && ancount == 0 && in res_pquery()
H A Dres_mkquery.c147 hp->qdcount = htons(1); in res_nmkquery()
/freebsd/contrib/sendmail/src/
H A Ddomain.c879 int ancount, qdcount, buflen; local
1043 for (qdcount = ntohs((unsigned short) hp->qdcount);
1044 qdcount--;
1629 int ancount, qdcount, ret, type, qtype, initial, loopcnt, ttl, sli; local
1853 for (qdcount = ntohs((unsigned short) hp->qdcount);
1854 qdcount--;
1861 ntohs((unsigned short) hp->qdcount));
/freebsd/sys/netinet/libalias/
H A Dalias_nbt.c210 u_short qdcount; member
795 ntohs(nsh->qdcount), in AliasHandleUdpNbtNS()
804 if (ntohs(nsh->qdcount) != 0) { in AliasHandleUdpNbtNS()
806 ntohs(nsh->qdcount), in AliasHandleUdpNbtNS()
/freebsd/contrib/unbound/daemon/
H A Dcachedump.c196 (int)d->flags, (int)d->qdcount, in dump_msg()
633 unsigned int flags, qdcount, security, an, ns, ar; in load_msg() local
655 if(sscanf(s, " %u %u " ARG_LL "d %u %u %u %u %d %n", &flags, &qdcount, &ttl, in load_msg()
665 rep.qdcount = (uint16_t)qdcount; in load_msg()
/freebsd/crypto/heimdal/lib/roken/
H A Dresolve.h219 unsigned qdcount; member
H A Dresolve.c442 r->h.qdcount = (p[4] << 8) | p[5]; in parse_reply()
449 if(r->h.qdcount != 1) { in parse_reply()
/freebsd/contrib/unbound/util/data/
H A Dmsgparse.c586 if(msg->qdcount == 0) in parse_query_section()
588 if(msg->qdcount > 1) in parse_query_section()
590 log_assert(msg->qdcount == 1); in parse_query_section()
919 msg->qdcount = sldns_buffer_read_u16(pkt); in parse_packet()
923 if(msg->qdcount > 1) in parse_packet()
H A Dmsgparse.h108 uint16_t qdcount; member
H A Dmsgreply.h143 uint8_t qdcount; member
H A Dmsgreply.c113 rep->qdcount = qd; in construct_reply_info_base()
142 *rep = construct_reply_info_base(region, msg->flags, msg->qdcount, 0, in parse_create_repinfo()
187 rep->qdcount, rep->ttl, rep->prefetch_ttl, in make_new_reply_info()
764 cp = construct_reply_info_base(region, rep->flags, rep->qdcount, in reply_info_copy()
/freebsd/include/arpa/
H A Dnameser_compat.h93 unsigned qdcount :16; /*%< number of question entries */ member
/freebsd/contrib/unbound/services/cache/
H A Ddns.c465 msg->rep->qdcount = 1; in dns_msg_create()
612 msg->rep->qdcount = r->qdcount; in tomsg()
700 msg->rep->qdcount = 1; in rrset_msg()
739 msg->rep->qdcount = 1; in synth_dname_msg()
/freebsd/contrib/unbound/iterator/
H A Diter_scrub.c924 if(msg->qdcount > 1) in scrub_message()
935 msg->qdcount == 0) in scrub_message()
940 if(msg->qdcount == 1) { in scrub_message()
/freebsd/contrib/ldns/
H A Dpacket.c564 ldns_pkt_set_qdcount(ldns_pkt *packet, uint16_t qdcount) in ldns_pkt_set_qdcount() argument
566 packet->_header->_qdcount = qdcount; in ldns_pkt_set_qdcount()

12