Lines Matching refs:tun_key
70 const struct ovs_key_ipv4_tunnel *tun_key; in __build_header() local
72 tun_key = &OVS_CB(skb)->egress_tun_info->tunnel; in __build_header()
74 skb = gre_handle_offloads(skb, !!(tun_key->tun_flags & TUNNEL_CSUM)); in __build_header()
78 tpi.flags = filter_tnl_flags(tun_key->tun_flags); in __build_header()
80 tpi.key = be64_get_low32(tun_key->tun_id); in __build_header()
137 const struct ovs_key_ipv4_tunnel *tun_key; in gre_tnl_send() local
150 tun_key = &OVS_CB(skb)->egress_tun_info->tunnel; in gre_tnl_send()
151 rt = ovs_tunnel_route_lookup(net, tun_key, skb->mark, &fl, IPPROTO_GRE); in gre_tnl_send()
157 tunnel_hlen = ip_gre_calc_hlen(tun_key->tun_flags); in gre_tnl_send()
186 df = tun_key->tun_flags & TUNNEL_DONT_FRAGMENT ? in gre_tnl_send()
192 tun_key->ipv4_dst, IPPROTO_GRE, in gre_tnl_send()
193 tun_key->ipv4_tos, tun_key->ipv4_ttl, df, false); in gre_tnl_send()