Lines Matching refs:tunnel_dst
46 struct metadata_dst *tdst = rtnl_dereference(vlan->tinfo.tunnel_dst); in vlan_tunnel_info_release()
49 RCU_INIT_POINTER(vlan->tinfo.tunnel_dst, NULL); in vlan_tunnel_info_release()
56 if (!rcu_access_pointer(vlan->tinfo.tunnel_dst)) in vlan_tunnel_info_del()
66 struct metadata_dst *metadata = rtnl_dereference(vlan->tinfo.tunnel_dst); in __vlan_tunnel_info_add()
79 rcu_assign_pointer(vlan->tinfo.tunnel_dst, metadata); in __vlan_tunnel_info_add()
188 struct metadata_dst *tunnel_dst; in br_handle_egress_vlan_tunnel() local
205 tunnel_dst = __ip_tun_set_dst(0, 0, 0, 0, 0, TUNNEL_KEY, in br_handle_egress_vlan_tunnel()
207 if (!tunnel_dst) in br_handle_egress_vlan_tunnel()
210 tunnel_dst->u.tun_info.mode |= IP_TUNNEL_INFO_TX | in br_handle_egress_vlan_tunnel()
212 tunnel_dst->u.tun_info.key.nhid = in br_handle_egress_vlan_tunnel()
214 skb_dst_set(skb, &tunnel_dst->dst); in br_handle_egress_vlan_tunnel()
219 tunnel_dst = rcu_dereference(vlan->tinfo.tunnel_dst); in br_handle_egress_vlan_tunnel()
220 if (tunnel_dst && dst_hold_safe(&tunnel_dst->dst)) in br_handle_egress_vlan_tunnel()
221 skb_dst_set(skb, &tunnel_dst->dst); in br_handle_egress_vlan_tunnel()