/illumos-gate/usr/src/lib/libfsmgt/common/ |
H A D | nfs_netcfg.c | 48 struct netconfig *nconf; local 62 while (nconf = getnetconfig(nc)) { 80 return_list[(*num_elements)] = strdup(nconf->nc_netid);
|
/illumos-gate/usr/src/cmd/gss/gssd/ |
H A D | 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_add [all...] |
H A D | 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;
|
H A D | 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);
|
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | mountd.h | 78 struct netconfig *nconf; member in struct:cln
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | 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 an [all...] |
/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | 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...] |
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | 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);
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | 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 [all...] |
/illumos-gate/usr/src/cmd/krb5/kwarn/ |
H A D | 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_add [all...] |
H A D | 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;
|
H A D | 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);
|
/illumos-gate/usr/src/lib/librpcsvc/common/ |
H A D | bindresvport.c | 79 struct netconfig *nconf; local 82 nconf = getnetconfigent(cl->cl_netid); 83 if (nconf == NULL) 85 if ((nconf->nc_semantics != NC_TPI_CLTS) || 86 (strcmp(nconf->nc_protofmly, NC_INET) && 87 strcmp(nconf->nc_protofmly, NC_INET6)) || 88 strcmp(nconf->nc_proto, NC_UDP)) { 89 freenetconfigent(nconf); 92 if (strcmp(nconf->nc_protofmly, NC_INET6) == 0) 94 freenetconfigent(nconf); [all...] |
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | 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 an [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | 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);
|
H A D | pmap_clnt.c | 68 struct netconfig *nconf; local 73 nconf = __rpc_getconfip(protocol == IPPROTO_UDP ? "udp" : "tcp"); 74 if (!nconf) 77 na = uaddr2taddr(nconf, buf); 79 freenetconfigent(nconf); 82 rslt = rpcb_set(program, version, nconf, na); 85 freenetconfigent(nconf); 96 struct netconfig *nconf; local 100 nconf = __rpc_getconfip("udp"); 101 if (nconf) { [all...] |
H A D | svc_generic.c | 116 struct netconfig *nconf; local 136 while (nconf = __rpc_getconf(handle)) { 139 if (strcmp(l->xprt->xp_netid, nconf->nc_netid) == 0) { 141 (void) rpcb_unset(prognum, versnum, nconf); 143 dispatch, nconf) == FALSE) 147 prognum, versnum, nconf->nc_netid); 156 xprt = svc_tp_create(dispatch, prognum, versnum, nconf); 178 * It tries to create a server for "nconf" and registers the service 183 const rpcvers_t versnum, const struct netconfig *nconf) 188 if (nconf 182 svc_tp_create(void (*dispatch)(), const rpcprog_t prognum, const rpcvers_t versnum, const struct netconfig *nconf) argument 213 svc_tli_create(const int fd, const struct netconfig *nconf, const struct t_bind *bindaddr, const uint_t sendsz, const uint_t recvsz) argument 229 svc_tli_create_common(const int ofd, const struct netconfig *nconf, const struct t_bind *bindaddr, const uint_t sendsz, const uint_t recvsz, boolean_t mlp_flag) argument [all...] |
/illumos-gate/usr/src/cmd/rpcbind/ |
H A D | rpcb_stat.c | 101 struct netconfig *nconf; local 128 nconf = rpcbind_get_conf(netid); 129 if (nconf == NULL) { 140 al->netid = nconf->nc_netid; 181 struct netconfig *nconf; local 210 nconf = rpcbind_get_conf(netid); 211 if (nconf == NULL) { 223 rl->netid = nconf->nc_netid;
|
H A D | check_bound.c | 67 struct netconfig *nconf; member in struct:fdlist 95 na = uaddr2taddr(fdl->nconf, uaddr); 118 fdl->fd = t_open(fdl->nconf->nc_device, O_RDWR, NULL); 146 add_bndlist(struct netconfig *nconf, struct t_bind *taddr, struct t_bind *baddr) argument 154 newnconf = getnetconfigent(nconf->nc_netid); 164 fdl->nconf = newnconf; 174 if ((fdl->fd = t_open(nconf->nc_device, O_RDWR, &tinfo)) < 0) { 182 nconf->nc_netid, t_errlist[t_errno]); 208 nconf->nc_netid, t_errlist[t_errno]); 238 nconf [all...] |
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypset.c | 250 struct netconfig *nconf; local 264 /* get nconf, netbuf structures */ 265 nconf = getnetconfigent(server->cl_netid); 295 ypbind_info.ypbind_nconf = nconf;
|
H A D | ypupdated.c | 141 struct netconfig *nconf = NULL; local 150 if ((nconf = getnetconfigent(netid)) == NULL) { 160 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) { 168 if (nconf) 169 freenetconfigent(nconf); 390 struct netconfig *nconf; local 396 if ((nconf = getnetconfigent(transp->xp_netid)) 399 if (netdir_getbyaddr(nconf, &hostservs, who) != 0) { 400 (void) freenetconfigent(nconf); 408 (void) freenetconfigent(nconf); [all...] |
H A D | ypxfrd_client.c | 216 struct netconfig *nconf; local 224 if ((nconf = getnetconfigent(netid[i])) == NULL) { 230 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) == -1) { 231 freenetconfigent(nconf); 238 if (netdir_options(nconf, ND_SET_RESERVEDPORT, fd, 241 freenetconfigent(nconf); 255 freenetconfigent(nconf); 262 if (rpcb_getaddr(YPXFRD, 1, nconf, svcaddr, master) 266 freenetconfigent(nconf); 272 if ((clnt = __nis_clnt_create(fd, nconf, [all...] |
H A D | 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);
|
/illumos-gate/usr/src/cmd/ypcmd/ypupdated/ |
H A D | rpc.ypupdated.c | 374 struct netconfig *nconf; local 380 if ((nconf = getnetconfigent(transp->xp_netid)) 383 if (netdir_getbyaddr(nconf, &hostservs, who) != 0) { 384 (void) freenetconfigent(nconf); 390 (void) freenetconfigent(nconf);
|
/illumos-gate/usr/src/cmd/lvm/rpc.mdcommd/ |
H A D | 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);
|