Lines Matching refs:icmph
188 struct icmphdr *icmph; in tcf_nat() local
190 if (!pskb_may_pull(skb, ihl + sizeof(*icmph) + noff)) in tcf_nat()
193 icmph = (void *)(skb_network_header(skb) + ihl); in tcf_nat()
195 if ((icmph->type != ICMP_DEST_UNREACH) && in tcf_nat()
196 (icmph->type != ICMP_TIME_EXCEEDED) && in tcf_nat()
197 (icmph->type != ICMP_PARAMETERPROB)) in tcf_nat()
200 if (!pskb_may_pull(skb, ihl + sizeof(*icmph) + sizeof(*iph) + in tcf_nat()
204 icmph = (void *)(skb_network_header(skb) + ihl); in tcf_nat()
205 iph = (void *)(icmph + 1); in tcf_nat()
215 !skb_clone_writable(skb, ihl + sizeof(*icmph) + in tcf_nat()
220 icmph = (void *)(skb_network_header(skb) + ihl); in tcf_nat()
221 iph = (void *)(icmph + 1); in tcf_nat()
232 inet_proto_csum_replace4(&icmph->checksum, skb, addr, new_addr, in tcf_nat()