1PSKB_TRIM_RCSUM(9)             Linux Networking             PSKB_TRIM_RCSUM(9)
2
3
4

NAME

6       pskb_trim_rcsum - trim received skb and update checksum
7

SYNOPSIS

9       int pskb_trim_rcsum(struct sk_buff * skb, unsigned int len);
10

ARGUMENTS

12       skb
13           buffer to trim
14
15       len
16           new length
17

DESCRIPTION

19       This is exactly the same as pskb_trim except that it ensures the
20       checksum of received packets are still valid after the operation.
21
23Kernel Hackers Manual 2.6.       November 2011              PSKB_TRIM_RCSUM(9)
Impressum