1SKB_COPY_DATAGRAM_FR(9) Linux Networking SKB_COPY_DATAGRAM_FR(9)
2
3
4
6 skb_copy_datagram_from_iovec - Copy a datagram from an iovec.
7
9 int skb_copy_datagram_from_iovec(struct sk_buff * skb, int offset,
10 const struct iovec * from,
11 int from_offset, int len);
12
14 skb
15 buffer to copy
16
17 offset
18 offset in the buffer to start copying to
19
20 from
21 io vector to copy to
22
23 from_offset
24 offset in the io vector to start copying from
25
26 len
27 amount of data to copy to buffer from iovec
28
30 Returns 0 or -EFAULT.
31
33 the iovec is not modified during the copy.
34
36Kernel Hackers Manual 3.10 June 2019 SKB_COPY_DATAGRAM_FR(9)