Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
auth.h File Reference
#include <linux/ceph/types.h>
#include <linux/ceph/buffer.h>

Go to the source code of this file.

Data Structures

struct  ceph_auth_handshake
 
struct  ceph_auth_client_ops
 
struct  ceph_auth_client
 

Functions

struct ceph_auth_clientceph_auth_init (const char *name, const struct ceph_crypto_key *key)
 
void ceph_auth_destroy (struct ceph_auth_client *ac)
 
void ceph_auth_reset (struct ceph_auth_client *ac)
 
int ceph_auth_build_hello (struct ceph_auth_client *ac, void *buf, size_t len)
 
int ceph_handle_auth_reply (struct ceph_auth_client *ac, void *buf, size_t len, void *reply_buf, size_t reply_len)
 
int ceph_entity_name_encode (const char *name, void **p, void *end)
 
int ceph_build_auth (struct ceph_auth_client *ac, void *msg_buf, size_t msg_len)
 
int ceph_auth_is_authenticated (struct ceph_auth_client *ac)
 

Function Documentation

int ceph_auth_build_hello ( struct ceph_auth_client ac,
void buf,
size_t  len 
)

Definition at line 98 of file auth.c.

void ceph_auth_destroy ( struct ceph_auth_client ac)

Definition at line 63 of file auth.c.

struct ceph_auth_client* ceph_auth_init ( const char name,
const struct ceph_crypto_key key 
)
read

Definition at line 38 of file auth.c.

int ceph_auth_is_authenticated ( struct ceph_auth_client ac)

Definition at line 254 of file auth.c.

void ceph_auth_reset ( struct ceph_auth_client ac)

Definition at line 74 of file auth.c.

int ceph_build_auth ( struct ceph_auth_client ac,
void msg_buf,
size_t  msg_len 
)

Definition at line 243 of file auth.c.

int ceph_entity_name_encode ( const char name,
void **  p,
void end 
)

Definition at line 82 of file auth.c.

int ceph_handle_auth_reply ( struct ceph_auth_client ac,
void buf,
size_t  len,
void reply_buf,
size_t  reply_len 
)

Definition at line 164 of file auth.c.