'\" t .\" Title: skb_segment .\" 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_SEGMENT" "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_segment \- Perform protocol segmentation on skb\&. .SH "SYNOPSIS" .HP \w'struct\ sk_buff\ *\ skb_segment('u .BI "struct sk_buff * skb_segment(struct\ sk_buff\ *\ " "head_skb" ", netdev_features_t\ " "features" ");" .SH "ARGUMENTS" .PP \fIhead_skb\fR .RS 4 buffer to segment .RE .PP \fIfeatures\fR .RS 4 features for the output path (see dev\->features) .RE .SH "DESCRIPTION" .PP This function performs segmentation on the given skb\&. It returns a pointer to the first in a list of new skbs for the segments\&. In case of error it returns ERR_PTR(err)\&. .SH "COPYRIGHT" .br