| /NextBSD/contrib/tcpdump/ |
| HD | print-domain.c | 584 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 …]
|
| HD | print-smb.c | 1102 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()
|
| HD | nameser.h | 230 uint16_t qdcount; /* number of question entries */ member
|
| /NextBSD/usr.sbin/pkg/ |
| HD | dns_utils.c | 121 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/ |
| HD | getrrsetbyname.c | 258 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/ |
| HD | getnetbydns.c | 164 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()
|
| HD | hesiod.c | 376 int ancount, qdcount, i, j, n, skip, type, class, len; local 397 qdcount = ntohs(hp->qdcount); 405 for (i = 0; i < qdcount; i++) {
|
| HD | gethostbydns.c | 149 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/ |
| HD | res_send.c | 232 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()
|
| HD | res_debug.c | 277 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()
|
| HD | res_mkquery.c | 153 hp->qdcount = htons(1); in res_nmkquery()
|
| /NextBSD/sys/netinet/libalias/ |
| HD | alias_nbt.c | 215 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/ |
| HD | cachedump.c | 194 (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/ |
| HD | msgparse.c | 576 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()
|
| HD | msgparse.h | 94 uint16_t qdcount; member
|
| HD | msgreply.h | 118 uint8_t qdcount; member
|
| HD | msgreply.c | 100 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()
|
| HD | msgencode.c | 643 sldns_buffer_write_u16(buffer, rep->qdcount); in reply_info_encode() 648 if(rep->qdcount) { in reply_info_encode()
|
| /NextBSD/contrib/unbound/services/cache/ |
| HD | dns.c | 372 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/ |
| HD | resolve.h | 219 unsigned qdcount; member
|
| HD | resolve.c | 442 r->h.qdcount = (p[4] << 8) | p[5]; in parse_reply() 449 if(r->h.qdcount != 1) { in parse_reply()
|
| /NextBSD/contrib/unbound/iterator/ |
| HD | iter_scrub.c | 762 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/ |
| HD | nameser_compat.h | 91 unsigned qdcount :16; /*%< number of question entries */ member
|
| /NextBSD/contrib/ldns/ |
| HD | packet.c | 542 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/ |
| HD | wire2str.c | 331 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()
|