Home
last modified time | relevance | path

Searched refs:rq_xprt (Results 1 – 22 of 22) 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") ?
55 P->rq_xprt->xp_xpc.xpc_lcladdr.buf)->sin_addr.S_un.S_addr) :
56 (P->rq_xprt->xp_master->xp_netid == "tcp6" ||
57 P->rq_xprt->xp_master->xp_netid == "udp6") ?
59 P->rq_xprt->xp_xpc.xpc_lcladdr.buf)->sin6_addr) :
[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" :
41 ci_local = inet_ntoa6(&((conn_t *)P->req->rq_xprt->xp_xpc.
44 ci_remote = inet_ntoa6(&((conn_t *)P->req->rq_xprt->xp_xpc.
50 noi_xid = P->req->rq_xprt->xp_xid;
/freebsd/lib/libc/rpc/
H A Dsvc_auth_unix.c120 rqst->rq_xprt->xp_verf.oa_flavor = in _svcauth_unix()
122 rqst->rq_xprt->xp_verf.oa_base = in _svcauth_unix()
124 rqst->rq_xprt->xp_verf.oa_length = in _svcauth_unix()
127 rqst->rq_xprt->xp_verf.oa_flavor = AUTH_NULL; in _svcauth_unix()
128 rqst->rq_xprt->xp_verf.oa_length = 0; in _svcauth_unix()
H A Dsvc_auth.c102 SVC_AUTH(rqst->rq_xprt).svc_ah_ops = &svc_auth_null_ops; in _authenticate()
103 SVC_AUTH(rqst->rq_xprt).svc_ah_private = NULL; in _authenticate()
104 rqst->rq_xprt->xp_verf.oa_flavor = _null_auth.oa_flavor; in _authenticate()
105 rqst->rq_xprt->xp_verf.oa_length = 0; in _authenticate()
H A Dsvc_auth_des.c307 rqst->rq_xprt->xp_verf.oa_flavor = AUTH_DES; in _svcauth_des()
308 rqst->rq_xprt->xp_verf.oa_base = msg->rm_call.cb_verf.oa_base; in _svcauth_des()
309 rqst->rq_xprt->xp_verf.oa_length = in _svcauth_des()
H A Dsvc.c639 r.rq_xprt = xprt; in svc_getreq_common()
/freebsd/sys/rpc/
H A Dsvc_auth.c92 if ((rqst->rq_xprt->xp_tls & RPCTLS_FLAGS_DISABLED) != 0) in _authenticate()
97 if ((rqst->rq_xprt->xp_tls & RPCTLS_FLAGS_DISABLED) != 0) in _authenticate()
102 if ((rqst->rq_xprt->xp_tls & RPCTLS_FLAGS_DISABLED) != 0) in _authenticate()
176 SVCXPRT *xprt = rqst->rq_xprt; in svc_getcred()
H A Dsvc.c663 SVCXPRT *xprt = rqstp->rq_xprt; in svc_sendreply_common()
741 SVCXPRT *xprt = rqstp->rq_xprt; in svcerr_noproc()
763 SVCXPRT *xprt = rqstp->rq_xprt; in svcerr_decode()
785 SVCXPRT *xprt = rqstp->rq_xprt; in svcerr_systemerr()
807 SVCXPRT *xprt = rqstp->rq_xprt; in svcerr_auth()
839 SVCXPRT *xprt = rqstp->rq_xprt; in svcerr_noprog()
861 SVCXPRT *xprt = rqstp->rq_xprt; in svcerr_progvers()
943 r->rq_xprt = xprt; in svc_getreq()
1034 SVCXPRT *xprt = rqstp->rq_xprt; in svc_executereq()
1487 if (rqstp->rq_xprt) { in svc_freereq()
[all …]
H A Dsvc.h280 SVCXPRT *rq_xprt; /* associated transport */ member
292 (struct sockaddr *) &(rq)->rq_xprt->xp_rtaddr)
413 SVCXPRT *rq_xprt; /* associated transport */ member
/freebsd/usr.sbin/rpc.ypupdated/
H A Dypupdated_server.c106 svcerr_auth(svcreq->rq_xprt, astat); in ypu_change_1_svc()
140 svcerr_auth(svcreq->rq_xprt, astat); in ypu_insert_1_svc()
174 svcerr_auth(svcreq->rq_xprt, astat); in ypu_delete_1_svc()
208 svcerr_auth(svcreq->rq_xprt, astat); in ypu_store_1_svc()
/freebsd/usr.sbin/ypserv/
H A Dyp_dnslookup.c417 if (getsockopt(rqstp->rq_xprt->xp_fd, SOL_SOCKET, in yp_async_lookup_name()
425 yp_find_dnsqent(svcudp_get_xid(rqstp->rq_xprt),BY_RPC_XID) != NULL) in yp_async_lookup_name()
433 q->xprt = rqstp->rq_xprt; in yp_async_lookup_name()
475 if (getsockopt(rqstp->rq_xprt->xp_fd, SOL_SOCKET, in yp_async_lookup_addr()
483 yp_find_dnsqent(svcudp_get_xid(rqstp->rq_xprt),BY_RPC_XID) != NULL) in yp_async_lookup_addr()
518 q->xprt = rqstp->rq_xprt; in yp_async_lookup_addr()
H A Dyp_server.c313 svc_sendreply(rqstp->rq_xprt, (xdrproc_t)xdr_ypresp_xfr, &result); \
327 rqhost = svc_getcaller(rqstp->rq_xprt);
560 svc_sendreply(rqstp->rq_xprt, (xdrproc_t)xdr_my_ypresp_all, &result);
H A Dyp_access.c237 rqhost = svc_getcaller(rqstp->rq_xprt);
/freebsd/lib/librpcsec_gss/
H A Dsvc_rpcsec_gss.c607 if (!svc_getargs(rqst->rq_xprt, in svc_rpc_gss_accept_sec_context()
820 rqst->rq_xprt->xp_verf.oa_flavor = RPCSEC_GSS; in svc_rpc_gss_nextverf()
821 rqst->rq_xprt->xp_verf.oa_base = (caddr_t)client->cl_verf.value; in svc_rpc_gss_nextverf()
822 rqst->rq_xprt->xp_verf.oa_length = (u_int)client->cl_verf.length; in svc_rpc_gss_nextverf()
974 rqst->rq_xprt->xp_verf = _null_auth; in svc_rpc_gss()
1071 rqst->rq_xprt->xp_verf.oa_flavor = AUTH_NULL; in svc_rpc_gss()
1072 rqst->rq_xprt->xp_verf.oa_length = 0; in svc_rpc_gss()
1075 call_stat = svc_sendreply(rqst->rq_xprt, in svc_rpc_gss()
1118 SVC_AUTH(rqst->rq_xprt).svc_ah_ops = &svc_auth_gss_ops; in svc_rpc_gss()
1119 SVC_AUTH(rqst->rq_xprt).svc_ah_private = client; in svc_rpc_gss()
[all …]
/freebsd/usr.sbin/rpc.yppasswdd/
H A Dyppasswdd_server.c497 rqhost = svc_getcaller(rqstp->rq_xprt); in yppasswdproc_update_1_svc()
514 svcerr_auth(rqstp->rq_xprt, AUTH_BADCRED); in yppasswdproc_update_1_svc()
574 svcerr_decode(rqstp->rq_xprt); in yppasswdproc_update_1_svc()
754 transp = rqstp->rq_xprt; in yppasswdproc_update_master_1_svc()
782 svcerr_auth(rqstp->rq_xprt, AUTH_BADCRED); in yppasswdproc_update_master_1_svc()
/freebsd/usr.sbin/rpc.statd/
H A Dprocs.c86 claddr = (struct sockaddr *) (svc_getrpccaller(req->rq_xprt)->buf) ; in sm_check_hostname()
134 claddr = (struct sockaddr *) (svc_getrpccaller(req->rq_xprt)->buf) ; in sm_stat_1_svc()
/freebsd/usr.sbin/rpc.ypxfrd/
H A Dypxfrd_server.c140 svc_sendreply(rqstp->rq_xprt, (xdrproc_t)xdr_my_xfr, &result);
/freebsd/usr.sbin/rpc.lockd/
H A Dlock_proc.c66 #define getrpcaddr(rqstp) (struct sockaddr *)(svc_getrpccaller((rqstp)->rq_xprt)->buf)
85 addr = svc_getrpccaller(req->rq_xprt)->buf; in log_from_addr()
491 addr = svc_getrpccaller(rqstp->rq_xprt)->buf; in nlm_test_msg_1_svc()
950 addr = svc_getrpccaller(rqstp->rq_xprt)->buf; in nlm4_test_msg_4_svc()
H A Dlockd_lock.c1917 (struct sockaddr *)svc_getrpccaller(rqstp->rq_xprt)->buf, lckarg->alock.caller_name); in getlock()
/freebsd/include/rpc/
H A Dsvc.h157 SVCXPRT *rq_xprt; /* associated transport */ member
/freebsd/usr.sbin/ypldap/
H A Dyp.c574 svcerr_auth(req->rq_xprt, AUTH_FAILED); in ypproc_all_2_svc()
/freebsd/sys/rpc/rpcsec_tls/
H A Drpctls_impl.c786 xprt = rqst->rq_xprt; in _svcauth_rpcsec_tls()