Lines Matching defs:rqst
64 * set rqst->rq_xprt->verf to the appropriate response verifier;
65 * sets rqst->rq_client_cred to the "cooked" form of the credentials.
67 * NB: rqst->rq_cxprt->verf must be pre-allocated;
72 * rqst->rq_client_cred, the cooked credentials.
78 _authenticate(struct svc_req *rqst, struct rpc_msg *msg)
83 rqst->rq_cred = msg->rm_call.cb_cred;
84 rqst->rq_auth.svc_ah_ops = &svc_auth_null_ops;
85 rqst->rq_auth.svc_ah_private = NULL;
86 cred_flavor = rqst->rq_cred.oa_flavor;
89 dummy = _svcauth_null(rqst, msg);
92 if ((rqst->rq_xprt->xp_tls & RPCTLS_FLAGS_DISABLED) != 0)
94 dummy = _svcauth_unix(rqst, msg);
97 if ((rqst->rq_xprt->xp_tls & RPCTLS_FLAGS_DISABLED) != 0)
99 dummy = _svcauth_short(rqst, msg);
102 if ((rqst->rq_xprt->xp_tls & RPCTLS_FLAGS_DISABLED) != 0)
106 dummy = _svcauth_rpcsec_gss(rqst, msg);
109 dummy = _svcauth_rpcsec_tls(rqst, msg);
150 _svcauth_null(struct svc_req *rqst, struct rpc_msg *msg)
153 rqst->rq_verf = _null_auth;
171 svc_getcred(struct svc_req *rqst, struct ucred **crp, int *flavorp)
176 SVCXPRT *xprt = rqst->rq_xprt;
178 flavor = rqst->rq_cred.oa_flavor;
204 xcr = (struct xucred *) rqst->rq_clntcred;
219 return (_svcauth_rpcsec_gss_getcred(rqst, crp, flavorp));