other versions
- jessie 3.16.56-1+deb8u1
ZEROCOPY_SG_FROM_IOV(9) | Linux Networking | ZEROCOPY_SG_FROM_IOV(9) |
NAME¶
zerocopy_sg_from_iovec - Build a zerocopy datagram from an iovecSYNOPSIS¶
int
zerocopy_sg_from_iovec(struct sk_buff * skb,
const struct iovec * from,
int offset, size_t count);
ARGUMENTS¶
skbbuffer to copy
from
io vector to copy from
offset
offset in the io vector to start copying from
count
amount of vectors to copy to buffer from
DESCRIPTION¶
The function will first copy up to headlen, and then pin the userspace pages and build frags through them. Returns 0, -EFAULT or -EMSGSIZE.NOTE¶
the iovec is not modified during the copyCOPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |