Lines Matching defs:iph
31 const struct iphdr *iph = ip_hdr(skb);
33 if (ip_route_input_noref(skb, iph->daddr, iph->saddr,
34 iph->tos, skb->dev))
50 struct iphdr *iph = ip_hdr(skb);
52 iph->protocol = XFRM_MODE_SKB_CB(skb)->protocol;
56 return -iph->protocol;
60 iph->tot_len = htons(skb->len);
61 ip_send_check(iph);
86 struct iphdr *iph;
145 iph = ip_hdr(skb);
146 iphlen = iph->ihl << 2;
147 iph->tot_len = htons(ntohs(iph->tot_len) - len);