X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fsunrpc%2Fauth_gss.h;h=2db2fbf349472e3760a003f6d046e35687658ed6;hb=refs%2Fheads%2Fvserver;hp=adaff41d3a5ebd7366a50687ee5c4da3f9718be3;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/include/linux/sunrpc/auth_gss.h b/include/linux/sunrpc/auth_gss.h index adaff41d3..2db2fbf34 100644 --- a/include/linux/sunrpc/auth_gss.h +++ b/include/linux/sunrpc/auth_gss.h @@ -1,5 +1,5 @@ /* - * linux/include/linux/auth_gss.h + * linux/include/linux/sunrpc/auth_gss.h * * Declarations for RPCSEC_GSS * @@ -15,11 +15,9 @@ #define _LINUX_SUNRPC_AUTH_GSS_H #ifdef __KERNEL__ -#ifdef __linux__ #include #include #include -#endif #define RPC_GSS_VERSION 1 @@ -70,18 +68,21 @@ struct rpc_gss_init_res { struct gss_cl_ctx { atomic_t count; - u32 gc_proc; + enum rpc_gss_proc gc_proc; u32 gc_seq; spinlock_t gc_seq_lock; struct gss_ctx *gc_gss_ctx; struct xdr_netobj gc_wire_ctx; u32 gc_win; + unsigned long gc_expiry; }; +struct gss_upcall_msg; struct gss_cred { struct rpc_cred gc_base; - u32 gc_flavor; + enum rpc_gss_svc gc_service; struct gss_cl_ctx *gc_ctx; + struct gss_upcall_msg *gc_upcall; }; #define gc_uid gc_base.cr_uid @@ -89,8 +90,6 @@ struct gss_cred { #define gc_flags gc_base.cr_flags #define gc_expire gc_base.cr_expire -void print_hexl(u32 *p, u_int length, u_int offset); - #endif /* __KERNEL__ */ #endif /* _LINUX_SUNRPC_AUTH_GSS_H */