/freebsd/contrib/tcpdump/ |
H A D | print-domain.c | 907 u_int qdcount, ancount, nscount, arcount; in domain_print() local 953 qdcount = GET_BE_U_2(np->qdcount); in domain_print() 961 for (i = 0; i < qdcount; i++) { in domain_print() 1013 if (qdcount != 1) in domain_print() 1014 ND_PRINT(" [%uq]", qdcount); in domain_print() 1017 for (i = 0; i < qdcount; i++) { in domain_print() 1088 if (qdcount) in domain_print() 1089 ND_PRINT(" [%uq]", qdcount); in domain_print() 1095 if (qdcount != 1) in domain_print() 1096 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 | 143 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 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 | 226 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 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 | 147 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 | 196 (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 D | resolve.h | 219 unsigned qdcount; member
|
H A D | resolve.c | 442 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 D | msgparse.c | 586 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 D | msgparse.h | 111 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() 217 rep->qdcount, rep->ttl, rep->prefetch_ttl, in make_new_reply_info() 800 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 | 489 msg->rep->qdcount = 1; in dns_msg_create() 622 msg->rep->qdcount = r->qdcount; in tomsg() 711 msg->rep->qdcount = 1; in rrset_msg() 751 msg->rep->qdcount = 1; in synth_dname_msg()
|
/freebsd/contrib/unbound/iterator/ |
H A D | iter_scrub.c | 1037 if(msg->qdcount > 1) in scrub_message() 1048 msg->qdcount == 0) in scrub_message() 1053 if(msg->qdcount == 1) { in scrub_message()
|
/freebsd/contrib/ldns/ |
H A D | packet.c | 564 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()
|