skb_copy_and_csum_datagram_msg (9) - Linux Manuals
skb_copy_and_csum_datagram_msg: Copy and checksum skb to user iovec.
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, inthlen, struct msghdr * msg);
ARGUMENTS
skb
-
- skbuff
hlen
- hardware length
msg
- destination
DESCRIPTION
Caller _must_ check that skb will fit to this iovec.
RETURN
0 - success. -EINVAL - checksum failure. -EFAULT - fault during copy.
COPYRIGHT