Searched refs:nscount (Results 1 - 23 of 23) sorted by relevance

/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_update.c100 int nzones = 0, nscount = 0, n; local
166 nscount = res_getservers(statp, nsaddrs, MAXNS);
184 res_setservers(statp, nsaddrs, nscount);
185 nscount = 0;
195 if (nscount != 0)
196 res_setservers(statp, nsaddrs, nscount);
H A Dres_send.c185 for (ns = 0; ns < statp->nscount; ns++) {
198 for (ns = 0; ns < statp->nscount; ns++) {
319 if (statp->nscount == 0 || EXT(statp).ext == NULL) {
337 if (EXT(statp).nscount != 0) {
342 if (EXT(statp).nscount != statp->nscount)
345 for (ns = 0; ns < statp->nscount; ns++) {
369 EXT(statp).nscount = 0;
376 if (EXT(statp).nscount == 0) {
377 for (ns = 0; ns < statp->nscount; n
[all...]
H A Dres_init.c235 statp->nscount = 0;
242 statp->_u._ext.nscount = 0;
562 statp->nscount = nserv;
830 for (ns = 0; ns < statp->_u._ext.nscount; ns++) {
870 statp->_u._ext.nscount = 0;
908 statp->nscount = nserv;
918 for (i = 0; i < statp->nscount && i < cnt; i++) {
955 return (statp->nscount);
H A Dres_findzonecut.c275 int n, i, ancount, nscount; local
312 nscount = ns_msg_count(msg, ns_s_ns);
315 else if (nscount > 0)
316 sect = ns_s_ns, n = nscount;
H A Dres_sendsigned.c76 nstatp->nscount = 1;
H A Dres_debug.c300 int qdcount, ancount, nscount, arcount; local
312 nscount = ns_msg_count(handle, ns_s_ns);
349 p_section(ns_s_ns, opcode), nscount);
365 nscount == 0 && arcount == 0)
H A Dres_query.c180 ntohs(hp->nscount),
H A Dres_mkupdate.c710 hp->nscount = htons(counts[2]);
/illumos-gate/usr/src/lib/libresolv/
H A Dresolv.h74 int nscount; /* number of name servers */ member in struct:state
H A Dres_send.c178 for (ns = 0; ns < _res.nscount; ns++) {
356 if (_res.nscount == 1 ||
413 timeout.tv_sec /= _res.nscount;
H A Dres_init.c106 _res.nscount = 1;
271 _res.nscount = nserv;
H A Dres_debug.c135 fprintf(file, ", nscount = %d", ntohs(hp->nscount));
169 if (n = ntohs(hp->nscount)) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_netbios.c260 int headerflags, qcount, acount, nscount, arcount; local
276 nscount = getshort(data); data += 2;
301 sprintf(get_line(0, 0), "Name Service Count = %d", nscount);
328 if ((acount || nscount || arcount) ||
329 (qcount+acount+nscount+arcount == 0)) {
H A Dsnoop_dns.c75 ushort_t id, qdcount, ancount, nscount, arcount; local
111 nscount = ntohs(header.nscount);
208 if (header.qr || nscount > 0) {
210 "%d name server resource(s)", nscount);
212 while (nscount--) {
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios_name.c208 packet.nscount = 0; /* authority recs */
509 BE_OUT16(heap, npb->nscount);
540 n = npb->nscount;
679 uint16_t qdcount, ancount, nscount, arcount; local
693 nscount = BE_IN16(scan); scan += 2;
700 ((unsigned)nscount * (sizeof (struct resource_record) + ns)) +
712 npb->nscount = nscount;
740 if (nscount > 0) {
743 heap += nscount * sizeo
[all...]
H A Dsmbns_netbios.h209 unsigned nscount; /* authority recs */ member in struct:name_packet
/illumos-gate/usr/src/lib/libresolv/arpa/
H A Dnameser.h185 u_short nscount; /* number of authority entries */ member in struct:__anon3851
/illumos-gate/usr/src/lib/libadutils/common/
H A Dsrv_query.c259 int i, qdcount, ancount, nscount, arcount; local
275 nscount = ntohs(hdr->nscount);
352 len = ns_skiprr(ptr, eom, ns_s_ns, nscount);
/illumos-gate/usr/src/head/arpa/
H A Dnameser_compat.h162 unsigned nscount :16; /* number of authority entries */ member in struct:__anon62
/illumos-gate/usr/src/head/
H A Dresolv.h192 int nscount; /* number of name servers */ member in struct:__res_state
221 uint16_t nscount; member in struct:__res_state::__anon2327::__anon2328
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Ddfs.c1760 uint32_t nscount; local
1763 nscount = (*dfs_cached_ns == '\0') ? 0 : 1;
1766 return (nscount);
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_verify.c85 n = ns_skiprr(cp, eom, ns_s_ns, ntohs(hp->nscount));
/illumos-gate/usr/src/lib/libmapid/common/
H A Dmapid.c418 ns_cnt = ntohs(hp->nscount);

Completed in 521 milliseconds