SKB_COPY_DATAGRAM_CO(9) Linux Networking SKB_COPY_DATAGRAM_CO(9)NAMEskb_copy_datagram_const_iovec - Copy a datagram to an iovec.
SYNOPSIS
int skb_copy_datagram_const_iovec(const struct sk_buff * skb,
int offset, const struct iovec * to,
int to_offset, int len);
ARGUMENTS
skb
buffer to copy
offset
offset in the buffer to start copying from
to
io vector to copy to
to_offset
offset in the io vector to start copying to
len
amount of data to copy from buffer to iovec
DESCRIPTION
Returns 0 or -EFAULT.
NOTE
the iovec is not modified during the copy.
COPYRIGHTKernel Hackers Manual 3.8. June 2014 SKB_COPY_DATAGRAM_CO(9)