'\" t .\" Title: skb_cow_head .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Linux Networking .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SKB_COW_HEAD" "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_cow_head \- skb_cow but only making the head writable .SH "SYNOPSIS" .HP \w'int\ skb_cow_head('u .BI "int skb_cow_head(struct\ sk_buff\ *\ " "skb" ", unsigned\ int\ " "headroom" ");" .SH "ARGUMENTS" .PP \fIskb\fR .RS 4 buffer to cow .RE .PP \fIheadroom\fR .RS 4 needed headroom .RE .SH "DESCRIPTION" .PP This function is identical to skb_cow except that we replace the skb_cloned check by skb_header_cloned\&. It should be used when you only need to push on some header and do not need to modify the data\&. .SH "COPYRIGHT" .br