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

Go to the source code of this file.

Macros

#define SIZEOF_INT   4
 
#define G_BAD_SERVICE_NAME   (-2045022976L)
 
#define G_BAD_STRING_UID   (-2045022975L)
 
#define G_NOUSER   (-2045022974L)
 
#define G_VALIDATE_FAILED   (-2045022973L)
 
#define G_BUFFER_ALLOC   (-2045022972L)
 
#define G_BAD_MSG_CTX   (-2045022971L)
 
#define G_WRONG_SIZE   (-2045022970L)
 
#define G_BAD_USAGE   (-2045022969L)
 
#define G_UNKNOWN_QOP   (-2045022968L)
 
#define G_NO_HOSTNAME   (-2045022967L)
 
#define G_BAD_HOSTNAME   (-2045022966L)
 
#define G_WRONG_MECH   (-2045022965L)
 
#define G_BAD_TOK_HEADER   (-2045022964L)
 
#define G_BAD_DIRECTION   (-2045022963L)
 
#define G_TOK_TRUNC   (-2045022962L)
 
#define G_REFLECT   (-2045022961L)
 
#define G_WRONG_TOKID   (-2045022960L)
 
#define g_OID_equal(o1, o2)
 

Functions

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

Macro Definition Documentation

#define G_BAD_DIRECTION   (-2045022963L)

Definition at line 59 of file gss_asn1.h.

#define G_BAD_HOSTNAME   (-2045022966L)

Definition at line 56 of file gss_asn1.h.

#define G_BAD_MSG_CTX   (-2045022971L)

Definition at line 51 of file gss_asn1.h.

#define G_BAD_SERVICE_NAME   (-2045022976L)

Definition at line 46 of file gss_asn1.h.

#define G_BAD_STRING_UID   (-2045022975L)

Definition at line 47 of file gss_asn1.h.

#define G_BAD_TOK_HEADER   (-2045022964L)

Definition at line 58 of file gss_asn1.h.

#define G_BAD_USAGE   (-2045022969L)

Definition at line 53 of file gss_asn1.h.

#define G_BUFFER_ALLOC   (-2045022972L)

Definition at line 50 of file gss_asn1.h.

#define G_NO_HOSTNAME   (-2045022967L)

Definition at line 55 of file gss_asn1.h.

#define G_NOUSER   (-2045022974L)

Definition at line 48 of file gss_asn1.h.

#define g_OID_equal (   o1,
  o2 
)
Value:
(((o1)->len == (o2)->len) && \
(memcmp((o1)->data,(o2)->data,(int) (o1)->len) == 0))

Definition at line 64 of file gss_asn1.h.

#define G_REFLECT   (-2045022961L)

Definition at line 61 of file gss_asn1.h.

#define G_TOK_TRUNC   (-2045022962L)

Definition at line 60 of file gss_asn1.h.

#define G_UNKNOWN_QOP   (-2045022968L)

Definition at line 54 of file gss_asn1.h.

#define G_VALIDATE_FAILED   (-2045022973L)

Definition at line 49 of file gss_asn1.h.

#define G_WRONG_MECH   (-2045022965L)

Definition at line 57 of file gss_asn1.h.

#define G_WRONG_SIZE   (-2045022970L)

Definition at line 52 of file gss_asn1.h.

#define G_WRONG_TOKID   (-2045022960L)

Definition at line 62 of file gss_asn1.h.

#define SIZEOF_INT   4

Definition at line 43 of file gss_asn1.h.

Function Documentation

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.