Home
last modified time | relevance | path

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

/freebsd/cddl/lib/libdtrace/
H A Dnfs.d46 ci_protocol = P->rq_xprt->xp_master->xp_netid == "tcp" ? "ipv4" :
47 P->rq_xprt->xp_master->xp_netid == "udp" ? "ipv4" :
48 P->rq_xprt->xp_master->xp_netid == "tcp6" ? "ipv6" :
49 P->rq_xprt->xp_master->xp_netid == "udp6" ? "ipv6" :
52 ci_local = (P->rq_xprt->xp_master->xp_netid == "tcp" ||
53 P->rq_xprt->xp_master->xp_netid == "udp") ?
56 (P->rq_xprt->xp_master->xp_netid == "tcp6" ||
57 P->rq_xprt->xp_master->xp_netid == "udp6") ?
62 ci_remote = (P->rq_xprt->xp_master->xp_netid == "tcp" ||
63 P->rq_xprt->xp_master->xp_netid == "udp") ?
[all …]
H A Dnfssrv.d37 ci_protocol = P->req->rq_xprt->xp_master->xp_netid == "tcp" ? "ipv4" :
38 P->req->rq_xprt->xp_master->xp_netid == "tcp6" ? "ipv6" :
/freebsd/usr.sbin/rpcbind/
H A Drpcb_svc_com.c314 fnd = find_service(regp->r_prog, regp->r_vers, transp->xp_netid); in rpcbproc_getaddr_com()
320 if (!(uaddr = mergeaddr(transp, transp->xp_netid, in rpcbproc_getaddr_com()
340 transp->xp_netid, uaddr); in rpcbproc_getaddr_com()
371 if (((nconf = rpcbind_get_conf(transp->xp_netid)) == NULL) || in rpcbproc_uaddr2taddr_com()
404 if (((nconf = rpcbind_get_conf(transp->xp_netid)) == NULL) || in rpcbproc_taddr2uaddr_com()
510 xprt->xp_netid = rmt->netid; in create_rmtcall_fd()
670 uaddr = taddr2uaddr(rpcbind_get_conf(transp->xp_netid), caller); in rpcbproc_callit_com()
677 (unsigned long)a.rmt_proc, transp->xp_netid, in rpcbproc_callit_com()
683 rbl = find_service(a.rmt_prog, a.rmt_vers, transp->xp_netid); in rpcbproc_callit_com()
686 a.rmt_proc, transp->xp_netid, rbl); in rpcbproc_callit_com()
[all …]
H A Drpcb_svc_4.c267 uaddr = taddr2uaddr(rpcbind_get_conf(transp->xp_netid), in rpcbproc_getaddr_4_local()
297 uaddr = taddr2uaddr(rpcbind_get_conf(transp->xp_netid), in rpcbproc_getversaddr_4_local()
335 reg_nconf = rpcbind_get_conf(transp->xp_netid); in rpcbproc_getaddrlist_4_local()
419 rpcbs_getaddr(RPCBVERS4 - 2, prog, vers, transp->xp_netid, maddr); in rpcbproc_getaddrlist_4_local()
H A Drpcb_svc.c214 uaddr = taddr2uaddr(rpcbind_get_conf(transp->xp_netid), in rpcbproc_getaddr_3_local()
H A Dpmap_svc.c278 uaddr = taddr2uaddr(rpcbind_get_conf(xprt->xp_netid), in pmapproc_getport()
/freebsd/sys/rpc/
H A Dsvc_dg.c277 if (xprt->xp_netid) in svc_dg_destroy()
278 (void) mem_free(xprt->xp_netid, strlen(xprt->xp_netid) + 1); in svc_dg_destroy()
H A Dsvc_generic.c99 if (strcmp(xprt->xp_netid, nconf->nc_netid)) in svc_create()
308 xprt->xp_netid = strdup(nconf->nc_netid, M_RPC); in svc_tli_create()
H A Dsvc.h166 char *xp_netid; /* network token */ member
198 char *xp_netid; /* network token */
H A Dsvc.c513 if (xprt->xp_netid) { in svc_reg()
514 netid = strdup(xprt->xp_netid, M_RPC); in svc_reg()
547 if ((xprt->xp_netid == NULL) && (flag == 1) && netid) in svc_reg()
548 ((SVCXPRT *) xprt)->xp_netid = strdup(netid, M_RPC); in svc_reg()
H A Dsvc_vc.c515 if (xprt->xp_netid) in svc_vc_destroy_common()
516 (void) mem_free(xprt->xp_netid, strlen(xprt->xp_netid) + 1); in svc_vc_destroy_common()
/freebsd/lib/libc/rpc/
H A Dsvc_generic.c98 if (strcmp(l->xprt->xp_netid, nconf->nc_netid) == 0) { in svc_create()
297 xprt->xp_netid = strdup(nconf->nc_netid); in svc_tli_create()
H A Dsvc.c181 if (xprt->xp_netid) { in svc_reg()
182 netid = strdup(xprt->xp_netid); in svc_reg()
218 if ((xprt->xp_netid == NULL) && (flag == 1) && netid) in svc_reg()
219 ((SVCXPRT *) xprt)->xp_netid = strdup(netid); in svc_reg()
H A Dsvc_simple.c269 (strcmp(pl->p_netid, transp->xp_netid) == 0)) { in universal()
H A Dsvc_dg.c622 if (nconf = getnetconfigent(xprt->xp_netid)) { in cache_set()
680 if (nconf = getnetconfigent(xprt->xp_netid)) { in cache_get()
H A Dsvc_vc.c264 xprt->xp_netid = strdup(netid); in makefd_xprt()
406 free(xprt->xp_netid); in __svc_vc_dodestroy()
/freebsd/include/rpc/
H A Dsvc.h117 char *xp_netid; /* network token */ member
/freebsd/sys/nlm/
H A Dnlm_prot_impl.c1497 nconf = getnetconfigent(xprts[j]->xp_netid); in nlm_register_services()