Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
ar-recvmsg.c File Reference
#include <linux/net.h>
#include <linux/skbuff.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

void rxrpc_remove_user_ID (struct rxrpc_sock *rx, struct rxrpc_call *call)
 
int rxrpc_recvmsg (struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t len, int flags)
 
void rxrpc_kernel_data_delivered (struct sk_buff *skb)
 
 EXPORT_SYMBOL (rxrpc_kernel_data_delivered)
 
bool rxrpc_kernel_is_data_last (struct sk_buff *skb)
 
 EXPORT_SYMBOL (rxrpc_kernel_is_data_last)
 
u32 rxrpc_kernel_get_abort_code (struct sk_buff *skb)
 
 EXPORT_SYMBOL (rxrpc_kernel_get_abort_code)
 
int rxrpc_kernel_get_error_number (struct sk_buff *skb)
 
 EXPORT_SYMBOL (rxrpc_kernel_get_error_number)
 

Function Documentation

EXPORT_SYMBOL ( rxrpc_kernel_data_delivered  )
EXPORT_SYMBOL ( rxrpc_kernel_is_data_last  )
EXPORT_SYMBOL ( rxrpc_kernel_get_abort_code  )
EXPORT_SYMBOL ( rxrpc_kernel_get_error_number  )
void rxrpc_kernel_data_delivered ( struct sk_buff skb)

rxrpc_kernel_data_delivered - Record delivery of data message : Message holding data

Record the delivery of a data message. This permits RxRPC to keep its tracking correct. The socket buffer will be deleted.

Definition at line 377 of file ar-recvmsg.c.

u32 rxrpc_kernel_get_abort_code ( struct sk_buff skb)

rxrpc_kernel_get_abort_code - Get the abort code from an RxRPC abort message : Message indicating an abort

Get the abort code from an RxRPC abort message.

Definition at line 415 of file ar-recvmsg.c.

int rxrpc_kernel_get_error_number ( struct sk_buff skb)

rxrpc_kernel_get_error - Get the error number from an RxRPC error message : Message indicating an error

Get the error number from an RxRPC error message.

Definition at line 432 of file ar-recvmsg.c.

bool rxrpc_kernel_is_data_last ( struct sk_buff skb)

rxrpc_kernel_is_data_last - Determine if data message is last one : Message holding data

Determine if data message is last one for the parent call.

Definition at line 398 of file ar-recvmsg.c.

int rxrpc_recvmsg ( struct kiocb iocb,
struct socket sock,
struct msghdr msg,
size_t  len,
int  flags 
)

Definition at line 46 of file ar-recvmsg.c.

void rxrpc_remove_user_ID ( struct rxrpc_sock rx,
struct rxrpc_call call 
)

Definition at line 23 of file ar-recvmsg.c.