1SKB_COPY_AND_CSUM_DA(9)        Linux Networking        SKB_COPY_AND_CSUM_DA(9)
2
3
4

NAME

6       skb_copy_and_csum_datagram_iovec - Copy and checkum skb to user iovec.
7

SYNOPSIS

9       int skb_copy_and_csum_datagram_iovec(struct sk_buff * skb, int hlen,
10                                            struct iovec * iov, int len);
11

ARGUMENTS

13       skb
14           skbuff
15
16       hlen
17           hardware length
18
19       iov
20           io vector
21
22       len
23           amount of data to copy from skb to iov
24

DESCRIPTION

26       Caller _must_ check that skb will fit to this iovec.
27

RETURNS

29       0 - success. -EINVAL - checksum failure. -EFAULT - fault during copy.
30       Beware, in this case iovec can be modified!
31
33Kernel Hackers Manual 3.10         June 2019           SKB_COPY_AND_CSUM_DA(9)
Impressum