skb_copy_and_csum_datagram_msg(9)

skb_copy_and_csum_datagram_msg9

Copy and checksum skb to user iovec.

Usage

int skb_copy_and_csum_datagram_msg(struct sk_buff * skb, int hlen, struct msghdr * msg);

Arguments

skb

skbuff

hlen

hardware length

msg

destination

Overview

Caller _must_ check that skb will fit to this iovec.

Return

0 - success. -EINVAL - checksum failure. -EFAULT - fault during copy.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.