'\" t .\" Title: skb_append_datato_frags .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: Linux Networking .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "SKB_APPEND_DATATO_FR" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "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_append_datato_frags \- append the user data to a skb .SH "SYNOPSIS" .HP \w'int\ skb_append_datato_frags('u .BI "int skb_append_datato_frags(struct\ sock\ *\ " "sk" ", struct\ sk_buff\ *\ " "skb" ", int\ (*" "getfrag" ")\ (void\ *from,\ char\ *to,\ int\ offset,\ int\ len,\ int\ odd,\ struct\ sk_buff\ *skb), void\ *\ " "from" ", int\ " "length" ");" .SH "ARGUMENTS" .PP \fIsk\fR .RS 4 sock structure .RE .PP \fIskb\fR .RS 4 skb structure to be appended with user data\&. .RE .PP \fIgetfrag\fR .RS 4 call back function to be used for getting the user data .RE .PP \fIfrom\fR .RS 4 pointer to user message iov .RE .PP \fIlength\fR .RS 4 length of the iov message .RE .SH "DESCRIPTION" .PP This procedure append the user data in the fragment part of the skb if any page alloc fails user this procedure returns \-ENOMEM .SH "COPYRIGHT" .br