Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
ar-output.c File Reference
#include <linux/net.h>
#include <linux/gfp.h>
#include <linux/skbuff.h>
#include <linux/circ_buf.h>
#include <linux/export.h>
#include <net/sock.h>
#include <net/af_rxrpc.h>
#include "ar-internal.h"

Go to the source code of this file.

Functions

int rxrpc_client_sendmsg (struct kiocb *iocb, struct rxrpc_sock *rx, struct rxrpc_transport *trans, struct msghdr *msg, size_t len)
 
int rxrpc_kernel_send_data (struct rxrpc_call *call, struct msghdr *msg, size_t len)
 
 EXPORT_SYMBOL (rxrpc_kernel_send_data)
 
void rxrpc_kernel_abort_call (struct rxrpc_call *call, u32 abort_code)
 
 EXPORT_SYMBOL (rxrpc_kernel_abort_call)
 
int rxrpc_server_sendmsg (struct kiocb *iocb, struct rxrpc_sock *rx, struct msghdr *msg, size_t len)
 
int rxrpc_send_packet (struct rxrpc_transport *trans, struct sk_buff *skb)
 

Variables

int rxrpc_resend_timeout = 4
 

Function Documentation

EXPORT_SYMBOL ( rxrpc_kernel_send_data  )
EXPORT_SYMBOL ( rxrpc_kernel_abort_call  )
int rxrpc_client_sendmsg ( struct kiocb iocb,
struct rxrpc_sock rx,
struct rxrpc_transport trans,
struct msghdr msg,
size_t  len 
)

Definition at line 129 of file ar-output.c.

void rxrpc_kernel_abort_call ( struct rxrpc_call call,
u32  abort_code 
)

rxrpc_kernel_abort_call - Allow a kernel service to abort a call : The call to be aborted : The abort code to stick into the ABORT packet

Allow a kernel service to abort a call, if it's still in an abortable state.

Definition at line 252 of file ar-output.c.

int rxrpc_kernel_send_data ( struct rxrpc_call call,
struct msghdr msg,
size_t  len 
)

rxrpc_kernel_send_data - Allow a kernel service to send data on a call : The call to send data through : The data to send : The amount of data to send

Allow a kernel service to send data on a call. The call must be in an state appropriate to sending data. No control data should be supplied in , nor should an address be supplied. MSG_MORE should be flagged if there's more data to come, otherwise this data will end the transmission phase.

Definition at line 210 of file ar-output.c.

int rxrpc_send_packet ( struct rxrpc_transport trans,
struct sk_buff skb 
)

Definition at line 335 of file ar-output.c.

int rxrpc_server_sendmsg ( struct kiocb iocb,
struct rxrpc_sock rx,
struct msghdr msg,
size_t  len 
)

Definition at line 274 of file ar-output.c.

Variable Documentation

int rxrpc_resend_timeout = 4

Definition at line 21 of file ar-output.c.