Home
last modified time | relevance | path

Searched refs:nc_device (Results 1 – 25 of 41) sorted by relevance

12

/illumos-gate/usr/src/lib/libsocket/socket/
H A D_soutil.c139 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 Dclnt_generic.c390 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 Drpc_soc.c93 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 Drtime_tli.c83 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) == -1) { in rtime_tli()
H A Dsvc_generic.c290 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 Dnetselect.c367 ((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 Dcheck_bound.c118 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 Drpcbind.c406 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 Dfmd_rpc.c95 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 Dnfs_resolve.c80 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 Dnfs_tbind.c144 (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 Dyp_b_subr.c1097 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 Drpc_bootstrap.c89 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 Dypxfrd_client.c230 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) == -1) {
/illumos-gate/usr/src/uts/common/sys/
H A Dnetconfig.h49 char *nc_device; /* device name for network id */ member
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_rsvd.c60 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) == -1) { in __yp_clnt_create_rsvdport_netid_req()
H A Dyp_xdr.c350 if (!xdr_string(xdrs, &objp->nc_device, ~0)) in xdr_netconfig()
H A Dyp_bind.c436 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 Dgssd_generic.c77 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) < 0) {
/illumos-gate/usr/src/cmd/krb5/kwarn/
H A Dkwarnd_generic.c55 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 Dnfs_cast.c192 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 Dkey_generic.c112 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) < 0) {
/illumos-gate/usr/src/cmd/ypcmd/yppasswd/
H A Dyppasswdd.c402 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 Drup.c497 nnp->nc_device = strdup(onp->nc_device);
/illumos-gate/usr/src/lib/libwrap/
H A Dtli.c204 if (stat(config->nc_device, &from_config) == 0) {

12