Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
gss_mech_switch.c File Reference
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/sunrpc/msg_prot.h>
#include <linux/sunrpc/gss_asn1.h>
#include <linux/sunrpc/auth_gss.h>
#include <linux/sunrpc/svcauth_gss.h>
#include <linux/sunrpc/gss_err.h>
#include <linux/sunrpc/sched.h>
#include <linux/sunrpc/gss_api.h>
#include <linux/sunrpc/clnt.h>

Go to the source code of this file.

Functions

int gss_mech_register (struct gss_api_mech *gm)
 
 EXPORT_SYMBOL_GPL (gss_mech_register)
 
void gss_mech_unregister (struct gss_api_mech *gm)
 
 EXPORT_SYMBOL_GPL (gss_mech_unregister)
 
struct gss_api_mech * gss_mech_get (struct gss_api_mech *gm)
 
 EXPORT_SYMBOL_GPL (gss_mech_get)
 
struct gss_api_mech * _gss_mech_get_by_name (const char *name)
 
struct gss_api_mech * gss_mech_get_by_name (const char *name)
 
 EXPORT_SYMBOL_GPL (gss_mech_get_by_name)
 
struct gss_api_mech * gss_mech_get_by_OID (struct xdr_netobj *obj)
 
 EXPORT_SYMBOL_GPL (gss_mech_get_by_OID)
 
struct gss_api_mech * _gss_mech_get_by_pseudoflavor (u32 pseudoflavor)
 
struct gss_api_mech * gss_mech_get_by_pseudoflavor (u32 pseudoflavor)
 
 EXPORT_SYMBOL_GPL (gss_mech_get_by_pseudoflavor)
 
int gss_mech_list_pseudoflavors (rpc_authflavor_t *array_ptr, int size)
 
u32 gss_svc_to_pseudoflavor (struct gss_api_mech *gm, u32 service)
 
 EXPORT_SYMBOL_GPL (gss_svc_to_pseudoflavor)
 
u32 gss_pseudoflavor_to_service (struct gss_api_mech *gm, u32 pseudoflavor)
 
 EXPORT_SYMBOL_GPL (gss_pseudoflavor_to_service)
 
chargss_service_to_auth_domain_name (struct gss_api_mech *gm, u32 service)
 
 EXPORT_SYMBOL_GPL (gss_service_to_auth_domain_name)
 
void gss_mech_put (struct gss_api_mech *gm)
 
 EXPORT_SYMBOL_GPL (gss_mech_put)
 
int gss_import_sec_context (const void *input_token, size_t bufsize, struct gss_api_mech *mech, struct gss_ctx **ctx_id, gfp_t gfp_mask)
 
u32 gss_get_mic (struct gss_ctx *context_handle, struct xdr_buf *message, struct xdr_netobj *mic_token)
 
u32 gss_verify_mic (struct gss_ctx *context_handle, struct xdr_buf *message, struct xdr_netobj *mic_token)
 
u32 gss_wrap (struct gss_ctx *ctx_id, int offset, struct xdr_buf *buf, struct page **inpages)
 
u32 gss_unwrap (struct gss_ctx *ctx_id, int offset, struct xdr_buf *buf)
 
u32 gss_delete_sec_context (struct gss_ctx **context_handle)
 

Function Documentation

struct gss_api_mech* _gss_mech_get_by_name ( const char name)
read

Definition at line 144 of file gss_mech_switch.c.

struct gss_api_mech* _gss_mech_get_by_pseudoflavor ( u32  pseudoflavor)
read

Definition at line 208 of file gss_mech_switch.c.

EXPORT_SYMBOL_GPL ( gss_mech_register  )
EXPORT_SYMBOL_GPL ( gss_mech_unregister  )
EXPORT_SYMBOL_GPL ( gss_mech_get  )
EXPORT_SYMBOL_GPL ( gss_mech_get_by_name  )
EXPORT_SYMBOL_GPL ( gss_mech_get_by_OID  )
EXPORT_SYMBOL_GPL ( gss_mech_get_by_pseudoflavor  )
EXPORT_SYMBOL_GPL ( gss_svc_to_pseudoflavor  )
EXPORT_SYMBOL_GPL ( gss_pseudoflavor_to_service  )
EXPORT_SYMBOL_GPL ( gss_service_to_auth_domain_name  )
EXPORT_SYMBOL_GPL ( gss_mech_put  )
u32 gss_delete_sec_context ( struct gss_ctx **  context_handle)

Definition at line 403 of file gss_mech_switch.c.

u32 gss_get_mic ( struct gss_ctx *  context_handle,
struct xdr_buf *  message,
struct xdr_netobj *  mic_token 
)

Definition at line 341 of file gss_mech_switch.c.

int gss_import_sec_context ( const void input_token,
size_t  bufsize,
struct gss_api_mech *  mech,
struct gss_ctx **  ctx_id,
gfp_t  gfp_mask 
)

Definition at line 325 of file gss_mech_switch.c.

struct gss_api_mech* gss_mech_get ( struct gss_api_mech *  gm)
read

Definition at line 135 of file gss_mech_switch.c.

struct gss_api_mech* gss_mech_get_by_name ( const char name)
read

Definition at line 161 of file gss_mech_switch.c.

struct gss_api_mech* gss_mech_get_by_OID ( struct xdr_netobj *  obj)
read

Definition at line 175 of file gss_mech_switch.c.

struct gss_api_mech* gss_mech_get_by_pseudoflavor ( u32  pseudoflavor)
read

Definition at line 227 of file gss_mech_switch.c.

int gss_mech_list_pseudoflavors ( rpc_authflavor_t *  array_ptr,
int  size 
)

gss_mech_list_pseudoflavors - Discover registered GSS pseudoflavors : array to fill in : size of "array"

Returns the number of array items filled in, or a negative errno.

The returned array is not sorted by any policy. Callers should not rely on the order of the items in the returned array.

Definition at line 252 of file gss_mech_switch.c.

void gss_mech_put ( struct gss_api_mech *  gm)

Definition at line 314 of file gss_mech_switch.c.

int gss_mech_register ( struct gss_api_mech *  gm)

Definition at line 106 of file gss_mech_switch.c.

void gss_mech_unregister ( struct gss_api_mech *  gm)

Definition at line 123 of file gss_mech_switch.c.

u32 gss_pseudoflavor_to_service ( struct gss_api_mech *  gm,
u32  pseudoflavor 
)

Definition at line 286 of file gss_mech_switch.c.

char* gss_service_to_auth_domain_name ( struct gss_api_mech *  gm,
u32  service 
)

Definition at line 300 of file gss_mech_switch.c.

u32 gss_svc_to_pseudoflavor ( struct gss_api_mech *  gm,
u32  service 
)

Definition at line 272 of file gss_mech_switch.c.

u32 gss_unwrap ( struct gss_ctx *  ctx_id,
int  offset,
struct xdr_buf *  buf 
)

Definition at line 389 of file gss_mech_switch.c.

u32 gss_verify_mic ( struct gss_ctx *  context_handle,
struct xdr_buf *  message,
struct xdr_netobj *  mic_token 
)

Definition at line 354 of file gss_mech_switch.c.

u32 gss_wrap ( struct gss_ctx *  ctx_id,
int  offset,
struct xdr_buf *  buf,
struct page **  inpages 
)

Definition at line 379 of file gss_mech_switch.c.