Home
last modified time | relevance | path

Searched refs:rqst (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/rpc/
H A Dsvc_auth.c78 _authenticate(struct svc_req *rqst, struct rpc_msg *msg) in _authenticate() argument
83 rqst->rq_cred = msg->rm_call.cb_cred; in _authenticate()
84 rqst->rq_auth.svc_ah_ops = &svc_auth_null_ops; in _authenticate()
85 rqst->rq_auth.svc_ah_private = NULL; in _authenticate()
86 cred_flavor = rqst->rq_cred.oa_flavor; in _authenticate()
89 dummy = _svcauth_null(rqst, msg); in _authenticate()
92 if ((rqst->rq_xprt->xp_tls & RPCTLS_FLAGS_DISABLED) != 0) in _authenticate()
94 dummy = _svcauth_unix(rqst, msg); in _authenticate()
97 if ((rqst->rq_xprt->xp_tls & RPCTLS_FLAGS_DISABLED) != 0) in _authenticate()
99 dummy = _svcauth_short(rqst, msg); in _authenticate()
[all …]
H A Dsvc_auth_unix.c60 _svcauth_unix(struct svc_req *rqst, struct rpc_msg *msg) in _svcauth_unix() argument
71 xcr = rqst->rq_clntcred; in _svcauth_unix()
118 rqst->rq_verf = _null_auth; in _svcauth_unix()
133 _svcauth_short(struct svc_req *rqst, struct rpc_msg *msg) in _svcauth_short() argument
/freebsd/sys/fs/nfsclient/
H A Dnfs_clkrpc.c65 nfscb_program(struct svc_req *rqst, SVCXPRT *xprt) in nfscb_program() argument
74 if (rqst->rq_proc != NFSPROC_NULL && in nfscb_program()
75 rqst->rq_proc != NFSV4PROC_CBCOMPOUND) { in nfscb_program()
76 svcerr_noproc(rqst); in nfscb_program()
77 svc_freereq(rqst); in nfscb_program()
80 nd.nd_procnum = rqst->rq_proc; in nfscb_program()
88 nd.nd_mrep = rqst->rq_args; in nfscb_program()
89 rqst->rq_args = NULL; in nfscb_program()
93 nd.nd_nam = svc_getrpccaller(rqst); in nfscb_program()
94 nd.nd_nam2 = rqst->rq_addr; in nfscb_program()
[all …]
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdkrpc.c124 nfssvc_program(struct svc_req *rqst, SVCXPRT *xprt) in nfssvc_program() argument
137 if (rqst->rq_vers == NFS_VER2) { in nfssvc_program()
138 if (rqst->rq_proc > NFSV2PROC_STATFS || in nfssvc_program()
139 newnfs_nfsv3_procid[rqst->rq_proc] == NFSPROC_NOOP) { in nfssvc_program()
140 svcerr_noproc(rqst); in nfssvc_program()
141 svc_freereq(rqst); in nfssvc_program()
144 nd.nd_procnum = newnfs_nfsv3_procid[rqst->rq_proc]; in nfssvc_program()
146 } else if (rqst->rq_vers == NFS_VER3) { in nfssvc_program()
147 if (rqst->rq_proc >= NFS_V3NPROCS) { in nfssvc_program()
148 svcerr_noproc(rqst); in nfssvc_program()
[all...]
/freebsd/lib/libc/rpc/
H A Dsvc_auth.c93 _authenticate(struct svc_req *rqst, struct rpc_msg *msg) in _authenticate() argument
101 rqst->rq_cred = msg->rm_call.cb_cred; in _authenticate()
102 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()
106 cred_flavor = rqst->rq_cred.oa_flavor; in _authenticate()
109 dummy = _svcauth_null(rqst, msg); in _authenticate()
112 dummy = _svcauth_unix(rqst, msg); in _authenticate()
115 dummy = _svcauth_short(rqst, msg); in _authenticate()
[all …]
H A Dsvc_auth_unix.c54 _svcauth_unix(struct svc_req *rqst, struct rpc_msg *msg) in _svcauth_unix() argument
69 assert(rqst != NULL); in _svcauth_unix()
72 area = (struct area *) rqst->rq_clntcred; in _svcauth_unix()
120 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()
143 _svcauth_short(struct svc_req *rqst, struct rpc_msg *msg) in _svcauth_short() argument
H A Dsvc_auth_des.c108 _svcauth_des(struct svc_req *rqst, struct rpc_msg *msg) in _svcauth_des() argument
132 area = (struct area *)rqst->rq_clntcred; in _svcauth_des()
307 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()
/freebsd/lib/librpcsec_gss/
H A Dsvc_rpcsec_gss.c592 struct svc_req *rqst, in svc_rpc_gss_accept_sec_context() argument
607 if (!svc_getargs(rqst->rq_xprt, in svc_rpc_gss_accept_sec_context()
620 if (sname->sn_program == rqst->rq_prog in svc_rpc_gss_accept_sec_context()
621 && sname->sn_version == rqst->rq_vers) { in svc_rpc_gss_accept_sec_context()
797 struct svc_req *rqst, u_int seq) in svc_rpc_gss_nextverf() argument
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()
828 svc_rpc_gss_callback(struct svc_rpc_gss_client *client, struct svc_req *rqst) in svc_rpc_gss_callback() argument
841 if (scb->cb_callback.program == rqst->rq_prog in svc_rpc_gss_callback()
[all …]
/freebsd/sys/rpc/rpcsec_gss/
H A Dsvc_rpcsec_gss.c919 struct svc_req *rqst, in svc_rpc_gss_accept_sec_context() argument
934 if (!svc_getargs(rqst, in svc_rpc_gss_accept_sec_context()
949 if (sname->sn_program == rqst->rq_prog in svc_rpc_gss_accept_sec_context()
950 && sname->sn_version == rqst->rq_vers) { in svc_rpc_gss_accept_sec_context()
1155 struct svc_req *rqst, u_int seq) in svc_rpc_gss_nextverf() argument
1180 rqst->rq_verf.oa_flavor = RPCSEC_GSS; in svc_rpc_gss_nextverf()
1181 rqst->rq_verf.oa_length = mic.length; in svc_rpc_gss_nextverf()
1182 bcopy(mic.value, rqst->rq_verf.oa_base, mic.length); in svc_rpc_gss_nextverf()
1190 svc_rpc_gss_callback(struct svc_rpc_gss_client *client, struct svc_req *rqst) in svc_rpc_gss_callback() argument
1203 if (scb->cb_callback.program == rqst->rq_prog in svc_rpc_gss_callback()
[all …]
/freebsd/sys/rpc/rpcsec_tls/
H A Drpctls_impl.c418 _svcauth_rpcsec_tls(struct svc_req *rqst, struct rpc_msg *msg) in _svcauth_rpcsec_tls() argument
435 rqst->rq_verf = rpctls_null_verf; in _svcauth_rpcsec_tls()
438 if (rqst->rq_cred.oa_length != 0 || in _svcauth_rpcsec_tls()
445 if (rqst->rq_proc != NULLPROC) { in _svcauth_rpcsec_tls()
464 xprt = rqst->rq_xprt; in _svcauth_rpcsec_tls()
473 call_stat = svc_sendreply(rqst, (xdrproc_t)xdr_void, NULL); in _svcauth_rpcsec_tls()