Lines Matching refs:icmph
198 struct icmphdr *icmph; in tcf_nat_act() local
200 if (!pskb_may_pull(skb, ihl + sizeof(*icmph) + noff)) in tcf_nat_act()
203 icmph = (void *)(skb_network_header(skb) + ihl); in tcf_nat_act()
205 if (!icmp_is_err(icmph->type)) in tcf_nat_act()
208 if (!pskb_may_pull(skb, ihl + sizeof(*icmph) + sizeof(*iph) + in tcf_nat_act()
212 icmph = (void *)(skb_network_header(skb) + ihl); in tcf_nat_act()
213 iph = (void *)(icmph + 1); in tcf_nat_act()
222 if (skb_try_make_writable(skb, ihl + sizeof(*icmph) + in tcf_nat_act()
226 icmph = (void *)(skb_network_header(skb) + ihl); in tcf_nat_act()
227 iph = (void *)(icmph + 1); in tcf_nat_act()
238 inet_proto_csum_replace4(&icmph->checksum, skb, addr, new_addr, in tcf_nat_act()