Lines Matching defs:nc
126 struct netconfig *nc;
136 while (nc = getnetconfig(nch)) {
137 if ((nc->nc_flag & NC_VISIBLE) == 0)
139 if (! netdir_getbyname(nc, &hs, &addrs)) {
143 taddr2uaddr(nc, &(addrs->n_addrs[i]));
144 __nis_netconfig2ep(nc, &(eps[num_ep]));
192 struct netconfig *nc; /* Various handles */
217 nc = NULL;
264 while ((nc = getnetconfig(nc_handle)) != NULL) {
267 if ((nc->nc_flag & NC_VISIBLE) == 0)
272 if (__nis_netconfig_matches_ep(nc, &(ep[i]))) {
330 nc = 0;
340 if (nc != 0)
341 freenetconfigent(nc);
342 nc = getnetconfigent(epcand[i]->proto);
344 if (nc == 0) {
356 if (strcasecmp(nc->nc_protofmly, NC_INET) == 0) {
362 } else if (strcasecmp(nc->nc_protofmly, NC_INET6) == 0) {
367 freenetconfigent(nc);
385 freenetconfigent(nc);
405 clnt = __nis_clnt_create(RPC_ANYFD, nc, useua, 0, 0, RPCBPROG,
430 freenetconfigent(nc);
452 if (nc != 0)
453 freenetconfigent(nc);
454 nc = getnetconfigent(epcand[i]->proto);
456 if (nc == 0) {
466 if (strcasecmp(nc->nc_protofmly, NC_INET) == 0) {
471 } else if (strcasecmp(nc->nc_protofmly, NC_INET6) ==
502 addr = uaddr2taddr(nc, ut);
508 rtime_fd = t_open(nc->nc_device, O_RDWR, NULL);
523 if (nc->nc_semantics == NC_TPI_CLTS) {
609 if (nc)
610 freenetconfigent(nc);