Lines Matching refs:ntkoff
104 int ntkoff = skb_network_offset(skb); in tcf_csum_skb_nextlayer() local
107 if (!pskb_may_pull(skb, ipl + ntkoff) || (ipl < hl) || in tcf_csum_skb_nextlayer()
109 !skb_clone_writable(skb, hl + ntkoff) && in tcf_csum_skb_nextlayer()
325 int ntkoff; in tcf_csum_ipv4() local
327 ntkoff = skb_network_offset(skb); in tcf_csum_ipv4()
329 if (!pskb_may_pull(skb, sizeof(*iph) + ntkoff)) in tcf_csum_ipv4()
369 !skb_clone_writable(skb, sizeof(*iph) + ntkoff) && in tcf_csum_ipv4()
424 int ntkoff; in tcf_csum_ipv6() local
427 ntkoff = skb_network_offset(skb); in tcf_csum_ipv6()
431 if (!pskb_may_pull(skb, hl + ntkoff)) in tcf_csum_ipv6()
446 if (!pskb_may_pull(skb, hl + sizeof(*ip6xh) + ntkoff)) in tcf_csum_ipv6()
450 if (!pskb_may_pull(skb, hl + ixhl + ntkoff)) in tcf_csum_ipv6()
486 } while (pskb_may_pull(skb, hl + 1 + ntkoff)); in tcf_csum_ipv6()