1SKB_PULL_RCSUM(9) Linux Networking SKB_PULL_RCSUM(9)
2
3
4
6 skb_pull_rcsum - pull skb and update receive checksum
7
9 unsigned char * skb_pull_rcsum(struct sk_buff * skb, unsigned int len);
10
12 skb
13 buffer to update
14
15 len
16 length of data pulled
17
19 This function performs an skb_pull on the packet and updates the
20 CHECKSUM_COMPLETE checksum. It should be used on receive path
21 processing instead of skb_pull unless you know that the checksum
22 difference is zero (e.g., a valid IP header) or you are setting
23 ip_summed to CHECKSUM_NONE.
24
26Kernel Hackers Manual 2.6. June 2019 SKB_PULL_RCSUM(9)