Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
rxrpc.c File Reference
#include <linux/slab.h>
#include <net/sock.h>
#include <net/af_rxrpc.h>
#include <rxrpc/packet.h>
#include "internal.h"
#include "afs_cm.h"

Go to the source code of this file.

Functions

int afs_open_socket (void)
 
void afs_close_socket (void)
 
struct afs_callafs_alloc_flat_call (const struct afs_call_type *type, size_t request_size, size_t reply_size)
 
void afs_flat_call_destructor (struct afs_call *call)
 
int afs_make_call (struct in_addr *addr, struct afs_call *call, gfp_t gfp, const struct afs_wait_mode *wait_mode)
 
void afs_transfer_reply (struct afs_call *call, struct sk_buff *skb)
 
void afs_send_empty_reply (struct afs_call *call)
 
void afs_send_simple_reply (struct afs_call *call, const void *buf, size_t len)
 
int afs_extract_data (struct afs_call *call, struct sk_buff *skb, bool last, void *buf, size_t count)
 

Variables

struct afs_wait_mode afs_sync_call
 
struct afs_wait_mode afs_async_call
 

Function Documentation

struct afs_call* afs_alloc_flat_call ( const struct afs_call_type type,
size_t  request_size,
size_t  reply_size 
)
read

Definition at line 189 of file rxrpc.c.

void afs_close_socket ( void  )

Definition at line 118 of file rxrpc.c.

int afs_extract_data ( struct afs_call call,
struct sk_buff skb,
bool  last,
void buf,
size_t  count 
)

Definition at line 835 of file rxrpc.c.

void afs_flat_call_destructor ( struct afs_call call)

Definition at line 231 of file rxrpc.c.

int afs_make_call ( struct in_addr addr,
struct afs_call call,
gfp_t  gfp,
const struct afs_wait_mode wait_mode 
)

Definition at line 309 of file rxrpc.c.

int afs_open_socket ( void  )

Definition at line 65 of file rxrpc.c.

void afs_send_empty_reply ( struct afs_call call)

Definition at line 758 of file rxrpc.c.

void afs_send_simple_reply ( struct afs_call call,
const void buf,
size_t  len 
)

Definition at line 797 of file rxrpc.c.

void afs_transfer_reply ( struct afs_call call,
struct sk_buff skb 
)

Definition at line 657 of file rxrpc.c.

Variable Documentation

struct afs_wait_mode afs_async_call
Initial value:
= {
.rx_wakeup = afs_wake_up_async_call,
.wait = afs_dont_wait_for_call_to_complete,
}

Definition at line 39 of file rxrpc.c.

struct afs_wait_mode afs_sync_call
Initial value:
= {
.rx_wakeup = afs_wake_up_call_waiter,
.wait = afs_wait_for_call_to_complete,
}

Definition at line 33 of file rxrpc.c.