Home
last modified time | relevance | path

Searched refs:xp_netid (Results 1 – 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/cmd/rpcbind/
H A Drpcb_svc.c104 if (strcasecmp(transp->xp_netid, loopback_dg) && in rpcb_service_3()
105 strcasecmp(transp->xp_netid, loopback_vc) && in rpcb_service_3()
106 strcasecmp(transp->xp_netid, loopback_vc_ord)) { in rpcb_service_3()
109 uaddr = taddr2uaddr(rpcbind_get_conf(transp->xp_netid), in rpcb_service_3()
127 if (strcasecmp(transp->xp_netid, loopback_dg) && in rpcb_service_3()
128 strcasecmp(transp->xp_netid, loopback_vc) && in rpcb_service_3()
129 strcasecmp(transp->xp_netid, loopback_vc_ord)) { in rpcb_service_3()
132 uaddr = taddr2uaddr(rpcbind_get_conf(transp->xp_netid), in rpcb_service_3()
H A Drpcb_svc_4.c101 if (strcasecmp(transp->xp_netid, loopback_dg) && in rpcb_service_4()
102 strcasecmp(transp->xp_netid, loopback_vc) && in rpcb_service_4()
103 strcasecmp(transp->xp_netid, loopback_vc_ord)) { in rpcb_service_4()
118 if (strcasecmp(transp->xp_netid, loopback_dg) && in rpcb_service_4()
119 strcasecmp(transp->xp_netid, loopback_vc) && in rpcb_service_4()
120 strcasecmp(transp->xp_netid, loopback_vc_ord)) { in rpcb_service_4()
244 trans_conf = rpcbind_get_conf(transp->xp_netid); in rpcbproc_getaddrlist()
259 reg_nconf = rpcbind_get_conf(transp->xp_netid); in rpcbproc_getaddrlist()
339 rpcbs_getaddr(RPCBVERS_4_STAT, prog, vers, transp->xp_netid, maddr); in rpcbproc_getaddrlist()
H A Drpcb_svc_com.c356 trans_conf = rpcbind_get_conf(transp->xp_netid); in rpcbproc_getaddr_com()
371 fnd = find_service(regp->r_prog, regp->r_vers, transp->xp_netid); in rpcbproc_getaddr_com()
377 if (!(*result = mergeaddr(transp, transp->xp_netid, in rpcbproc_getaddr_com()
407 transp->xp_netid, *result); in rpcbproc_getaddr_com()
457 if (((nconf = rpcbind_get_conf(rqstp->rq_xprt->xp_netid)) == NULL) || in rpcbproc_uaddr2taddr_com()
479 if ((nconf = rpcbind_get_conf(rqstp->rq_xprt->xp_netid)) == NULL) in rpcbproc_taddr2uaddr_com()
885 rbl = find_service(arg.prog, arg.vers, transp->xp_netid); in rpcbproc_callit_com()
888 arg.proc, transp->xp_netid, rbl); in rpcbproc_callit_com()
900 find_versions(arg.prog, transp->xp_netid, in rpcbproc_callit_com()
917 char *uaddr = mergeaddr(transp, transp->xp_netid, in rpcbproc_callit_com()
[all …]
H A Drpcb_check.c161 if ((conf = rpcbind_get_conf(transp->xp_netid)) == 0) { in rpcb_log()
198 if ((conf = rpcbind_get_conf(transp->xp_netid)) == 0) { in rpcb_check()
/illumos-gate/usr/src/uts/common/rpc/
H A Dsvc_gen.c194 xprt->xp_netid = NULL; in svc_tli_kcreate()
196 xprt->xp_netid = kmem_alloc(strlen(netid) + 1, KM_SLEEP); in svc_tli_kcreate()
197 (void) strcpy(xprt->xp_netid, netid); in svc_tli_kcreate()
H A Dsvc.h420 #define xp_netid xp_xpc.xpc_netid macro
496 char *xp_netid; /* network token */ member
524 #define svc_getnetid(x) ((x)->xp_netid)
H A Dsvc_cots.c283 if (xprt->xp_netid) in svc_cots_kdestroy()
284 kmem_free(xprt->xp_netid, strlen(xprt->xp_netid) + 1); in svc_cots_kdestroy()
H A Dsvc_clts.c196 if (xprt->xp_netid) in svc_clts_kdestroy()
197 kmem_free(xprt->xp_netid, strlen(xprt->xp_netid) + 1); in svc_clts_kdestroy()
H A Dsvc_rdma.c280 xprt->xp_netid = NULL; in svc_rdma_kcreate()
616 clone_xprt->xp_netid = conn->c_netid; in svc_rdma_krecv()
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc_door.c303 if (xprt->xp_netid) in svc_door_xprtfree()
304 free(xprt->xp_netid); in svc_door_xprtfree()
408 xprt->xp_netid = strdup("door"); in svc_door_create()
409 if (xprt->xp_netid == NULL) { in svc_door_create()
465 if (parent->xp_netid) { in svc_door_xprtcopy()
466 xprt->xp_netid = (char *)strdup(parent->xp_netid); in svc_door_xprtcopy()
467 if (xprt->xp_netid == NULL) { in svc_door_xprtcopy()
H A Dsvc_dg.c102 if (xprt->xp_netid) in svc_dg_xprtfree()
103 free(xprt->xp_netid); in svc_dg_xprtfree()
222 if (parent->xp_netid) { in svc_dg_xprtcopy()
223 xprt->xp_netid = (char *)strdup(parent->xp_netid); in svc_dg_xprtcopy()
224 if (xprt->xp_netid == NULL) { in svc_dg_xprtcopy()
442 if ((nconf = getnetconfigent(xprt->xp_netid)) != NULL) { in svc_dg_recv()
819 if (nconf = getnetconfigent(xprt->xp_netid)) { in cache_set()
902 if (nconf = getnetconfigent(xprt->xp_netid)) { in cache_get()
H A Dsvc_vc.c171 if (xprt->xp_netid) in svc_vc_xprtfree()
172 free(xprt->xp_netid); in svc_vc_xprtfree()
324 if (parent->xp_netid) { in svc_vc_xprtcopy()
325 xprt->xp_netid = (char *)strdup(parent->xp_netid); in svc_vc_xprtcopy()
326 if (xprt->xp_netid == NULL) { in svc_vc_xprtcopy()
459 if (xprt->xp_netid) in svc_fd_xprtfree()
460 free(xprt->xp_netid); in svc_fd_xprtfree()
608 if (parent->xp_netid) { in svc_fd_xprtcopy()
609 xprt->xp_netid = (char *)strdup(parent->xp_netid); in svc_fd_xprtcopy()
610 if (xprt->xp_netid == NULL) { in svc_fd_xprtcopy()
[all …]
H A Dsvc_generic.c143 if (strcmp(l->xprt->xp_netid, nconf->nc_netid) == 0) { in svc_create()
603 xprt->xp_netid = strdup(nconf->nc_netid); in svc_tli_create_common()
604 if (xprt->xp_netid == NULL) { in svc_tli_create_common()
614 if (xprt->xp_netid) in svc_tli_create_common()
615 free(xprt->xp_netid); in svc_tli_create_common()
H A Dsvc.c871 if (xprt->xp_netid) { in svc_reg()
872 netid = strdup(xprt->xp_netid); in svc_reg()
917 if ((xprt->xp_netid == NULL) && (flag == 1) && netid) in svc_reg()
918 if ((((SVCXPRT *)xprt)->xp_netid = strdup(netid)) == NULL) { in svc_reg()
981 if (xprt->xp_netid) { in svc_register()
982 netid = strdup(xprt->xp_netid); in svc_register()
1018 if ((xprt->xp_netid == NULL) && (flag == 1) && netid) in svc_register()
1019 if ((xprt->xp_netid = strdup(netid)) == NULL) { in svc_register()
1451 if ((xprt->xp_netid == NULL) || in _svc_prog_dispatch()
1453 (strcmp(xprt->xp_netid, in _svc_prog_dispatch()
H A Dsvc_simple.c262 (strcmp(pl->p_netid, transp->xp_netid) == 0)) { in universal()
/illumos-gate/usr/src/ucblib/librpcsoc/
H A Dsvc_tcp.c157 xprt->xp_netid = NULL;
207 xprt->xp_netid = NULL;
H A Dsvc_udp.c162 xprt->xp_netid = NULL;
/illumos-gate/usr/src/cmd/keyserv/
H A Dkey_generic.c96 if (strcmp(l->xprt->xp_netid, nconf->nc_netid) == 0) {
H A Dkeyserv.c1329 trans->xp_netid, trans->xp_tp);
/illumos-gate/usr/src/cmd/fs.d/nfs/rquotad/
H A Drpc.rquotad.c662 nconf = getnetconfigent(transp->xp_netid);
665 transp->xp_netid);
/illumos-gate/usr/src/cmd/ypcmd/ypupdated/
H A Drpc.ypupdated.c372 if ((nconf = getnetconfigent(transp->xp_netid)) == NULL) in addr2netname()
/illumos-gate/usr/src/cmd/ypcmd/
H A Dyp_b_subr.c852 if ((nconf = getnetconfigent(transp->xp_netid))
892 transp->xp_netid);
/illumos-gate/usr/src/cmd/ypcmd/yppasswd/
H A Dchangepasswd.c161 if (strcmp(transp->xp_netid, "ticlts") == 0) { in changepasswd()
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dmountd.c801 netid = transp->xp_netid; in caller_is_local()
1138 lq->ld_netid = strdup(transp->xp_netid); in enqueue_logging_data()
1208 cln->netid = transp->xp_netid; in cln_init_common()
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dshim_changepasswd.c199 if (strcmp(transp->xp_netid, "ticlts") == 0) { in shim_changepasswd()

12