![]() |
|
|||
0001 /* SPDX-License-Identifier: LGPL-2.1 */ 0002 /* 0003 * SPNEGO upcall management for CIFS 0004 * 0005 * Copyright (c) 2007 Red Hat, Inc. 0006 * Author(s): Jeff Layton (jlayton@redhat.com) 0007 * Steve French (sfrench@us.ibm.com) 0008 * 0009 */ 0010 0011 #ifndef _CIFS_SPNEGO_H 0012 #define _CIFS_SPNEGO_H 0013 0014 #define CIFS_SPNEGO_UPCALL_VERSION 2 0015 0016 /* 0017 * The version field should always be set to CIFS_SPNEGO_UPCALL_VERSION. 0018 * The flags field is for future use. The request-key callout should set 0019 * sesskey_len and secblob_len, and then concatenate the SessKey+SecBlob 0020 * and stuff it in the data field. 0021 */ 0022 struct cifs_spnego_msg { 0023 uint32_t version; 0024 uint32_t flags; 0025 uint32_t sesskey_len; 0026 uint32_t secblob_len; 0027 uint8_t data[1]; 0028 }; 0029 0030 #ifdef __KERNEL__ 0031 extern struct key_type cifs_spnego_key_type; 0032 extern struct key *cifs_get_spnego_key(struct cifs_ses *sesInfo, 0033 struct TCP_Server_Info *server); 0034 #endif /* KERNEL */ 0035 0036 #endif /* _CIFS_SPNEGO_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |