Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
ar-connection.c File Reference
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/net.h>
#include <linux/skbuff.h>
#include <linux/crypto.h>
#include <net/sock.h>
#include <net/af_rxrpc.h>
#include "ar-internal.h"

Go to the source code of this file.

Functions

 LIST_HEAD (rxrpc_connections)
 
 DEFINE_RWLOCK (rxrpc_connection_lock)
 
struct rxrpc_conn_bundlerxrpc_get_bundle (struct rxrpc_sock *rx, struct rxrpc_transport *trans, struct key *key, __be16 service_id, gfp_t gfp)
 
void rxrpc_put_bundle (struct rxrpc_transport *trans, struct rxrpc_conn_bundle *bundle)
 
int rxrpc_connect_call (struct rxrpc_sock *rx, struct rxrpc_transport *trans, struct rxrpc_conn_bundle *bundle, struct rxrpc_call *call, gfp_t gfp)
 
struct rxrpc_connectionrxrpc_incoming_connection (struct rxrpc_transport *trans, struct rxrpc_header *hdr, gfp_t gfp)
 
struct rxrpc_connectionrxrpc_find_connection (struct rxrpc_transport *trans, struct rxrpc_header *hdr)
 
void rxrpc_put_connection (struct rxrpc_connection *conn)
 
void __exit rxrpc_destroy_all_connections (void)
 

Function Documentation

DEFINE_RWLOCK ( rxrpc_connection_lock  )
LIST_HEAD ( rxrpc_connections  )
int rxrpc_connect_call ( struct rxrpc_sock rx,
struct rxrpc_transport trans,
struct rxrpc_conn_bundle bundle,
struct rxrpc_call call,
gfp_t  gfp 
)

Definition at line 423 of file ar-connection.c.

void __exit rxrpc_destroy_all_connections ( void  )

Definition at line 913 of file ar-connection.c.

struct rxrpc_connection* rxrpc_find_connection ( struct rxrpc_transport trans,
struct rxrpc_header hdr 
)
read

Definition at line 747 of file ar-connection.c.

struct rxrpc_conn_bundle* rxrpc_get_bundle ( struct rxrpc_sock rx,
struct rxrpc_transport trans,
struct key key,
__be16  service_id,
gfp_t  gfp 
)
read

Definition at line 65 of file ar-connection.c.

struct rxrpc_connection* rxrpc_incoming_connection ( struct rxrpc_transport trans,
struct rxrpc_header hdr,
gfp_t  gfp 
)
read

Definition at line 616 of file ar-connection.c.

void rxrpc_put_bundle ( struct rxrpc_transport trans,
struct rxrpc_conn_bundle bundle 
)

Definition at line 171 of file ar-connection.c.

void rxrpc_put_connection ( struct rxrpc_connection conn)

Definition at line 798 of file ar-connection.c.