Lines Matching defs:auth
40 * auth_loopb.c for the user level implementation of the loopback auth.
58 #include <rpc/auth.h>
84 * Returns an auth handle.
90 * Allocate and set up auth handle
102 AUTH *auth = (AUTH *)buf;
104 auth->ah_ops = &authloopback_ops;
105 auth->ah_cred.oa_flavor = AUTH_LOOPBACK;
106 auth->ah_verf = _null_auth;
116 authloopback_nextverf(AUTH *auth)
123 authloopback_marshal(AUTH *auth, XDR *xdrs, struct cred *cr)
182 * Make opaque auth credentials that point at serialized u struct
184 cred = &(auth->ah_cred);
191 if ((xdr_opaque_auth(xdrs, &(auth->ah_cred))) &&
192 (xdr_opaque_auth(xdrs, &(auth->ah_verf))))
203 authloopback_validate(AUTH *auth, struct opaque_auth *verf)
210 authloopback_refresh(AUTH *auth, struct rpc_msg *msg, cred_t *cr)
216 authloopback_destroy(register AUTH *auth)
218 kmem_cache_free(authloopback_cache, auth);