other versions
SKB_COPY_AND_CSUM_DA(9) | Linux Networking | SKB_COPY_AND_CSUM_DA(9) |
NAME¶
skb_copy_and_csum_datagram_msg - Copy and checksum skb to user iovec.
SYNOPSIS¶
int skb_copy_and_csum_datagram_msg(struct sk_buff * skb, int hlen, struct msghdr * msg);
ARGUMENTS¶
struct sk_buff * skb
skbuff
int hlen
hardware length
struct msghdr * msg
destination
DESCRIPTION¶
Caller _must_ check that skb will fit to this iovec.
RETURN¶
0 - success. -EINVAL - checksum failure. -EFAULT - fault during copy.
COPYRIGHT¶
July 2017 | Kernel Hackers Manual 4.12 |