#include <linux/compiler.h>
#include <linux/netdevice.h>
#include <linux/gfp.h>
#include <linux/skbuff.h>
#include <linux/types.h>
#include <linux/pagemap.h>
#include <linux/udp.h>
#include <linux/sunrpc/xdr.h>
#include <linux/export.h>
Go to the source code of this file.
csum_partial_copy_to_xdr - checksum and copy data : target XDR buffer : source skb
We have set things up such that we perform the checksum of the UDP packet in parallel with the copies into the RPC client iovec. -DaveM
Definition at line 153 of file socklib.c.
ssize_t xdr_partial_copy_from_skb |
( |
struct xdr_buf * |
xdr, |
|
|
unsigned int |
base, |
|
|
struct xdr_skb_reader * |
desc, |
|
|
xdr_skb_read_actor |
copy_actor |
|
) |
| |
xdr_partial_copy_from_skb - copy data out of an skb : target XDR buffer : starting offset : sk_buff copy helper : virtual method for copying data
Definition at line 72 of file socklib.c.
xdr_skb_read_bits - copy some data bits from skb to internal buffer : sk_buff copy helper : copy destination : number of bytes to copy
Possibly called several times to iterate over an sk_buff and copy data out of it.
Definition at line 29 of file socklib.c.