Lines Matching refs:iphdr
138 const struct iphdr *iph; in ipgre_err()
179 iph = (const struct iphdr *)(icmp_hdr(skb) + 1); in ipgre_err()
223 const struct iphdr *iph = (struct iphdr *)skb->data; in gre_err()
253 const struct iphdr *iph; in __ipgre_rcv()
341 const struct iphdr *tnl_params, in __gre_xmit()
413 + tunnel_hlen + sizeof(struct iphdr); in gre_fb_xmit()
467 const struct iphdr *tnl_params; in ipgre_xmit()
477 (tunnel->hlen + sizeof(struct iphdr)))) in ipgre_xmit()
480 tnl_params = (const struct iphdr *)skb->data; in ipgre_xmit()
485 skb_pull(skb, tunnel->hlen + sizeof(struct iphdr)); in ipgre_xmit()
592 struct iphdr *iph; in ipgre_header()
595 iph = (struct iphdr *)skb_push(skb, t->hlen + sizeof(*iph)); in ipgre_header()
600 memcpy(iph, &t->parms.iph, sizeof(struct iphdr)); in ipgre_header()
615 const struct iphdr *iph = (const struct iphdr *) skb_mac_header(skb); in ipgre_header_parse()
703 t_hlen = tunnel->hlen + sizeof(struct iphdr); in __gre_tunnel_init()
732 struct iphdr *iph = &tunnel->parms.iph; in ipgre_tunnel_init()
1085 [IFLA_GRE_LOCAL] = { .len = FIELD_SIZEOF(struct iphdr, saddr) },
1086 [IFLA_GRE_REMOTE] = { .len = FIELD_SIZEOF(struct iphdr, daddr) },