'\" t .\" Title: skb_copy_and_csum_datagram_msg .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Linux Networking .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SKB_COPY_AND_CSUM_DA" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Linux Networking" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" skb_copy_and_csum_datagram_msg \- Copy and checksum skb to user iovec\&. .SH "SYNOPSIS" .HP \w'int\ skb_copy_and_csum_datagram_msg('u .BI "int skb_copy_and_csum_datagram_msg(struct\ sk_buff\ *\ " "skb" ", int\ " "hlen" ", struct\ msghdr\ *\ " "msg" ");" .SH "ARGUMENTS" .PP \fIskb\fR .RS 4 skbuff .RE .PP \fIhlen\fR .RS 4 hardware length .RE .PP \fImsg\fR .RS 4 destination .RE .SH "DESCRIPTION" .PP Caller _must_ check that skb will fit to this iovec\&. .SH "RETURN" .PP 0 \- success\&. \-EINVAL \- checksum failure\&. \-EFAULT \- fault during copy\&. .SH "COPYRIGHT" .br