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