Lines Matching refs:nconf

283 	struct netconfig *nconf = 0;  in __yp_add_binding_netid()  local
290 nconf = getnetconfigent(netid); in __yp_add_binding_netid()
291 if (nconf == 0) in __yp_add_binding_netid()
303 if (!rpcb_getaddr(YPPROG, YPVERS, nconf, svcaddr, addr)) in __yp_add_binding_netid()
312 binding->ypbind_nconf = nconf; in __yp_add_binding_netid()
329 if (nconf) in __yp_add_binding_netid()
330 freenetconfigent(nconf); in __yp_add_binding_netid()
429 tli_open_rsvdport(struct netconfig *nconf) in tli_open_rsvdport() argument
433 if (nconf == NULL) in tli_open_rsvdport()
436 fd = t_open(nconf->nc_device, O_RDWR, NULL); in tli_open_rsvdport()
440 if (netdir_options(nconf, ND_SET_RESERVEDPORT, fd, NULL) == -1) { in tli_open_rsvdport()
933 struct netconfig *nconf; in __clnt_create_loopback() local
945 while (nconf = getnetconfig(nc_handle)) in __clnt_create_loopback()
947 if ((strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0) && in __clnt_create_loopback()
948 ((nconf->nc_semantics == NC_TPI_COTS) || in __clnt_create_loopback()
949 (nconf->nc_semantics == NC_TPI_COTS_ORD))) { in __clnt_create_loopback()
950 clnt = getclnt(prog, vers, nconf, err); in __clnt_create_loopback()
964 getclnt(rpcprog_t prog, rpcvers_t vers, struct netconfig *nconf, int *err) in getclnt() argument
978 if (nconf == NULL) { in getclnt()
990 if (get_cached_transport(nconf, vers, uaddress, sizeof (uaddress))) { in getclnt()
1004 if (netdir_getbyname(nconf, &rpcbind_hs, &nas) != ND_OK) { in getclnt()
1009 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) == -1) { in getclnt()
1034 cl = clnt_tli_create(fd, nconf, nas->n_addrs, in getclnt()
1044 parms.r_netid = nconf->nc_netid; in getclnt()
1063 svcaddr = uaddr2taddr(nconf, uaddress); in getclnt()
1064 cl = clnt_tli_create(RPC_ANYFD, nconf, svcaddr, prog, vers, in getclnt()
1078 get_cached_transport(struct netconfig *nconf, int vers, char *uaddress, in get_cached_transport() argument
1085 "%s/xprt.%s.%d", BINDING, nconf->nc_netid, vers); in get_cached_transport()