Lines Matching refs:iphdr
140 const struct iphdr *iph; in ipgre_err()
154 iph = (const struct iphdr *)(icmp_hdr(skb) + 1); in ipgre_err()
230 const struct iphdr *iph = (struct iphdr *)skb->data; in gre_err()
270 const struct iphdr *iph; in erspan_rcv()
360 const struct iphdr *iph; in __ipgre_rcv()
368 const struct iphdr *tnl_params; in __ipgre_rcv()
463 const struct iphdr *tnl_params, in __gre_xmit()
632 const struct iphdr *tnl_params; in ipgre_xmit()
643 int pull_len = tunnel->hlen + sizeof(struct iphdr); in ipgre_xmit()
648 tnl_params = (const struct iphdr *)skb->data; in ipgre_xmit()
859 struct iphdr *iph; in ipgre_header()
867 memcpy(iph, &t->parms.iph, sizeof(struct iphdr)); in ipgre_header()
882 const struct iphdr *iph = (const struct iphdr *) skb_mac_header(skb); in ipgre_header_parse()
992 struct iphdr *iph = &tunnel->parms.iph; in ipgre_tunnel_init()
1592 [IFLA_GRE_LOCAL] = { .len = sizeof_field(struct iphdr, saddr) },
1593 [IFLA_GRE_REMOTE] = { .len = sizeof_field(struct iphdr, daddr) },