Lines Matching refs:rt6
115 struct rt6_info __rcu *rt6; member
674 struct rt6_info *rt6; in vrf_ip6_out_redirect() local
678 rt6 = rcu_dereference(vrf->rt6); in vrf_ip6_out_redirect()
679 if (likely(rt6)) { in vrf_ip6_out_redirect()
680 dst = &rt6->dst; in vrf_ip6_out_redirect()
775 struct rt6_info *rt6 = rtnl_dereference(vrf->rt6); in vrf_rt6_release() local
779 RCU_INIT_POINTER(vrf->rt6, NULL); in vrf_rt6_release()
785 if (rt6) { in vrf_rt6_release()
786 dst = &rt6->dst; in vrf_rt6_release()
799 struct rt6_info *rt6; in vrf_rt6_create() local
811 rt6 = ip6_dst_alloc(net, dev, flags); in vrf_rt6_create()
812 if (!rt6) in vrf_rt6_create()
815 rt6->dst.output = vrf_output6; in vrf_rt6_create()
817 rcu_assign_pointer(vrf->rt6, rt6); in vrf_rt6_create()
1325 struct rt6_info *rt6; in vrf_ip6_input_dst() local
1327 rt6 = vrf_ip6_route_lookup(net, vrf_dev, &fl6, ifindex, skb, in vrf_ip6_input_dst()
1329 if (unlikely(!rt6)) in vrf_ip6_input_dst()
1332 if (unlikely(&rt6->dst == &net->ipv6.ip6_null_entry->dst)) in vrf_ip6_input_dst()
1335 skb_dst_set(skb, &rt6->dst); in vrf_ip6_input_dst()