Lines Matching refs:iphdr
265 const struct iphdr *iph; in ipgre_err()
304 iph = (const struct iphdr *)(icmp_hdr(skb) + 1); in ipgre_err()
389 const struct iphdr *iph; in ipgre_rcv()
483 const struct iphdr *tnl_params, in __gre_xmit()
547 + tunnel_hlen + sizeof(struct iphdr); in gre_fb_xmit()
605 const struct iphdr *tnl_params; in ipgre_xmit()
615 (tunnel->hlen + sizeof(struct iphdr)))) in ipgre_xmit()
618 tnl_params = (const struct iphdr *)skb->data; in ipgre_xmit()
623 skb_pull(skb, tunnel->hlen + sizeof(struct iphdr)); in ipgre_xmit()
734 struct iphdr *iph; in ipgre_header()
737 iph = (struct iphdr *)skb_push(skb, t->hlen + sizeof(*iph)); in ipgre_header()
742 memcpy(iph, &t->parms.iph, sizeof(struct iphdr)); in ipgre_header()
757 const struct iphdr *iph = (const struct iphdr *) skb_mac_header(skb); in ipgre_header_parse()
845 t_hlen = tunnel->hlen + sizeof(struct iphdr); in __gre_tunnel_init()
867 struct iphdr *iph = &tunnel->parms.iph; in ipgre_tunnel_init()
1186 [IFLA_GRE_LOCAL] = { .len = FIELD_SIZEOF(struct iphdr, saddr) },
1187 [IFLA_GRE_REMOTE] = { .len = FIELD_SIZEOF(struct iphdr, daddr) },