Go to the source code of this file.
◆ SVCAUTH_DESTROY
#define SVCAUTH_DESTROY |
( |
|
cred | ) |
((*(cred)->svc_ah_ops->svc_ah_destroy)()) |
◆ svcauth_destroy
#define svcauth_destroy |
( |
|
cred | ) |
((*(cred)->svc_ah_ops->svc_ah_destroy)()) |
◆ SVCAUTH
◆ _authenticate()
Definition at line 86 of file svc_auth.c.
97 rqst->rq_cred =
msg->rm_call.cb_cred;
98 rqst->rq_xprt->xp_verf.oa_flavor =
_null_auth.oa_flavor;
99 rqst->rq_xprt->xp_verf.oa_length = 0;
100 cred_flavor = rqst->rq_cred.oa_flavor;
101 switch (cred_flavor) {
122 for (asp =
Auths; asp; asp = asp->
next) {
123 if (asp->
flavor == cred_flavor) {
static struct authsvc * Auths
enum auth_stat(* handler)(struct svc_req *, struct rpc_msg *)
enum auth_stat _svcauth_unix(struct svc_req *rqst, struct rpc_msg *msg)
struct opaque_auth _null_auth
enum auth_stat _svcauth_null(struct svc_req *rqst, struct rpc_msg *msg)
enum auth_stat _svcauth_short(struct svc_req *rqst, struct rpc_msg *msg)
enum auth_stat _svcauth_des(struct svc_req *rqst, struct rpc_msg *msg)
Referenced by svc_getreq_common().
◆ svc_auth_reg()
int svc_auth_reg |
( |
int |
, |
|
|
enum |
auth_stat*)(struct svc_req *, struct rpc_msg * |
|
) |
| |