#include <linux/module.h>
#include <linux/net.h>
#include <linux/slab.h>
#include <linux/skbuff.h>
#include <linux/poll.h>
#include <linux/proc_fs.h>
#include <linux/key-type.h>
#include <net/net_namespace.h>
#include <net/sock.h>
#include <net/af_rxrpc.h>
#include "ar-internal.h"
Go to the source code of this file.
|
| MODULE_DESCRIPTION ("RxRPC network protocol") |
|
| MODULE_AUTHOR ("Red Hat, Inc.") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_ALIAS_NETPROTO (PF_RXRPC) |
|
| module_param_named (debug, rxrpc_debug, uint, S_IWUSR|S_IRUGO) |
|
| MODULE_PARM_DESC (debug,"RxRPC debugging mask") |
|
struct rxrpc_call * | rxrpc_kernel_begin_call (struct socket *sock, struct sockaddr_rxrpc *srx, struct key *key, unsigned long user_call_ID, gfp_t gfp) |
|
| EXPORT_SYMBOL (rxrpc_kernel_begin_call) |
|
void | rxrpc_kernel_end_call (struct rxrpc_call *call) |
|
| EXPORT_SYMBOL (rxrpc_kernel_end_call) |
|
void | rxrpc_kernel_intercept_rx_messages (struct socket *sock, rxrpc_interceptor_t interceptor) |
|
| EXPORT_SYMBOL (rxrpc_kernel_intercept_rx_messages) |
|
| module_init (af_rxrpc_init) |
|
| module_exit (af_rxrpc_exit) |
|
MODULE_AUTHOR |
( |
"Red |
Hat, |
|
|
Inc." |
|
|
) |
| |
MODULE_DESCRIPTION |
( |
"RxRPC network protocol" |
| ) |
|
module_exit |
( |
af_rxrpc_exit |
| ) |
|
module_init |
( |
af_rxrpc_init |
| ) |
|
MODULE_PARM_DESC |
( |
debug |
, |
|
|
"RxRPC debugging mask" |
|
|
) |
| |
rxrpc_kernel_begin_call - Allow a kernel service to begin a call : The socket on which to make the call : The address of the peer to contact (defaults to socket setting) : The security context to use (defaults to socket setting) : The ID to use
Allow a kernel service to begin a call on the nominated socket. This just sets up all the internal tracking structures and allocates connection and call IDs as appropriate. The call to be used is returned.
The default socket destination address and security may be overridden by supplying and .
Definition at line 268 of file af_rxrpc.c.
rxrpc_kernel_end_call - Allow a kernel service to end a call it was using : The call to end
Allow a kernel service to end a call it was using. The call must be complete before this is called (the call should be aborted if necessary).
Definition at line 336 of file af_rxrpc.c.
rxrpc_kernel_intercept_rx_messages - Intercept received RxRPC messages : The socket to intercept received messages on : The function to pass the messages to
Allow a kernel service to intercept messages heading for the Rx queue on an RxRPC socket. They get passed to the specified function instead. should free the socket buffers it is given. is called with the socket receive queue spinlock held and softirqs disabled - this ensures that the messages will be delivered in the right order.
Definition at line 356 of file af_rxrpc.c.