table of contents
other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
SKB_PULL_RCSUM(9) | Linux Networking | SKB_PULL_RCSUM(9) |
NAME¶
skb_pull_rcsum - pull skb and update receive checksumSYNOPSIS¶
unsigned char *
skb_pull_rcsum(struct sk_buff * skb,
unsigned int len);
ARGUMENTS¶
skbbuffer to update
len
length of data pulled
DESCRIPTION¶
This function performs an skb_pull on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_pull unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |