/illumos-gate/usr/src/lib/libsocket/socket/ |
H A D | _soutil.c | 139 if (stat(net->nc_device, &stats) < 0) { in _s_netconfig_path() 160 *pathp = malloc(strlen(net->nc_device) + 1); in _s_netconfig_path() 166 (void) strcpy(*pathp, net->nc_device); in _s_netconfig_path()
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | clnt_generic.c | 390 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) < 0) { in clnt_create_service_timed() 546 cl->cl_tp = strdup(nconf->nc_device); in clnt_tp_create_timed() 613 fd = t_open(nconf->nc_device, O_RDWR, NULL); in _clnt_tli_create_timed() 685 cl->cl_tp = strdup(nconf->nc_device); in _clnt_tli_create_timed() 712 if (nc->nc_device) { in _clnt_tli_create_timed() 713 cl->cl_tp = strdup(nc->nc_device); in _clnt_tli_create_timed()
|
H A D | rpc_soc.c | 93 fd = t_open(nconf->nc_device, O_RDWR, &tinfo); in clnt_com_create() 206 fd = t_open(nconf->nc_device, O_RDWR, NULL); in svc_com_create() 525 if ((fd = t_open(nconf->nc_device, O_RDWR, &tinfo)) == -1) { in authdes_create()
|
H A D | rtime_tli.c | 83 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) == -1) { in rtime_tli()
|
H A D | svc_generic.c | 290 fd = t_open(nconf->nc_device, O_RDWR, &tinfo); in svc_tli_create_common() 610 xprt->xp_tp = strdup(nconf->nc_device); in svc_tli_create_common()
|
/illumos-gate/usr/src/lib/libnsl/netselect/ |
H A D | netselect.c | 367 ((netconfigp->nc_device = gettoken(NULL, FALSE)) == NULL) || in fgetnetconfig() 899 free_entry(netconfigp->nc_device); in netconfig_free() 921 nconf->nc_device = strdup(netconfigp->nc_device); in netconfig_dup() 926 nconf->nc_device)) { in netconfig_dup()
|
/illumos-gate/usr/src/cmd/rpcbind/ |
H A D | check_bound.c | 118 fdl->fd = t_open(fdl->nconf->nc_device, O_RDWR, NULL); in check_bound() 174 if ((fdl->fd = t_open(nconf->nc_device, O_RDWR, &tinfo)) < 0) { in add_bndlist() 243 if ((fd = t_open(nconf->nc_device, O_RDWR, &tinfo)) < 0) { in add_bndlist()
|
H A D | rpcbind.c | 406 if (stat(np->nc_device, &sb) == -1 && errno == ENOENT) { in check_netconfig() 409 np->nc_device); in check_netconfig() 411 np->nc_netid, np->nc_device); in check_netconfig() 416 np->nc_device); in check_netconfig() 517 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) < 0) { in init_transport()
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_rpc.c | 95 if ((fd = t_open(ncp->nc_device, O_RDWR, NULL)) == -1) { in fmd_rpc_svc_create_local() 97 ncp->nc_device, t_strerror(t_errno)); in fmd_rpc_svc_create_local()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_resolve.c | 80 if (stat(nconf->nc_device, &stbuf) < 0) { in get_knconf() 81 syslog(LOG_ERR, "get_knconf: stat %s: %m", nconf->nc_device); in get_knconf() 356 if ((fd = t_open(nconf->nc_device, O_RDWR, tinfo)) < 0) in get_server_addr()
|
H A D | nfs_tbind.c | 144 (nconf->nc_device == (char *)NULL)) { in nfslib_transport_open() 152 fd = t_open(nconf->nc_device, O_RDWR, (struct t_info *)NULL); in nfslib_transport_open() 157 fd = t_open(nconf->nc_device, O_RDWR, in nfslib_transport_open() 162 nconf->nc_device, t_errno); in nfslib_transport_open() 297 nconf->nc_device); in nfslib_bindit() 662 do_one(nconf->nc_device, nconf->nc_proto, in do_all() 1351 nconf->nc_device); in cots_listen_event() 1654 strcmp(nconf->nc_device, provider) == 0) { in bind_to_provider()
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | yp_b_subr.c | 1097 ncb->nc_device = 1098 nca->nc_device ? strdup(nca->nc_device) : NULL; 1102 if (ncb->nc_device) 1103 free(ncb->nc_device); 1133 if (ncb->nc_device) 1134 free(ncb->nc_device);
|
H A D | rpc_bootstrap.c | 89 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) == -1) { 277 if ((fd = t_open(nc->nc_device, O_RDWR, NULL)) == -1) {
|
H A D | ypxfrd_client.c | 230 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) == -1) {
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | netconfig.h | 49 char *nc_device; /* device name for network id */ member
|
/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | yp_rsvd.c | 60 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) == -1) { in __yp_clnt_create_rsvdport_netid_req()
|
H A D | yp_xdr.c | 350 if (!xdr_string(xdrs, &objp->nc_device, ~0)) in xdr_netconfig()
|
H A D | yp_bind.c | 436 fd = t_open(nconf->nc_device, O_RDWR, NULL); in tli_open_rsvdport() 1009 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) == -1) { in getclnt()
|
/illumos-gate/usr/src/cmd/gss/gssd/ |
H A D | gssd_generic.c | 77 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) < 0) {
|
/illumos-gate/usr/src/cmd/krb5/kwarn/ |
H A D | kwarnd_generic.c | 55 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) < 0) { in svc_create_local_service()
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | nfs_cast.c | 192 trans->tr_fd = t_open(nconf->nc_device, O_RDWR, NULL); in nfs_cast() 195 nconf->nc_device); in nfs_cast() 214 trans->tr_device = nconf->nc_device; in nfs_cast()
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | key_generic.c | 112 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) < 0) {
|
/illumos-gate/usr/src/cmd/ypcmd/yppasswd/ |
H A D | yppasswdd.c | 402 tli4 = (nconf4 != 0) ? t_open(nconf4->nc_device, O_RDWR, NULL) : -1; in main() 403 tli6 = (nconf6 != 0) ? t_open(nconf6->nc_device, O_RDWR, NULL) : -1; in main()
|
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | rup.c | 497 nnp->nc_device = strdup(onp->nc_device);
|
/illumos-gate/usr/src/lib/libwrap/ |
H A D | tli.c | 204 if (stat(config->nc_device, &from_config) == 0) {
|