Lines Matching refs:rth
113 struct rtable __rcu *rth; member
934 struct rtable *rth; in vrf_ip_out_redirect() local
938 rth = rcu_dereference(vrf->rth); in vrf_ip_out_redirect()
939 if (likely(rth)) { in vrf_ip_out_redirect()
940 dst = &rth->dst; in vrf_ip_out_redirect()
1052 struct rtable *rth = rtnl_dereference(vrf->rth); in vrf_rtable_release() local
1056 RCU_INIT_POINTER(vrf->rth, NULL); in vrf_rtable_release()
1062 if (rth) { in vrf_rtable_release()
1063 dst = &rth->dst; in vrf_rtable_release()
1074 struct rtable *rth; in vrf_rtable_create() local
1080 rth = rt_dst_alloc(dev, 0, RTN_UNICAST, 1); in vrf_rtable_create()
1081 if (!rth) in vrf_rtable_create()
1084 rth->dst.output = vrf_output; in vrf_rtable_create()
1086 rcu_assign_pointer(vrf->rth, rth); in vrf_rtable_create()