client/cifs_spnego.h

説明を見る。
00001 /*
00002  *   fs/cifs/cifs_spnego.h -- SPNEGO upcall management for CIFS
00003  *
00004  *   Copyright (c) 2007 Red Hat, Inc.
00005  *   Author(s): Jeff Layton (jlayton@redhat.com)
00006  *              Steve French (sfrench@us.ibm.com)
00007  *
00008  *   This library is free software; you can redistribute it and/or modify
00009  *   it under the terms of the GNU Lesser General Public License as published
00010  *   by the Free Software Foundation; either version 2.1 of the License, or
00011  *   (at your option) any later version.
00012  *
00013  *   This library is distributed in the hope that it will be useful,
00014  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
00016  *   the GNU Lesser General Public License for more details.
00017  *
00018  *   You should have received a copy of the GNU Lesser General Public License
00019  *   along with this library; if not, write to the Free Software
00020  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
00021  */
00022 
00023 #ifndef _CIFS_SPNEGO_H
00024 #define _CIFS_SPNEGO_H
00025 
00026 #define CIFS_SPNEGO_UPCALL_VERSION 2
00027 
00028 /*
00029  * The version field should always be set to CIFS_SPNEGO_UPCALL_VERSION.
00030  * The flags field is for future use. The request-key callout should set
00031  * sesskey_len and secblob_len, and then concatenate the SessKey+SecBlob
00032  * and stuff it in the data field.
00033  */
00034 struct cifs_spnego_msg {
00035         uint32_t version;
00036         uint32_t flags;
00037         uint32_t sesskey_len;
00038         uint32_t secblob_len;
00039         uint8_t data[1];
00040 };
00041 
00042 #ifdef __KERNEL__
00043 extern struct key_type cifs_spnego_key_type;
00044 #endif                          /* KERNEL */
00045 
00046 #endif                          /* _CIFS_SPNEGO_H */

Sambaに対してSat Aug 29 21:22:53 2009に生成されました。  doxygen 1.4.7