1PSKB_TRIM_RCSUM(9) Linux Networking PSKB_TRIM_RCSUM(9)
23
4
NAME
6pskb_trim_rcsum - trim received skb and update checksum
7
SYNOPSIS
9int pskb_trim_rcsum(struct sk_buff * skb, unsigned int len);
10
ARGUMENTS
12skb
13buffer to trim
1415
len
16new length
17
DESCRIPTION
19This is exactly the same as pskb_trim except that it ensures the
20checksum of received packets are still valid after the operation.
21
COPYRIGHT
23Kernel Hackers Manual 3.10 June 2019 PSKB_TRIM_RCSUM(9)