'\" t .\" Title: skb_tailroom_reserve .\" 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_TAILROOM_RESERVE" "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_tailroom_reserve \- adjust reserved_tailroom .SH "SYNOPSIS" .HP \w'void\ skb_tailroom_reserve('u .BI "void skb_tailroom_reserve(struct\ sk_buff\ *\ " "skb" ", unsigned\ int\ " "mtu" ", unsigned\ int\ " "needed_tailroom" ");" .SH "ARGUMENTS" .PP \fIskb\fR .RS 4 buffer to alter .RE .PP \fImtu\fR .RS 4 maximum amount of headlen permitted .RE .PP \fIneeded_tailroom\fR .RS 4 minimum amount of reserved_tailroom .RE .SH "DESCRIPTION" .PP Set reserved_tailroom so that headlen can be as large as possible but not larger than mtu and tailroom cannot be smaller than needed_tailroom\&. The required headroom should already have been reserved before using this function\&. .SH "COPYRIGHT" .br