Lines Matching refs:iphdr
141 const struct iphdr *iph; in ipgre_err()
154 iph = (const struct iphdr *)(icmp_hdr(skb) + 1); in ipgre_err()
235 const struct iphdr *iph = (struct iphdr *)skb->data; in gre_err()
276 const struct iphdr *iph; in erspan_rcv()
368 const struct iphdr *iph; in __ipgre_rcv()
376 const struct iphdr *tnl_params; in __ipgre_rcv()
474 const struct iphdr *tnl_params, in __gre_xmit()
653 const struct iphdr *tnl_params; in ipgre_xmit()
664 int pull_len = tunnel->hlen + sizeof(struct iphdr); in ipgre_xmit()
672 tnl_params = (const struct iphdr *)skb->data; in ipgre_xmit()
892 struct iphdr *iph; in ipgre_header()
900 memcpy(iph, &t->parms.iph, sizeof(struct iphdr)); in ipgre_header()
915 const struct iphdr *iph = (const struct iphdr *) skb_mac_header(skb); in ipgre_header_parse()
1028 struct iphdr *iph = &tunnel->parms.iph; in ipgre_tunnel_init()
1639 [IFLA_GRE_LOCAL] = { .len = sizeof_field(struct iphdr, saddr) },
1640 [IFLA_GRE_REMOTE] = { .len = sizeof_field(struct iphdr, daddr) },