Name
skb_copy_datagram_from_iter —
Copy a datagram from an iov_iter.
Synopsis
int skb_copy_datagram_from_iter ( | struct sk_buff * skb, |
| int offset, |
| struct iov_iter * from, |
| int len) ; |
Arguments
skb
buffer to copy
offset
offset in the buffer to start copying to
from
the copy source
len
amount of data to copy to buffer from iovec
Description
Returns 0 or -EFAULT.