Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libadutils/common/
H A Dsrv_query.c75 int len, qdcount, ancount; in srv_getdom() local
107 qdcount = ntohs(msg.hdr.qdcount); in srv_getdom()
112 len = ns_skiprr(ptr, eom, ns_s_qd, qdcount); in srv_getdom()
259 int i, qdcount, ancount, nscount, arcount; in srv_parse() local
273 qdcount = ntohs(hdr->qdcount); in srv_parse()
280 len = ns_skiprr(ptr, eom, ns_s_qd, qdcount); in srv_parse()
/titanic_50/usr/src/cmd/sendmail/src/
H A Ddomain.c222 int ancount, qdcount, buflen; local
333 for (qdcount = ntohs((unsigned short) hp->qdcount);
334 qdcount--;
799 int ancount, qdcount; local
991 for (qdcount = ntohs((unsigned short) hp->qdcount);
992 qdcount--;
999 ntohs((unsigned short) hp->qdcount));
/titanic_50/usr/src/lib/libresolv2/common/irs/
H A Ddns_nw.c302 int type, class, ancount, qdcount, haveanswer; in get1101answer() local
315 qdcount = ntohs(hp->qdcount); in get1101answer()
316 while (qdcount-- > 0) { in get1101answer()
448 int anslen, type, class, ancount, qdcount; in get1101mask() local
477 qdcount = ntohs(hp->qdcount); in get1101mask()
478 while (qdcount-- > 0) { in get1101mask()
H A Dhesiod.c354 int ancount, qdcount; in get_txt_records() local
381 qdcount = ntohs(hp->qdcount); in get_txt_records()
386 for (i = 0; i < qdcount; i++) { in get_txt_records()
H A Ddns_ho.c684 int type, class, ancount, qdcount, n, haveanswer, had_error; in gethostans() local
731 qdcount = ntohs(hp->qdcount); in gethostans()
735 if (qdcount != 1) { in gethostans()
/titanic_50/usr/src/lib/libresolv/
H A Dres_gethost.c93 int type, class, buflen, ancount, qdcount; local
103 qdcount = ntohs(hp->qdcount);
107 if (qdcount) {
121 while (--qdcount > 0)
H A Dres_debug.c133 fprintf(file, "\n\tqdcount = %d", ntohs(hp->qdcount));
140 if (n = ntohs(hp->qdcount)) {
H A Dres_mkquery.c197 hp->qdcount = htons(1);
/titanic_50/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios_name.c204 packet.qdcount = 1; /* question entries */ in smb_end_node_challenge()
503 BE_OUT16(heap, npb->qdcount); in smb_name_buf_from_packet()
515 for (i = 0; i < npb->qdcount; i++) { in smb_name_buf_from_packet()
679 uint16_t qdcount, ancount, nscount, arcount; in smb_name_buf_to_packet() local
691 qdcount = BE_IN16(scan); scan += 2; in smb_name_buf_to_packet()
698 ((unsigned)qdcount * (sizeof (struct name_question) + ns)) + in smb_name_buf_to_packet()
710 npb->qdcount = qdcount; in smb_name_buf_to_packet()
720 if (qdcount > 0) { in smb_name_buf_to_packet()
723 heap += qdcount * sizeof (struct name_question); in smb_name_buf_to_packet()
724 for (i = 0; i < qdcount; i++) { in smb_name_buf_to_packet()
[all …]
H A Dsmbns_netbios.h207 unsigned qdcount; /* question entries */ member
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_dns.c75 ushort_t id, qdcount, ancount, nscount, arcount; in interpret_dns() local
109 qdcount = ntohs(header.qdcount); in interpret_dns()
124 while (qdcount--) { in interpret_dns()
167 "Reply to %d question(s)", qdcount); in interpret_dns()
179 "%d question(s)", qdcount); in interpret_dns()
183 while (qdcount--) { in interpret_dns()
/titanic_50/usr/src/lib/libresolv2/common/resolv/
H A Dres_send.c236 int qdcount = ntohs(((const HEADER*)buf)->qdcount); in res_nameinquery() local
238 while (qdcount-- > 0) { in res_nameinquery()
274 int qdcount = ntohs(((const HEADER*)buf1)->qdcount); in res_queriesmatch() local
287 if (qdcount != ntohs(((const HEADER*)buf2)->qdcount)) in res_queriesmatch()
289 while (qdcount-- > 0) { in res_queriesmatch()
H A Dres_debug.c300 int qdcount, ancount, nscount, arcount; in res_pquery() local
310 qdcount = ns_msg_count(handle, ns_s_qd); in res_pquery()
345 p_section(ns_s_qd, opcode), qdcount); in res_pquery()
364 if (qdcount == 0 && ancount == 0 && in res_pquery()
H A Dres_mkquery.c184 hp->qdcount = htons(1); in res_nmkquery()
H A Dres_mkupdate.c708 hp->qdcount = htons(counts[0]); in res_nmkupdate()
/titanic_50/usr/src/lib/nsswitch/dns/common/
H A Ddns_common.c418 int ancount, qdcount; in _nss_dns_gethost_withttl() local
609 qdcount = ntohs(hp->qdcount); in _nss_dns_gethost_withttl()
611 if (qdcount != 1) { in _nss_dns_gethost_withttl()
/titanic_50/usr/src/lib/libresolv/arpa/
H A Dnameser.h183 u_short qdcount; /* number of question entries */ member
/titanic_50/usr/src/cmd/krb5/kadmin/kdcmgr/
H A Dklookup.c118 nq = ntohs(h->qdcount); in main()
/titanic_50/usr/src/head/arpa/
H A Dnameser_compat.h160 unsigned qdcount :16; /* number of question entries */ member
/titanic_50/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetdxbyname.c136 if ( ntohs( hp->qdcount ) != 1 ) { in decode_answer()
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Ddnsglue.c263 nqueries = ntohs((unsigned short)hdr->qdcount); in initparse()
/titanic_50/usr/src/lib/libresolv2/common/nameser/
H A Dns_verify.c75 n = ns_skiprr(cp, eom, ns_s_qd, ntohs(hp->qdcount)); in ns_find_tsig()
/titanic_50/usr/src/lib/libmapid/common/
H A Dmapid.c416 qd_cnt = ntohs(hp->qdcount); in resolv_decode()