Lines Matching defs:iph
33 const struct iphdr *iph = ip_hdr(skb);
35 if (ip_route_input_noref(skb, iph->daddr, iph->saddr,
36 ip4h_dscp(iph), skb->dev))
52 struct iphdr *iph = ip_hdr(skb);
55 iph->protocol = XFRM_MODE_SKB_CB(skb)->protocol;
59 return -iph->protocol;
63 iph->tot_len = htons(skb->len);
64 ip_send_check(iph);
86 struct iphdr *iph;
132 iph = ip_hdr(skb);
133 iphlen = iph->ihl << 2;
134 iph->tot_len = htons(ntohs(iph->tot_len) - len);