Scroll to navigation

SKB_COPY_AND_CSUM_DA(9) Linux Networking SKB_COPY_AND_CSUM_DA(9)

NAME

skb_copy_and_csum_datagram_iovec - Copy and checkum skb to user iovec.

SYNOPSIS

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

ARGUMENTS

skb

skbuff

hlen

hardware length

iov

io vector

len

amount of data to copy from skb to iov

DESCRIPTION

Caller _must_ check that skb will fit to this iovec.

RETURNS

0 - success. -EINVAL - checksum failure. -EFAULT - fault during copy. Beware, in this case iovec can be modified!

COPYRIGHT

June 2024 Kernel Hackers Manual 3.10