Lines Matching refs:rt6
112 struct rt6_info __rcu *rt6; member
686 struct rt6_info *rt6; in vrf_ip6_out_redirect() local
690 rt6 = rcu_dereference(vrf->rt6); in vrf_ip6_out_redirect()
691 if (likely(rt6)) { in vrf_ip6_out_redirect()
692 dst = &rt6->dst; in vrf_ip6_out_redirect()
785 struct rt6_info *rt6 = rtnl_dereference(vrf->rt6); in vrf_rt6_release() local
789 RCU_INIT_POINTER(vrf->rt6, NULL); in vrf_rt6_release()
795 if (rt6) { in vrf_rt6_release()
796 dst = &rt6->dst; in vrf_rt6_release()
809 struct rt6_info *rt6; in vrf_rt6_create() local
821 rt6 = ip6_dst_alloc(net, dev, flags); in vrf_rt6_create()
822 if (!rt6) in vrf_rt6_create()
825 rt6->dst.output = vrf_output6; in vrf_rt6_create()
827 rcu_assign_pointer(vrf->rt6, rt6); in vrf_rt6_create()
1343 struct rt6_info *rt6; in vrf_ip6_input_dst() local
1345 rt6 = vrf_ip6_route_lookup(net, vrf_dev, &fl6, ifindex, skb, in vrf_ip6_input_dst()
1347 if (unlikely(!rt6)) in vrf_ip6_input_dst()
1350 if (unlikely(&rt6->dst == &net->ipv6.ip6_null_entry->dst)) in vrf_ip6_input_dst()
1353 skb_dst_set(skb, &rt6->dst); in vrf_ip6_input_dst()