/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_update.c | 96 int nzones = 0, nscount = 0, n; in res_nupdate() local 162 nscount = res_getservers(statp, nsaddrs, MAXNS); in res_nupdate() 180 res_setservers(statp, nsaddrs, nscount); in res_nupdate() 181 nscount = 0; in res_nupdate() 191 if (nscount != 0) in res_nupdate() 192 res_setservers(statp, nsaddrs, nscount); in res_nupdate()
|
H A D | res_send.c | 180 for (ns = 0; ns < statp->nscount; ns++) { in res_ourserver_p() 193 for (ns = 0; ns < statp->nscount; ns++) { in res_ourserver_p() 314 if (statp->nscount == 0 || EXT(statp).ext == NULL) { in res_nsend() 332 if (EXT(statp).nscount != 0) { in res_nsend() 337 if (EXT(statp).nscount != statp->nscount) in res_nsend() 340 for (ns = 0; ns < statp->nscount; ns++) { in res_nsend() 364 EXT(statp).nscount = 0; in res_nsend() 371 if (EXT(statp).nscount == 0) { in res_nsend() 372 for (ns = 0; ns < statp->nscount; ns++) { in res_nsend() 380 EXT(statp).nscount = statp->nscount; in res_nsend() [all …]
|
H A D | res_init.c | 230 statp->nscount = 0; in __res_vinit() 237 statp->_u._ext.nscount = 0; in __res_vinit() 557 statp->nscount = nserv; in __res_vinit() 825 for (ns = 0; ns < statp->_u._ext.nscount; ns++) { in res_nclose() 865 statp->_u._ext.nscount = 0; in res_setservers() 903 statp->nscount = nserv; in res_setservers() 913 for (i = 0; i < statp->nscount && i < cnt; i++) { in res_getservers() 950 return (statp->nscount); in res_getservers()
|
H A D | res_findzonecut.c | 271 int n, i, ancount, nscount; in get_soa() local 308 nscount = ns_msg_count(msg, ns_s_ns); in get_soa() 311 else if (nscount > 0) in get_soa() 312 sect = ns_s_ns, n = nscount; in get_soa()
|
H A D | res_debug.c | 295 int qdcount, ancount, nscount, arcount; in res_pquery() local 307 nscount = ns_msg_count(handle, ns_s_ns); in res_pquery() 344 p_section(ns_s_ns, opcode), nscount); in res_pquery() 360 nscount == 0 && arcount == 0) in res_pquery()
|
H A D | res_sendsigned.c | 76 nstatp->nscount = 1; in res_nsendsigned()
|
H A D | res_query.c | 175 ntohs(hp->nscount), in res_nquery()
|
H A D | res_mkupdate.c | 706 hp->nscount = htons(counts[2]); in res_nmkupdate()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_netbios.c | 259 int headerflags, qcount, acount, nscount, arcount; in interpret_netbios_ns() local 275 nscount = getshort(data); data += 2; in interpret_netbios_ns() 300 sprintf(get_line(0, 0), "Name Service Count = %d", nscount); in interpret_netbios_ns() 327 if ((acount || nscount || arcount) || in interpret_netbios_ns() 328 (qcount+acount+nscount+arcount == 0)) { in interpret_netbios_ns()
|
H A D | snoop_dns.c | 73 ushort_t id, qdcount, ancount, nscount, arcount; in interpret_dns() local 109 nscount = ntohs(header.nscount); in interpret_dns() 206 if (header.qr || nscount > 0) { in interpret_dns() 208 "%d name server resource(s)", nscount); in interpret_dns() 210 while (nscount--) { in interpret_dns()
|
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios_name.c | 210 packet.nscount = 0; /* authority recs */ in smb_end_node_challenge() 507 BE_OUT16(heap, npb->nscount); in smb_name_buf_from_packet() 538 n = npb->nscount; in smb_name_buf_from_packet() 677 uint16_t qdcount, ancount, nscount, arcount; in smb_name_buf_to_packet() local 691 nscount = BE_IN16(scan); scan += 2; in smb_name_buf_to_packet() 698 ((unsigned)nscount * (sizeof (struct resource_record) + ns)) + in smb_name_buf_to_packet() 710 npb->nscount = nscount; in smb_name_buf_to_packet() 738 if (nscount > 0) { in smb_name_buf_to_packet() 741 heap += nscount * sizeof (struct resource_record); in smb_name_buf_to_packet() 755 for (i = 0; i < (ancount + nscount + arcount); i++) { in smb_name_buf_to_packet() [all …]
|
H A D | smbns_netbios.h | 209 unsigned nscount; /* authority recs */ member
|
/illumos-gate/usr/src/lib/libresolv/ |
H A D | res_send.c | 178 for (ns = 0; ns < _res.nscount; ns++) { 356 if (_res.nscount == 1 || 413 timeout.tv_sec /= _res.nscount;
|
H A D | res_init.c | 106 _res.nscount = 1; in res_init() 271 _res.nscount = nserv; in res_init()
|
H A D | resolv.h | 72 int nscount; /* number of name servers */ member
|
H A D | res_debug.c | 135 fprintf(file, ", nscount = %d", ntohs(hp->nscount)); 169 if (n = ntohs(hp->nscount)) {
|
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | srv_query.c | 259 int i, qdcount, ancount, nscount, arcount; in srv_parse() local 275 nscount = ntohs(hdr->nscount); in srv_parse() 352 len = ns_skiprr(ptr, eom, ns_s_ns, nscount); in srv_parse()
|
/illumos-gate/usr/src/head/ |
H A D | resolv.h | 192 int nscount; /* number of name servers */ member 221 uint16_t nscount; member
|
/illumos-gate/usr/src/lib/libresolv/arpa/ |
H A D | nameser.h | 183 u_short nscount; /* number of authority entries */ member
|
/illumos-gate/usr/src/head/arpa/ |
H A D | nameser_compat.h | 162 unsigned nscount :16; /* number of authority entries */ member
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | dfs.c | 1760 uint32_t nscount; in dfs_cache_nscount() local 1763 nscount = (*dfs_cached_ns == '\0') ? 0 : 1; in dfs_cache_nscount() 1766 return (nscount); in dfs_cache_nscount()
|
/illumos-gate/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_verify.c | 79 n = ns_skiprr(cp, eom, ns_s_ns, ntohs(hp->nscount)); in ns_find_tsig()
|
/illumos-gate/usr/src/lib/libmapid/common/ |
H A D | mapid.c | 418 ns_cnt = ntohs(hp->nscount); in resolv_decode()
|