skb_copy_datagram_iter(9) Copy a datagram to an iovec iterator.

SYNOPSIS

int skb_copy_datagram_iter(const struct sk_buff * skb, int offset, struct iov_iter * to, int len);

ARGUMENTS

skb

buffer to copy

offset

offset in the buffer to start copying from

to

iovec iterator to copy to

len

amount of data to copy from buffer to iovec

COPYRIGHT