| /nfsv41/nfs41-gate/usr/src/lib/libfsmgt/common/ |
| nfs_netcfg.c | 48 struct netconfig *nconf; local 62 while (nconf = getnetconfig(nc)) { 80 return_list[(*num_elements)] = strdup(nconf->nc_netid);
|
| /nfsv41/nfs41-gate/usr/src/lib/libsocket/inet/ |
| getservbyname_r.c | 62 struct netconfig *nconf; local 67 if ((nconf = __rpc_getconfip("udp")) == NULL && 68 (nconf = __rpc_getconfip("tcp")) == NULL) { 80 * We pass in nconf and let the implementation of the long-named func 83 neterr = _get_hostserv_inetnetdir_byname(nconf, &nssin, &nssout); 85 (void) freenetconfigent(nconf); 96 struct netconfig *nconf; local 101 if ((nconf = __rpc_getconfip("udp")) == NULL && 102 (nconf = __rpc_getconfip("tcp")) == NULL) { 114 * We pass in nconf and let the implementation of this long-named fun [all...] |
| /nfsv41/nfs41-gate/usr/src/cmd/gss/gssd/ |
| gssd_generic.c | 62 struct netconfig *nconf; local 74 while (nconf = __rpc_getconf(net)) { 75 if ((strcmp(nconf->nc_protofmly, NC_LOOPBACK)) || 76 (nconf->nc_semantics != NC_TPI_COTS_ORD)) 79 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) < 0) { 82 nconf->nc_netid, t_errlist[t_errno]); 96 nconf->nc_netid); 111 if (!netdir_getbyname(nconf, &ns, &nas)) { 122 servname, nconf->nc_netid); 127 xprt = svc_tli_create(fd, nconf, bind_addr, 0, 0) [all...] |
| gssd_handle.c | 65 struct netconfig *nconf; local 88 while (nconf = getnetconfig(localhandle)) { 89 if (strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0) { 90 if (nconf->nc_semantics == NC_TPI_COTS_ORD) { 92 GSSPROG, GSSVERS, nconf); 98 tpconf = nconf;
|
| gssd.c | 155 struct netconfig *nconf; local 163 if ((nconf = getnetconfigent(netid)) == NULL) { 181 /* XXX - is nconf even needed here? */ 182 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) { 188 * We use a NULL nconf because GSSPROG has already been 198 if (nconf) 199 freenetconfigent(nconf);
|
| /nfsv41/nfs41-gate/usr/src/cmd/krb5/kwarn/ |
| kwarnd_generic.c | 40 struct netconfig *nconf; local 52 while (nconf = __rpc_getconf(net)) { 53 if ((strcmp(nconf->nc_protofmly, NC_LOOPBACK)) || 54 (nconf->nc_semantics != NC_TPI_COTS_ORD)) 57 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) < 0) { 60 nconf->nc_netid, t_errlist[t_errno]); 74 nconf->nc_netid); 89 if (!netdir_getbyname(nconf, &ns, &nas)) { 100 servname, nconf->nc_netid); 105 xprt = svc_tli_create(fd, nconf, bind_addr, 0, 0) [all...] |
| kwarnd_handle.c | 59 struct netconfig *nconf; local 87 while (nconf = getnetconfig(localhandle)) { 88 if (strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0) { 89 if (nconf->nc_semantics == NC_TPI_COTS_ORD) { 91 KWARNPROG, KWARNVERS, nconf); 97 tpconf = nconf;
|
| kwarnd.c | 139 struct netconfig *nconf; local 147 if ((nconf = getnetconfigent(netid)) == NULL) { 161 /* XXX - is nconf even needed here? */ 162 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) { 168 * We use a NULL nconf because KWARNPROG has already been 178 if (nconf) 179 freenetconfigent(nconf);
|
| /nfsv41/nfs41-gate/usr/src/lib/libnsl/nss/ |
| gethostbyname_r.c | 107 struct netconfig *nconf; local 120 if ((nconf = __rpc_getconfip("udp")) == NULL && 121 (nconf = __rpc_getconfip("tcp")) == NULL) { 135 * We pass in nconf and let the implementation of the long-named func 138 neterr = _get_hostserv_inetnetdir_byname(nconf, &nssin, &nssout); 140 (void) freenetconfigent(nconf); 150 struct netconfig *nconf; local 163 if ((nconf = __rpc_getconfip("udp")) == NULL && 164 (nconf = __rpc_getconfip("tcp")) == NULL) { 180 * We pass in nconf and let the implementation of this long-named fun [all...] |
| /nfsv41/nfs41-gate/usr/src/lib/libnsl/yp/ |
| yp_rsvd.c | 43 struct netconfig *nconf; local 59 if ((nconf = getnetconfigent((void *) nt)) == NULL) 62 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) == -1) { 63 freenetconfigent(nconf); 68 (void) netdir_options(nconf, ND_SET_RESERVEDPORT, fd, NULL); 72 freenetconfigent(nconf); 78 if (!rpcb_getaddr(prog, vers, nconf, svcaddr, hostname)) { 81 freenetconfigent(nconf); 85 if ((clnt = clnt_tli_create(fd, nconf, svcaddr, 93 freenetconfigent(nconf); [all...] |
| /nfsv41/nfs41-gate/usr/src/cmd/keyserv/ |
| key_generic.c | 82 struct netconfig *nconf; local 94 while (nconf = __rpc_getconf(handle)) { 95 if (strcmp(nconf->nc_protofmly, NC_LOOPBACK)) 98 if (strcmp(l->xprt->xp_netid, nconf->nc_netid) == 0) { 100 (void) rpcb_unset(prognum, versnum, nconf); 102 dispatch, nconf) == FALSE) 105 prognum, versnum, nconf->nc_netid); 114 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) < 0) { 117 nconf->nc_netid, t_errlist[t_errno]); 130 nconf->nc_netid) [all...] |
| /nfsv41/nfs41-gate/usr/src/cmd/rpcbind/ |
| rpcb_stat.c | 105 struct netconfig *nconf; local 122 nconf = rpcbind_get_conf(netid); 123 if (nconf == NULL) { 132 al->netid = nconf->nc_netid; 155 struct netconfig *nconf; local 177 nconf = rpcbind_get_conf(netid); 178 if (nconf == NULL) { 188 rl->netid = nconf->nc_netid;
|
| check_bound.c | 62 struct netconfig *nconf; member in struct:fdlist 89 na = uaddr2taddr(fdl->nconf, uaddr); 112 fdl->fd = t_open(fdl->nconf->nc_device, O_RDWR, NULL); 136 add_bndlist(nconf, taddr, baddr) 137 struct netconfig *nconf; 146 newnconf = getnetconfigent(nconf->nc_netid); 155 fdl->nconf = newnconf; 165 if ((fdl->fd = t_open(nconf->nc_device, O_RDWR, &tinfo)) < 0) { 173 nconf->nc_netid, t_errlist[t_errno]); 199 nconf->nc_netid, t_errlist[t_errno]) [all...] |
| /nfsv41/nfs41-gate/usr/src/cmd/rpcsvc/ |
| rstat_main.c | 74 struct netconfig *nconf = NULL; local 83 } else if ((nconf = getnetconfigent(netid)) == NULL) { 88 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) { 92 if (nconf) 93 freenetconfigent(nconf);
|
| /nfsv41/nfs41-gate/usr/src/lib/libnsl/rpc/ |
| rtime_tli.c | 77 struct netconfig *nconf = NULL; local 81 nconf = __rpc_getconfip(timeout == NULL ? "tcp" : "udp"); 82 if (nconf == NULL) 85 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) == -1) { 98 if (netdir_getbyname(nconf, &rpcbind_hs, &nlist)) 101 if (nconf->nc_semantics == NC_TPI_CLTS) { 155 if (nconf) { 156 (void) freenetconfigent(nconf);
|
| svc_generic.c | 120 struct netconfig *nconf; local 140 while (nconf = __rpc_getconf(handle)) { 143 if (strcmp(l->xprt->xp_netid, nconf->nc_netid) == 0) { 162 versnum, nconf); 164 dispatch, nconf) == FALSE) 167 prognum, versnum, nconf->nc_netid); 176 xprt = svc_tp_create(dispatch, prognum, versnum, nconf); 198 * It tries to create a server for "nconf" and registers the service 203 const rpcvers_t versnum, const struct netconfig *nconf) 208 if (nconf == NULL) [all...] |
| /nfsv41/nfs41-gate/usr/src/lib/librpcsvc/common/ |
| bindresvport.c | 80 struct netconfig *nconf; local 83 nconf = getnetconfigent(cl->cl_netid); 84 if (nconf == NULL) 86 if ((nconf->nc_semantics != NC_TPI_CLTS) || 87 (strcmp(nconf->nc_protofmly, NC_INET) && 88 strcmp(nconf->nc_protofmly, NC_INET)) || 89 strcmp(nconf->nc_proto, NC_UDP)) { 90 freenetconfigent(nconf); 93 if (strcmp(nconf->nc_protofmly, NC_INET6) == 0) 95 freenetconfigent(nconf); [all...] |
| /nfsv41/nfs41-gate/usr/src/cmd/fs.d/nfs/mountd/ |
| nfsauth.c | 55 struct netconfig *nconf; local 67 nconf = getnetconfigent(argp->req_netid); 68 if (nconf == NULL) { 79 if (netdir_getbyaddr(nconf, &clnames, &nbuf)) { 81 if (strcmp(nconf->nc_protofmly, NC_INET) == 0) { 87 } else if (strcmp(nconf->nc_protofmly, NC_INET6) == 0) { 127 freenetconfigent(nconf);
|
| nfs_cmd.c | 103 struct netconfig *nconf; local 117 nconf = getnetconfigent("tcp"); 120 nconf = getnetconfigent("tcp6"); 126 if (nconf == NULL) { 134 if (__netdir_getbyaddr_nosrv(nconf, &hl, nbuf)) { 136 freenetconfigent(nconf); 142 freenetconfigent(nconf); 171 freenetconfigent(nconf);
|
| /nfsv41/nfs41-gate/usr/src/cmd/rpcsvc/rpc.bootparamd/ |
| bootparam_prot_svc.c | 91 struct netconfig *nconf = NULL; local 98 } else if ((nconf = getnetconfigent(netid)) == NULL) { 103 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) { 107 if (nconf) 108 freenetconfigent(nconf);
|
| /nfsv41/nfs41-gate/usr/src/cmd/ypcmd/ |
| ypxfrd_client.c | 207 struct netconfig *nconf; local 215 if ((nconf = getnetconfigent(netid[i])) == NULL) { 221 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) == -1) { 222 freenetconfigent(nconf); 229 if (netdir_options(nconf, ND_SET_RESERVEDPORT, fd, 232 freenetconfigent(nconf); 245 freenetconfigent(nconf); 252 if (rpcb_getaddr(YPXFRD, 1, nconf, svcaddr, master) 256 freenetconfigent(nconf); 262 if ((clnt = __nis_clnt_create(fd, nconf, 0, svcaddr, 0 [all...] |
| ypxfrd_svc.c | 178 struct netconfig *nconf = NULL; local 189 if ((nconf = getnetconfigent(netid)) == NULL) 194 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) { 198 if (nconf) 199 freenetconfigent(nconf);
|
| /nfsv41/nfs41-gate/usr/src/cmd/fs.d/nfs/nfsstat/ |
| nfsstat_layout.c | 134 struct netconfig *nconf; local
|
| /nfsv41/nfs41-gate/usr/src/cmd/fs.d/cachefs/cfsd/ |
| cfsd_main.c | 114 struct netconfig *nconf = NULL; local 291 if ((nconf = getnetconfigent(netid)) == NULL) 302 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) { 307 if (nconf) 308 freenetconfigent(nconf);
|
| /nfsv41/nfs41-gate/usr/src/cmd/lvm/rpc.mdcommd/ |
| mdmn_commd_service.c | 302 struct netconfig *nconf = NULL; local 315 if ((nconf = getnetconfigent(netid)) == NULL) 320 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) { 324 if (nconf) 325 freenetconfigent(nconf);
|