'\" t .\" Title: alloc_skb_with_frags .\" 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 "ALLOC_SKB_WITH_FRAGS" "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" alloc_skb_with_frags \- allocate skb with page frags .SH "SYNOPSIS" .HP \w'struct\ sk_buff\ *\ alloc_skb_with_frags('u .BI "struct sk_buff * alloc_skb_with_frags(unsigned\ long\ " "header_len" ", unsigned\ long\ " "data_len" ", int\ " "max_page_order" ", int\ *\ " "errcode" ", gfp_t\ " "gfp_mask" ");" .SH "ARGUMENTS" .PP \fIheader_len\fR .RS 4 size of linear part .RE .PP \fIdata_len\fR .RS 4 needed length in frags .RE .PP \fImax_page_order\fR .RS 4 max page order desired\&. .RE .PP \fIerrcode\fR .RS 4 pointer to error code if any .RE .PP \fIgfp_mask\fR .RS 4 allocation mask .RE .SH "DESCRIPTION" .PP This can be used to allocate a paged skb, given a maximal order for frags\&. .SH "COPYRIGHT" .br