'\" t .\" Title: skb_push .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: March 2017 .\" Manual: Linux Networking .\" Source: Kernel Hackers Manual 4.10.7 .\" Language: English .\" .TH "SKB_PUSH" "9" "March 2017" "Kernel Hackers Manual 4\&.10\&" "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_push \- add data to the start of a buffer .SH "SYNOPSIS" .HP \w'unsigned\ char\ *\ skb_push('u .BI "unsigned char * skb_push(struct\ sk_buff\ *\ " "skb" ", unsigned\ int\ " "len" ");" .SH "ARGUMENTS" .PP \fIskb\fR .RS 4 buffer to use .RE .PP \fIlen\fR .RS 4 amount of data to add .RE .SH "DESCRIPTION" .PP This function extends the used data area of the buffer at the buffer start\&. If this would exceed the total buffer headroom the kernel will panic\&. A pointer to the first byte of the extra data is returned\&. .SH "COPYRIGHT" .br