Lines Matching refs:ntkoff
103 int ntkoff = skb_network_offset(skb); in tcf_csum_skb_nextlayer() local
106 if (!pskb_may_pull(skb, ipl + ntkoff) || (ipl < hl) || in tcf_csum_skb_nextlayer()
108 !skb_clone_writable(skb, hl + ntkoff) && in tcf_csum_skb_nextlayer()
324 int ntkoff; in tcf_csum_ipv4() local
326 ntkoff = skb_network_offset(skb); in tcf_csum_ipv4()
328 if (!pskb_may_pull(skb, sizeof(*iph) + ntkoff)) in tcf_csum_ipv4()
368 !skb_clone_writable(skb, sizeof(*iph) + ntkoff) && in tcf_csum_ipv4()
423 int ntkoff; in tcf_csum_ipv6() local
426 ntkoff = skb_network_offset(skb); in tcf_csum_ipv6()
430 if (!pskb_may_pull(skb, hl + ntkoff)) in tcf_csum_ipv6()
445 if (!pskb_may_pull(skb, hl + sizeof(*ip6xh) + ntkoff)) in tcf_csum_ipv6()
449 if (!pskb_may_pull(skb, hl + ixhl + ntkoff)) in tcf_csum_ipv6()
485 } while (pskb_may_pull(skb, hl + 1 + ntkoff)); in tcf_csum_ipv6()