1SKB_COPY_AND_CSUM_DA(9) Linux Networking SKB_COPY_AND_CSUM_DA(9)
2
3
4
6 skb_copy_and_csum_datagram_iovec - Copy and checkum skb to user iovec.
7
9 int skb_copy_and_csum_datagram_iovec(struct sk_buff * skb, int hlen,
10 struct iovec * iov);
11
13 skb
14 skbuff
15
16 hlen
17 hardware length
18
19 iov
20 io vector
21
23 Caller _must_ check that skb will fit to this iovec.
24
26 0 - success. -EINVAL - checksum failure. -EFAULT - fault during copy.
27 Beware, in this case iovec can be modified!
28
30Kernel Hackers Manual 2.6. June 2019 SKB_COPY_AND_CSUM_DA(9)