Home
last modified time | relevance | path

Searched refs:rq_xprt (Results 1 – 25 of 48) sorted by relevance

12

/titanic_41/usr/src/lib/libdtrace/common/
H A Dnfs.d46 ci_protocol = P->rq_xprt->xp_xpc.xpc_type == T_RDMA ? "rdma" :
47 P->rq_xprt->xp_xpc.xpc_netid == "tcp" ? "ipv4" :
48 P->rq_xprt->xp_xpc.xpc_netid == "udp" ? "ipv4" :
49 P->rq_xprt->xp_xpc.xpc_netid == "tcp6" ? "ipv6" :
50 P->rq_xprt->xp_xpc.xpc_netid == "udp6" ? "ipv6" :
53 ci_local = (P->rq_xprt->xp_xpc.xpc_netid == "tcp" ||
54 P->rq_xprt->xp_xpc.xpc_netid == "udp") ?
56 P->rq_xprt->xp_xpc.xpc_lcladdr.buf)->sin_addr.S_un.S_addr) :
57 (P->rq_xprt->xp_xpc.xpc_netid == "tcp6" ||
58 P->rq_xprt->xp_xpc.xpc_netid == "udp6") ?
[all …]
/titanic_41/usr/src/uts/common/rpc/sec_gss/
H A Dsvc_rpcsec_gss.c227 SVCXPRT *rq_xprt; member
527 req->rq_xprt->xp_cookie = client_data->cookie;
560 svcauth = &req->rq_xprt->xp_auth;
611 req->rq_xprt->xp_cookie = client_data->cookie;
700 rqst->rq_xprt = xprt; in do_gss_accept()
805 (void) svc_sendreply(rqst->rq_xprt, in do_gss_accept()
864 if (!svc_sendreply(rqst->rq_xprt, __xdr_rpc_gss_init_res, in do_gss_accept()
902 retval = do_gss_accept(arg->rq_xprt, arg->rpc_call_arg, arg->msg, in svcrpcsec_gss_taskq_func()
910 svc_clone_unlink(arg->rq_xprt); in svcrpcsec_gss_taskq_func()
911 svc_clone_free(arg->rq_xprt); in svcrpcsec_gss_taskq_func()
[all …]
/titanic_41/usr/src/uts/common/rpc/sec/
H A Dsec_svc.c98 rqst->rq_xprt->xp_verf.oa_flavor = _null_auth.oa_flavor; in sec_svc_msg()
99 rqst->rq_xprt->xp_verf.oa_length = 0; in sec_svc_msg()
104 rqst->rq_xprt->xp_auth.svc_ah_ops = svc_authany_ops; in sec_svc_msg()
105 rqst->rq_xprt->xp_auth.svc_ah_private = NULL; in sec_svc_msg()
112 rqst->rq_xprt->xp_cookie = (void *) AUTH_NULL; in sec_svc_msg()
116 rqst->rq_xprt->xp_cookie = (void *) AUTH_UNIX; in sec_svc_msg()
120 rqst->rq_xprt->xp_cookie = (void *) AUTH_SHORT; in sec_svc_msg()
124 rqst->rq_xprt->xp_cookie = (void *) AUTH_DES; in sec_svc_msg()
H A Dsvc_authu.c122 rqst->rq_xprt->xp_verf.oa_flavor = AUTH_NULL; in _svcauth_unix()
123 rqst->rq_xprt->xp_verf.oa_length = 0; in _svcauth_unix()
H A Dsvcauthdes.c346 rqst->rq_xprt->xp_verf.oa_flavor = AUTH_DES; in _svcauth_des()
347 rqst->rq_xprt->xp_verf.oa_base = msg->rm_call.cb_verf.oa_base; in _svcauth_des()
348 rqst->rq_xprt->xp_verf.oa_length = in _svcauth_des()
350 if (rqst->rq_xprt->xp_verf.oa_length > MAX_AUTH_BYTES) { in _svcauth_des()
/titanic_41/usr/src/cmd/ypcmd/
H A Dypxfrd_server.c136 xprt = rqstp->rq_xprt; in getdbm_1_svc()
151 if (!svc_sendreply(rqstp->rq_xprt, xdr_answer, in getdbm_1_svc()
153 svcerr_systemerr(rqstp->rq_xprt); in getdbm_1_svc()
163 if (!svc_sendreply(rqstp->rq_xprt, xdr_answer, in getdbm_1_svc()
165 svcerr_systemerr(rqstp->rq_xprt); in getdbm_1_svc()
176 if (!svc_sendreply(rqstp->rq_xprt, xdr_answer, in getdbm_1_svc()
178 svcerr_systemerr(rqstp->rq_xprt); in getdbm_1_svc()
233 if (!svc_sendreply(rqstp->rq_xprt, xdr_myfyl, (caddr_t)&m)) { in getdbm_1_svc()
234 svcerr_systemerr(rqstp->rq_xprt); in getdbm_1_svc()
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs4_dispatch.c238 the_xid = req->rq_xprt->xp_xid; in rfs4_find_dr()
259 drp->dr_addr.len == req->rq_xprt->xp_rtaddr.len && in rfs4_find_dr()
261 (caddr_t)req->rq_xprt->xp_rtaddr.buf, in rfs4_find_dr()
306 if (drp->dr_addr.maxlen < req->rq_xprt->xp_rtaddr.len) { in rfs4_find_dr()
309 drp->dr_addr.maxlen = req->rq_xprt->xp_rtaddr.len; in rfs4_find_dr()
329 drp->dr_addr.len = req->rq_xprt->xp_rtaddr.len; in rfs4_find_dr()
331 bcopy((caddr_t)req->rq_xprt->xp_rtaddr.buf, in rfs4_find_dr()
604 if (!svc_sendreply(req->rq_xprt, xdr_COMPOUND4res_srv, (char *)rbp)) { in rfs4_resource_err()
606 struct svc_req *, req->rq_xprt, char *, rbp); in rfs4_resource_err()
607 svcerr_systemerr(req->rq_xprt); in rfs4_resource_err()
H A Dnfs4_common.c94 if (req->rq_xprt->xp_type == T_COTS_ORD || in rfs4_tsize()
95 req->rq_xprt->xp_type == T_COTS) in rfs4_tsize()
97 if (req->rq_xprt->xp_type == T_RDMA) in rfs4_tsize()
H A Dnfs_common.c320 if (req->rq_xprt->xp_type == T_COTS_ORD || in rfs3_tsize()
321 req->rq_xprt->xp_type == T_COTS) in rfs3_tsize()
323 if (req->rq_xprt->xp_type == T_RDMA) in rfs3_tsize()
H A Dnfs_auth.c840 claddr = svc_getrpccaller(req->rq_xprt); in nfsauth_cache_get()
845 SVC_GETADDRMASK(req->rq_xprt, SVC_TATTR_ADDRMASK, (void **)&taddrmask); in nfsauth_cache_get()
1061 res = nfsauth_retrieve(exi, svc_getnetid(req->rq_xprt), flavor, in nfsauth_cache_get()
1143 ran->ran_netid = strdup(svc_getnetid(req->rq_xprt)); in nfsauth_cache_get()
1215 if (nfsauth_retrieve(exi, svc_getnetid(req->rq_xprt), flavor, &addr, in nfsauth_cache_get()
1299 flavor = (int)(uintptr_t)req->rq_xprt->xp_cookie; in nfsauth_access()
/titanic_41/usr/src/uts/common/klm/
H A Dnlm_service.c337 netid = svc_getnetid(sr->rq_xprt); in nlm_do_test()
338 addr = svc_getrpccaller(sr->rq_xprt); in nlm_do_test()
479 netid = svc_getnetid(sr->rq_xprt); in nlm_do_lock()
480 addr = svc_getrpccaller(sr->rq_xprt); in nlm_do_lock()
580 if (!svc_reserve_thread(sr->rq_xprt)) { in nlm_do_lock()
633 if (!(*reply_cb)(sr->rq_xprt, resp)) in nlm_do_lock()
634 svcerr_systemerr(sr->rq_xprt); in nlm_do_lock()
659 (void) svc_detach_thread(sr->rq_xprt); in nlm_do_lock()
784 netid = svc_getnetid(sr->rq_xprt); in nlm_do_cancel()
785 addr = svc_getrpccaller(sr->rq_xprt); in nlm_do_cancel()
[all …]
/titanic_41/usr/src/cmd/krb5/kadmin/server/
H A Dserver_stubs.c105 svc_getrpccaller(req->rq_xprt)->buf; in client_addr()
551 audit_kadmind_unauth(rqstp->rq_xprt, l_port, in create_principal_2_svc()
564 audit_kadmind_auth(rqstp->rq_xprt, l_port, in create_principal_2_svc()
748 audit_kadmind_unauth(rqstp->rq_xprt, l_port, in delete_principal_2_svc()
759 audit_kadmind_auth(rqstp->rq_xprt, l_port, in delete_principal_2_svc()
823 audit_kadmind_unauth(rqstp->rq_xprt, l_port, in modify_principal_2_svc()
835 audit_kadmind_auth(rqstp->rq_xprt, l_port, in modify_principal_2_svc()
925 audit_kadmind_unauth(rqstp->rq_xprt, l_port, in rename_principal_2_svc()
944 audit_kadmind_auth(rqstp->rq_xprt, l_port, in rename_principal_2_svc()
1022 audit_kadmind_unauth(rqstp->rq_xprt, l_port, in get_principal_2_svc()
[all …]
H A Dipropd_svc.c159 audit_kadmind_unauth(rqstp->rq_xprt, l_port, in iprop_get_updates_1()
183 audit_kadmind_auth(rqstp->rq_xprt, l_port, in iprop_get_updates_1()
279 audit_kadmind_unauth(rqstp->rq_xprt, l_port, in iprop_full_resync_1()
387 audit_kadmind_auth(rqstp->rq_xprt, l_port, in iprop_full_resync_1()
/titanic_41/usr/src/lib/libnsl/rpc/
H A Dsvc_auth_loopb.c104 rqst->rq_xprt->xp_verf.oa_flavor = AUTH_NULL; in __svcauth_loopback()
105 rqst->rq_xprt->xp_verf.oa_length = 0; in __svcauth_loopback()
H A Dsvc_auth_sys.c115 rqst->rq_xprt->xp_verf.oa_flavor = AUTH_NULL; in __svcauth_sys()
116 rqst->rq_xprt->xp_verf.oa_length = 0; in __svcauth_sys()
H A Dsvc_auth.c111 rqst->rq_xprt->xp_verf.oa_flavor = _null_auth.oa_flavor; in __gss_authenticate()
112 rqst->rq_xprt->xp_verf.oa_length = 0; in __gss_authenticate()
H A Dsvc.c1412 r->rq_xprt = xprt; in _svc_prog_dispatch()
1418 SVC_XP_AUTH(r->rq_xprt).svc_ah_ops = svc_auth_any_ops; in _svc_prog_dispatch()
1420 SVC_XP_AUTH(r->rq_xprt).svc_ah_private = NULL; in _svc_prog_dispatch()
1426 r->rq_xprt->xp_verf.oa_flavor = _null_auth.oa_flavor; in _svc_prog_dispatch()
1427 r->rq_xprt->xp_verf.oa_length = 0; in _svc_prog_dispatch()
1784 if (SVC_CONTROL(req->rq_xprt, SVCGET_XID, (void*)&drxid) == FALSE) { in __svc_dup()
1827 dr->dr_addr.len == req->rq_xprt->xp_rtaddr.len && in __svc_dupcache_check()
1828 memcmp(dr->dr_addr.buf, req->rq_xprt->xp_rtaddr.buf, in __svc_dupcache_check()
1981 dr->dr_addr.maxlen = req->rq_xprt->xp_rtaddr.len; in __svc_dupcache_enter()
1989 (void) memcpy(dr->dr_addr.buf, req->rq_xprt->xp_rtaddr.buf, in __svc_dupcache_enter()
[all …]
H A Dsvcauth_des.c429 rqst->rq_xprt->xp_verf.oa_flavor = AUTH_DES; in __svcauth_des()
430 rqst->rq_xprt->xp_verf.oa_base = msg->rm_call.cb_verf.oa_base; in __svcauth_des()
431 rqst->rq_xprt->xp_verf.oa_length = in __svcauth_des()
433 if (rqst->rq_xprt->xp_verf.oa_length > MAX_AUTH_BYTES) { in __svcauth_des()
/titanic_41/usr/src/lib/rpcsec_gss/
H A Dsvc_rpcsec_gss.c478 svcauth = __svc_get_svcauth(req->rq_xprt);
590 rqst->rq_xprt->xp_verf.oa_flavor = AUTH_NONE;
591 rqst->rq_xprt->xp_verf.oa_base = NULL;
592 rqst->rq_xprt->xp_verf.oa_length = 0;
682 svcauth = __svc_get_svcauth(rqst->rq_xprt);
721 if (!svc_getargs(rqst->rq_xprt, __xdr_rpc_gss_init_arg,
847 svc_sendreply(rqst->rq_xprt, __xdr_rpc_gss_init_res,
877 svc_sendreply(rqst->rq_xprt, __xdr_rpc_gss_init_res,
937 svc_sendreply(rqst->rq_xprt,
1033 svc_sendreply(rqst->rq_xprt, xdr_void, NULL);
[all …]
/titanic_41/usr/src/uts/common/rpc/
H A Dsvc_cots.c719 #define REQTOXID(req) ((req)->rq_xprt->xp_xid)
756 struct rpc_cots_server *stats = CLONE2STATS(req->rq_xprt); in svc_cots_kdup()
774 dr->dr_addr.len == req->rq_xprt->xp_rtaddr.len && in svc_cots_kdup()
776 (caddr_t)req->rq_xprt->xp_rtaddr.buf, in svc_cots_kdup()
842 if (dr->dr_addr.maxlen < req->rq_xprt->xp_rtaddr.len) { in svc_cots_kdup()
845 dr->dr_addr.maxlen = req->rq_xprt->xp_rtaddr.len; in svc_cots_kdup()
854 dr->dr_addr.len = req->rq_xprt->xp_rtaddr.len; in svc_cots_kdup()
855 bcopy(req->rq_xprt->xp_rtaddr.buf, dr->dr_addr.buf, dr->dr_addr.len); in svc_cots_kdup()
H A Dsvc_clts.c749 #define REQTOXID(req) ((req)->rq_xprt->xp_xid)
786 struct rpc_clts_server *stats = CLONE2STATS(req->rq_xprt); in svc_clts_kdup()
804 dr->dr_addr.len == req->rq_xprt->xp_rtaddr.len && in svc_clts_kdup()
805 bcmp(dr->dr_addr.buf, req->rq_xprt->xp_rtaddr.buf, in svc_clts_kdup()
866 if (dr->dr_addr.maxlen < req->rq_xprt->xp_rtaddr.len) { in svc_clts_kdup()
869 dr->dr_addr.maxlen = req->rq_xprt->xp_rtaddr.len; in svc_clts_kdup()
879 dr->dr_addr.len = req->rq_xprt->xp_rtaddr.len; in svc_clts_kdup()
880 bcopy(req->rq_xprt->xp_rtaddr.buf, dr->dr_addr.buf, dr->dr_addr.len); in svc_clts_kdup()
H A Dsvc_rdma.c1155 #define REQTOXID(req) ((req)->rq_xprt->xp_xid)
1198 dr->dr_addr.len == req->rq_xprt->xp_rtaddr.len && in svc_rdma_kdup()
1200 (caddr_t)req->rq_xprt->xp_rtaddr.buf, in svc_rdma_kdup()
1260 if (dr->dr_addr.maxlen < req->rq_xprt->xp_rtaddr.len) { in svc_rdma_kdup()
1263 dr->dr_addr.maxlen = req->rq_xprt->xp_rtaddr.len; in svc_rdma_kdup()
1272 dr->dr_addr.len = req->rq_xprt->xp_rtaddr.len; in svc_rdma_kdup()
1273 bcopy(req->rq_xprt->xp_rtaddr.buf, dr->dr_addr.buf, dr->dr_addr.len); in svc_rdma_kdup()
1348 if (req->rq_xprt->xp_type != T_RDMA) { in rdma_get_wchunk()
/titanic_41/usr/src/cmd/lvm/rpc.metad/
H A Dmetad_init.c55 SVCXPRT *transp = rqstp->rq_xprt; in check_host()
230 transp = rqstp->rq_xprt; in svc_init()
/titanic_41/usr/src/cmd/lvm/rpc.metamedd/
H A Dmed_init.c172 SVCXPRT *transp = rqstp->rq_xprt; in check_host()
340 SVCXPRT *transp = rqstp->rq_xprt; in med_init()
/titanic_41/usr/src/cmd/lvm/rpc.metamhd/
H A Dmhd_init.c191 SVCXPRT *transp = rqstp->rq_xprt; in check_host()
326 SVCXPRT *transp = rqstp->rq_xprt; in mhd_init()

12