Lines Matching refs:iphdr
300 struct iphdr *iph = (struct iphdr*)skb->data; in ipip_err()
349 struct iphdr *iph = (struct iphdr*)dp; in ipip_err()
351 struct iphdr *eiph; in ipip_err()
360 if (len < hlen + sizeof(struct iphdr)) in ipip_err()
362 eiph = (struct iphdr*)(dp + hlen); in ipip_err()
467 static inline void ipip_ecn_decapsulate(struct iphdr *outer_iph, struct sk_buff *skb) in ipip_ecn_decapsulate()
469 struct iphdr *inner_iph = skb->nh.iph; in ipip_ecn_decapsulate()
478 struct iphdr *iph; in ipip_rcv()
481 if (!pskb_may_pull(skb, sizeof(struct iphdr))) in ipip_rcv()
527 struct iphdr *tiph = &tunnel->parms.iph; in ipip_tunnel_xmit()
532 struct iphdr *old_iph = skb->nh.iph; in ipip_tunnel_xmit()
533 struct iphdr *iph; /* Our new IP header */ in ipip_tunnel_xmit()
572 mtu = rt->u.dst.pmtu - sizeof(struct iphdr); in ipip_tunnel_xmit()
603 max_headroom = (((tdev->hard_header_len+15)&~15)+sizeof(struct iphdr)); in ipip_tunnel_xmit()
622 skb->nh.raw = skb_push(skb, sizeof(struct iphdr)); in ipip_tunnel_xmit()
633 iph->ihl = sizeof(struct iphdr)>>2; in ipip_tunnel_xmit()
776 if (new_mtu < 68 || new_mtu > 0xFFF8 - sizeof(struct iphdr)) in ipip_tunnel_change_mtu()
794 dev->hard_header_len = LL_MAX_HEADER + sizeof(struct iphdr); in ipip_tunnel_init_gen()
795 dev->mtu = 1500 - sizeof(struct iphdr); in ipip_tunnel_init_gen()
807 struct iphdr *iph; in ipip_tunnel_init()
827 dev->hard_header_len = tdev->hard_header_len + sizeof(struct iphdr); in ipip_tunnel_init()
828 dev->mtu = tdev->mtu - sizeof(struct iphdr); in ipip_tunnel_init()
851 struct iphdr *iph; in ipip_fb_tunnel_init()