1SKB_COPY_DATAGRAM_IO(9) Linux Networking SKB_COPY_DATAGRAM_IO(9)
2
3
4
6 skb_copy_datagram_iovec - Copy a datagram to an iovec.
7
9 int skb_copy_datagram_iovec(const struct sk_buff * skb, int offset,
10 struct iovec * to, int len);
11
13 skb
14 buffer to copy
15
16 offset
17 offset in the buffer to start copying from
18
19 to
20 io vector to copy to
21
22 len
23 amount of data to copy from buffer to iovec
24
26 the iovec is modified during the copy.
27
29Kernel Hackers Manual 2.6. June 2019 SKB_COPY_DATAGRAM_IO(9)