Lines Matching refs:ntkoff
137 int ntkoff = skb_network_offset(skb); in tcf_csum_skb_nextlayer() local
140 if (!pskb_may_pull(skb, ipl + ntkoff) || (ipl < hl) || in tcf_csum_skb_nextlayer()
141 skb_try_make_writable(skb, hl + ntkoff)) in tcf_csum_skb_nextlayer()
387 int ntkoff; in tcf_csum_ipv4() local
389 ntkoff = skb_network_offset(skb); in tcf_csum_ipv4()
391 if (!pskb_may_pull(skb, sizeof(*iph) + ntkoff)) in tcf_csum_ipv4()
435 if (skb_try_make_writable(skb, sizeof(*iph) + ntkoff)) in tcf_csum_ipv4()
489 int ntkoff; in tcf_csum_ipv6() local
492 ntkoff = skb_network_offset(skb); in tcf_csum_ipv6()
496 if (!pskb_may_pull(skb, hl + ntkoff)) in tcf_csum_ipv6()
511 if (!pskb_may_pull(skb, hl + sizeof(*ip6xh) + ntkoff)) in tcf_csum_ipv6()
515 if (!pskb_may_pull(skb, hl + ixhl + ntkoff)) in tcf_csum_ipv6()
556 } while (pskb_may_pull(skb, hl + 1 + ntkoff)); in tcf_csum_ipv6()