Name

skb_checksum_setup — set up partial checksum offset

Synopsis

int skb_checksum_setup (struct sk_buff * skb,
 bool recalculate);
 

Arguments

struct sk_buff * skb

the skb to set up

bool recalculate

if true the pseudo-header checksum will be recalculated