Lines Matching refs:rth
45 struct rtable __rcu *rth; member
622 struct rtable *rth; in vrf_ip_out_redirect() local
626 rth = rcu_dereference(vrf->rth); in vrf_ip_out_redirect()
627 if (likely(rth)) { in vrf_ip_out_redirect()
628 dst = &rth->dst; in vrf_ip_out_redirect()
714 struct rtable *rth = rtnl_dereference(vrf->rth); in vrf_rtable_release() local
718 RCU_INIT_POINTER(vrf->rth, NULL); in vrf_rtable_release()
724 if (rth) { in vrf_rtable_release()
725 dst = &rth->dst; in vrf_rtable_release()
736 struct rtable *rth; in vrf_rtable_create() local
742 rth = rt_dst_alloc(dev, 0, RTN_UNICAST, 1, 1, 0); in vrf_rtable_create()
743 if (!rth) in vrf_rtable_create()
746 rth->dst.output = vrf_output; in vrf_rtable_create()
748 rcu_assign_pointer(vrf->rth, rth); in vrf_rtable_create()