Lines Matching refs:rth
113 struct rtable __rcu *rth; member
932 struct rtable *rth; in vrf_ip_out_redirect() local
936 rth = rcu_dereference(vrf->rth); in vrf_ip_out_redirect()
937 if (likely(rth)) { in vrf_ip_out_redirect()
938 dst = &rth->dst; in vrf_ip_out_redirect()
1050 struct rtable *rth = rtnl_dereference(vrf->rth); in vrf_rtable_release() local
1054 RCU_INIT_POINTER(vrf->rth, NULL); in vrf_rtable_release()
1060 if (rth) { in vrf_rtable_release()
1061 dst = &rth->dst; in vrf_rtable_release()
1072 struct rtable *rth; in vrf_rtable_create() local
1078 rth = rt_dst_alloc(dev, 0, RTN_UNICAST, 1); in vrf_rtable_create()
1079 if (!rth) in vrf_rtable_create()
1082 rth->dst.output = vrf_output; in vrf_rtable_create()
1084 rcu_assign_pointer(vrf->rth, rth); in vrf_rtable_create()