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