'\" t .\" Title: pskb_put .\" 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 "PSKB_PUT" "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" pskb_put \- add data to the tail of a potentially fragmented buffer .SH "SYNOPSIS" .HP \w'unsigned\ char\ *\ pskb_put('u .BI "unsigned char * pskb_put(struct\ sk_buff\ *\ " "skb" ", struct\ sk_buff\ *\ " "tail" ", int\ " "len" ");" .SH "ARGUMENTS" .PP \fIskb\fR .RS 4 start of the buffer to use .RE .PP \fItail\fR .RS 4 tail fragment of the 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 potentially fragmented buffer\&. \fItail\fR must be the last fragment of \fIskb\fR \-\- or \fIskb\fR itself\&. If this would exceed the total buffer size the kernel will panic\&. A pointer to the first byte of the extra data is returned\&. .SH "COPYRIGHT" .br