Home
last modified time | relevance | path

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

12

/titanic_41/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()
/titanic_41/usr/src/lib/libnsl/rpc/
H A Dclnt_generic.c393 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) < 0) { in clnt_create_service_timed()
549 cl->cl_tp = strdup(nconf->nc_device); in clnt_tp_create_timed()
616 fd = t_open(nconf->nc_device, O_RDWR, NULL); in _clnt_tli_create_timed()
689 cl->cl_tp = strdup(nconf->nc_device); in _clnt_tli_create_timed()
716 if (nc->nc_device) { in _clnt_tli_create_timed()
717 cl->cl_tp = strdup(nc->nc_device); in _clnt_tli_create_timed()
H A Drpc_soc.c95 fd = t_open(nconf->nc_device, O_RDWR, &tinfo); in clnt_com_create()
208 fd = t_open(nconf->nc_device, O_RDWR, NULL); in svc_com_create()
527 if ((fd = t_open(nconf->nc_device, O_RDWR, &tinfo)) == -1) { in authdes_create()
H A Drtime_tli.c85 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) == -1) { in rtime_tli()
H A Dsvc_generic.c246 fd = t_open(nconf->nc_device, O_RDWR, &tinfo); in svc_tli_create_common()
543 xprt->xp_tp = strdup(nconf->nc_device); in svc_tli_create_common()
/titanic_41/usr/src/lib/libnsl/netselect/
H A Dnetselect.c369 ((netconfigp->nc_device = gettoken(NULL, FALSE)) == NULL) || in fgetnetconfig()
901 free_entry(netconfigp->nc_device); in netconfig_free()
923 nconf->nc_device = strdup(netconfigp->nc_device); in netconfig_dup()
928 nconf->nc_device)) { in netconfig_dup()
/titanic_41/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()
/titanic_41/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()
/titanic_41/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()
/titanic_41/usr/src/uts/common/sys/
H A Dnetconfig.h49 char *nc_device; /* device name for network id */ member
/titanic_41/usr/src/cmd/ypcmd/
H A Dyp_b_subr.c1099 ncb->nc_device =
1100 nca->nc_device ? strdup(nca->nc_device) : NULL;
1104 if (ncb->nc_device)
1105 free(ncb->nc_device);
1135 if (ncb->nc_device)
1136 free(ncb->nc_device);
H A Drpc_bootstrap.c91 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) == -1) {
279 if ((fd = t_open(nc->nc_device, O_RDWR, NULL)) == -1) {
/titanic_41/usr/src/cmd/avs/rdc/
H A Dsndrd.c224 (nconf->nc_device == (char *)NULL)) { in rdc_transport_open()
232 fd = t_open(nconf->nc_device, O_RDWR, (struct t_info *)NULL); in rdc_transport_open()
237 fd = t_open(nconf->nc_device, O_RDWR, NULL); in rdc_transport_open()
444 do_one(nconf->nc_device, nconf->nc_proto, protobp, svc); in do_all()
1100 nconf->nc_device); in cots_listen_event()
1693 nconf->nc_device); in rdcd_bindit()
1814 strcmp(nconf->nc_device, provider) == 0) { in bind_to_provider()
/titanic_41/usr/src/lib/librdc/common/
H A Dnetaddrs.c222 if (stat(nconf->nc_device, &sb) < 0) { in convert_nconf_to_knconf()
224 nconf->nc_device); in convert_nconf_to_knconf()
353 if ((fd = t_open(nconf->nc_device, O_RDWR, tinfo)) == -1) in get_the_addr()
/titanic_41/usr/src/lib/libnsl/yp/
H A Dyp_rsvd.c62 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) == -1) { in __yp_clnt_create_rsvdport_netid_req()
/titanic_41/usr/src/cmd/krb5/kwarn/
H A Dkwarnd_generic.c57 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) < 0) { in svc_create_local_service()
/titanic_41/usr/src/cmd/gss/gssd/
H A Dgssd_generic.c79 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) < 0) {
/titanic_41/usr/src/cmd/fs.d/autofs/
H A Dnfs_cast.c194 trans->tr_fd = t_open(nconf->nc_device, O_RDWR, NULL); in nfs_cast()
197 nconf->nc_device); in nfs_cast()
216 trans->tr_device = nconf->nc_device; in nfs_cast()
/titanic_41/usr/src/cmd/keyserv/
H A Dkey_generic.c114 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) < 0) {
/titanic_41/usr/src/lib/libbc/libc/yp/
H A Dyp_bind.c56 char *nc_device; /* device name for network id */ member
/titanic_41/usr/src/cmd/rexd/
H A Dmount_nfs.c702 fd = t_open(nconf->nc_device, O_RDWR, NULL); in get_addr()
749 if (stat(nconf->nc_device, &stbuf) < 0) { in get_knconf()
750 errprintf(NULL, "get_knconf: stat %s: %m", nconf->nc_device); in get_knconf()
/titanic_41/usr/src/cmd/ypcmd/yppasswd/
H A Dyppasswdd.c404 tli4 = (nconf4 != 0) ? t_open(nconf4->nc_device, O_RDWR, NULL) : -1; in main()
405 tli6 = (nconf6 != 0) ? t_open(nconf6->nc_device, O_RDWR, NULL) : -1; in main()
/titanic_41/usr/src/cmd/rpcsvc/
H A Drup.c510 nnp->nc_device = strdup(onp->nc_device);

12