Name
skb_copy_datagram_from_iovec —
Copy a datagram from an iovec.
Synopsis
int skb_copy_datagram_from_iovec ( | struct sk_buff * | skb, |
| int | offset, |
| struct iovec * | from, |
| int | len) ; |
Arguments
skb
buffer to copy
offset
offset in the buffer to start copying to
from
io vector to copy to
len
amount of data to copy to buffer from iovec
Description
Returns 0 or -EFAULT.
Note
the iovec is modified during the copy.