skb_checksum_setup (9) Linux Manual Page
skb_checksum_setup – set up partial checksum offset
Synopsis
int skb_checksum_setup(struct sk_buff *skb, bool recalculate);
Arguments
skb
-
- the skb to set up
recalculate
- if true the pseudo-header checksum will be recalculated
