Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
cifs_spnego.c File Reference
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <keys/user-type.h>
#include <linux/key-type.h>
#include <linux/inet.h>
#include "cifsglob.h"
#include "cifs_spnego.h"
#include "cifs_debug.h"

Go to the source code of this file.

Macros

#define MAX_VER_STR_LEN   8
 
#define MAX_MECH_STR_LEN   13
 
#define HOST_KEY_LEN   5
 
#define IP_KEY_LEN   5
 
#define UID_KEY_LEN   7
 
#define CREDUID_KEY_LEN   11
 
#define USER_KEY_LEN   6
 
#define PID_KEY_LEN   7
 

Functions

struct keycifs_get_spnego_key (struct cifs_ses *sesInfo)
 

Variables

struct key_type cifs_spnego_key_type
 

Macro Definition Documentation

#define CREDUID_KEY_LEN   11

Definition at line 88 of file cifs_spnego.c.

#define HOST_KEY_LEN   5

Definition at line 79 of file cifs_spnego.c.

#define IP_KEY_LEN   5

Definition at line 82 of file cifs_spnego.c.

#define MAX_MECH_STR_LEN   13

Definition at line 76 of file cifs_spnego.c.

#define MAX_VER_STR_LEN   8

Definition at line 72 of file cifs_spnego.c.

#define PID_KEY_LEN   7

Definition at line 94 of file cifs_spnego.c.

#define UID_KEY_LEN   7

Definition at line 85 of file cifs_spnego.c.

#define USER_KEY_LEN   6

Definition at line 91 of file cifs_spnego.c.

Function Documentation

struct key* cifs_get_spnego_key ( struct cifs_ses sesInfo)
read

Definition at line 98 of file cifs_spnego.c.

Variable Documentation

struct key_type cifs_spnego_key_type
Initial value:
= {
.name = "cifs.spnego",
.instantiate = cifs_spnego_key_instantiate,
.match = user_match,
.destroy = cifs_spnego_key_destroy,
.describe = user_describe,
}

Definition at line 63 of file cifs_spnego.c.