'\" t .\" Title: pskb_trim_rcsum .\" 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 "PSKB_TRIM_RCSUM" "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" pskb_trim_rcsum \- trim received skb and update checksum .SH "SYNOPSIS" .HP \w'int\ pskb_trim_rcsum('u .BI "int pskb_trim_rcsum(struct\ sk_buff\ *\ " "skb" ", unsigned\ int\ " "len" ");" .SH "ARGUMENTS" .PP \fIskb\fR .RS 4 buffer to trim .RE .PP \fIlen\fR .RS 4 new length .RE .SH "DESCRIPTION" .PP This is exactly the same as pskb_trim except that it ensures the checksum of received packets are still valid after the operation\&. .SH "COPYRIGHT" .br