/* SPDX-License-Identifier: GPL-2.0 */ /* * linux/include/linux/sunrpc/auth_gss.h * * Declarations for RPCSEC_GSS * * Dug Song <[email protected]> * Andy Adamson <[email protected]> * Bruce Fields <[email protected]> * Copyright (c) 2000 The Regents of the University of Michigan */ #ifndef _LINUX_SUNRPC_AUTH_GSS_H #define _LINUX_SUNRPC_AUTH_GSS_H #include <linux/refcount.h> #include <linux/sunrpc/auth.h> #include <linux/sunrpc/svc.h> #include <linux/sunrpc/gss_api.h> #define RPC_GSS_VERSION … #define MAXSEQ … enum rpc_gss_proc { … }; enum rpc_gss_svc { … }; /* on-the-wire gss cred: */ struct rpc_gss_wire_cred { … }; /* on-the-wire gss verifier: */ struct rpc_gss_wire_verf { … }; /* return from gss NULL PROC init sec context */ struct rpc_gss_init_res { … }; /* The gss_cl_ctx struct holds all the information the rpcsec_gss client * code needs to know about a single security context. In particular, * gc_gss_ctx is the context handle that is used to do gss-api calls, while * gc_wire_ctx is the context handle that is used to identify the context on * the wire when communicating with a server. */ struct gss_cl_ctx { … }; struct gss_upcall_msg; struct gss_cred { … }; #endif /* _LINUX_SUNRPC_AUTH_GSS_H */