table of contents
other versions
- stretch 4.9.168-1
PSKB_TRIM_RCSUM(9) | Linux Networking | PSKB_TRIM_RCSUM(9) |
NAME¶
pskb_trim_rcsum - trim received skb and update checksumSYNOPSIS¶
int pskb_trim_rcsum(struct sk_buff * skb, unsigned int len);
ARGUMENTS¶
skbbuffer to trim
len
new length
DESCRIPTION¶
This is exactly the same as pskb_trim except that it ensures the checksum of received packets are still valid after the operation. It can change skb pointers.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |