Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
gss_generic_token.c File Reference
#include <linux/types.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/sunrpc/sched.h>
#include <linux/sunrpc/gss_asn1.h>

Go to the source code of this file.


#define TWRITE_STR(ptr, str, len)


int g_token_size (struct xdr_netobj *mech, unsigned int body_size)
 EXPORT_SYMBOL_GPL (g_token_size)
void g_make_token_header (struct xdr_netobj *mech, int body_size, unsigned char **buf)
 EXPORT_SYMBOL_GPL (g_make_token_header)
u32 g_verify_token_header (struct xdr_netobj *mech, int *body_size, unsigned char **buf_in, int toksize)
 EXPORT_SYMBOL_GPL (g_verify_token_header)

Macro Definition Documentation

#define TWRITE_STR (   ptr,
memcpy((ptr), (char *) (str), (len)); \
(ptr) += (len);

Definition at line 47 of file gss_generic_token.c.

Function Documentation

EXPORT_SYMBOL_GPL ( g_token_size  )
EXPORT_SYMBOL_GPL ( g_make_token_header  )
EXPORT_SYMBOL_GPL ( g_verify_token_header  )
void g_make_token_header ( struct xdr_netobj *  mech,
int  body_size,
unsigned char **  buf 

Definition at line 160 of file gss_generic_token.c.

int g_token_size ( struct xdr_netobj *  mech,
unsigned int  body_size 

Definition at line 147 of file gss_generic_token.c.

u32 g_verify_token_header ( struct xdr_netobj *  mech,
int body_size,
unsigned char **  buf_in,
int  toksize 

Definition at line 180 of file gss_generic_token.c.