| /freebsd/contrib/tcpdump/ |
| H A D | print-domain.c | 909 u_int qdcount, ancount, nscount, arcount; in domain_print() local 955 qdcount = GET_BE_U_2(np->qdcount); in domain_print() 963 for (i = 0; i < qdcount; i++) { in domain_print() 1015 if (qdcount != 1) in domain_print() 1016 ND_PRINT(" [%uq]", qdcount); in domain_print() 1019 for (i = 0; i < qdcount; i++) { in domain_print() 1090 if (qdcount) in domain_print() 1091 ND_PRINT(" [%uq]", qdcount); in domain_print() 1097 if (qdcount != 1) in domain_print() 1098 ND_PRINT(" [%uq]", qdcount); in domain_print() [all …]
|
| H A D | print-smb.c | 1084 u_int qdcount, ancount, nscount, arcount; in nbt_udp137_print() local 1094 qdcount = GET_BE_U_2(data + 4); in nbt_udp137_print() 1117 name_trn_id, opcode, nm_flags, rcode, qdcount, ancount, nscount, in nbt_udp137_print() 1124 if (qdcount > 100 || total > 100) { in nbt_udp137_print() 1129 if (qdcount) { in nbt_udp137_print() 1131 for (i = 0; i < qdcount; i++) { in nbt_udp137_print()
|
| H A D | nameser.h | 302 nd_uint16_t qdcount; /* number of question entries */ member
|
| /freebsd/usr.sbin/pkg/ |
| H A D | dns_utils.c | 122 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 D | bitdomain.c | 216 int ancount, qdcount; local 273 for (qdcount = ntohs(hp->qdcount); qdcount--; ap += ret + QFIXEDSZ)
|
| /freebsd/lib/libc/net/ |
| H A D | getnetbydns.c | 160 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 D | hesiod.c | 351 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 D | gethostbydns.c | 145 int type, class, ancount, qdcount; in gethostanswer() local 172 qdcount = ntohs(hp->qdcount); in gethostanswer() 177 if (qdcount != 1) { in gethostanswer()
|
| /freebsd/crypto/openssh/openbsd-compat/ |
| H A D | getrrsetbyname.c | 263 if (response->header.qdcount != 1) { in getrrsetbyname() 410 resp->header.qdcount = ntohs(resp->header.qdcount); in parse_dns_response() 416 if (resp->header.qdcount < 1) { in parse_dns_response() 423 resp->header.qdcount); in parse_dns_response() 424 if (resp->header.qdcount && resp->query == NULL) { in parse_dns_response()
|
| /freebsd/lib/libc/resolv/ |
| H A D | res_send.c | 219 int qdcount = ntohs(((const HEADER*)buf)->qdcount); in res_nameinquery() local 221 while (qdcount-- > 0) { in res_nameinquery() 257 int qdcount = ntohs(((const HEADER*)buf1)->qdcount); in res_queriesmatch() local 270 if (qdcount != ntohs(((const HEADER*)buf2)->qdcount)) in res_queriesmatch() 272 while (qdcount-- > 0) { in res_queriesmatch()
|
| H A D | res_debug.c | 271 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 D | res_mkquery.c | 142 hp->qdcount = htons(1); in res_nmkquery()
|
| /freebsd/contrib/sendmail/src/ |
| H A D | domain.c | 879 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 D | alias_nbt.c | 210 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 D | cachedump.c | 339 (int)d->flags, (int)d->qdcount, in dump_msg() 756 unsigned int flags, qdcount, security, an, ns, ar; in load_msg() local 778 if(sscanf(s, " %u %u " ARG_LL "d %u %u %u %u %d %n", &flags, &qdcount, &ttl, in load_msg() 788 rep.qdcount = (uint16_t)qdcount; in load_msg()
|
| /freebsd/crypto/heimdal/lib/roken/ |
| H A D | resolve.h | 219 unsigned qdcount; member
|
| /freebsd/contrib/unbound/util/data/ |
| H A D | msgparse.c | 588 if(msg->qdcount == 0) in parse_query_section() 590 if(msg->qdcount > 1) in parse_query_section() 592 log_assert(msg->qdcount == 1); in parse_query_section() 924 msg->qdcount = sldns_buffer_read_u16(pkt); in parse_packet() 928 if(msg->qdcount > 1) in parse_packet()
|
| H A D | msgparse.h | 136 uint16_t qdcount; member
|
| H A D | msgreply.h | 143 uint8_t qdcount; member
|
| H A D | msgreply.c | 116 rep->qdcount = qd; in construct_reply_info_base() 146 *rep = construct_reply_info_base(region, msg->flags, msg->qdcount, 0, in parse_create_repinfo() 218 rep->qdcount, rep->ttl, rep->prefetch_ttl, in make_new_reply_info() 855 cp = construct_reply_info_base(region, rep->flags, rep->qdcount, in reply_info_copy()
|
| /freebsd/include/arpa/ |
| H A D | nameser_compat.h | 93 unsigned qdcount :16; /*%< number of question entries */ member
|
| /freebsd/contrib/unbound/services/cache/ |
| H A D | dns.c | 514 msg->rep->qdcount = 1; in dns_msg_create() 658 msg->rep->qdcount = r->qdcount; in tomsg() 761 msg->rep->qdcount = 1; in rrset_msg() 813 msg->rep->qdcount = 1; in synth_dname_msg()
|
| /freebsd/contrib/unbound/iterator/ |
| H A D | iter_scrub.c | 1223 if(msg->qdcount > 1) in scrub_message() 1235 msg->qdcount == 0) in scrub_message() 1240 if(msg->qdcount == 1) { in scrub_message()
|
| /freebsd/crypto/krb5/src/lib/krb5/os/ |
| H A D | dnsglue.c | 289 nqueries = ntohs((unsigned short)hdr->qdcount); in initparse()
|
| /freebsd/contrib/ldns/ |
| H A D | packet.c | 583 ldns_pkt_set_qdcount(ldns_pkt *packet, uint16_t qdcount) in ldns_pkt_set_qdcount() argument 585 packet->_header->_qdcount = qdcount; in ldns_pkt_set_qdcount()
|