Lines Matching full:rt
24 struct rtable *rt; in __xfrm4_dst_lookup() local
37 rt = __ip_route_output_key(params->net, fl4); in __xfrm4_dst_lookup()
38 if (!IS_ERR(rt)) in __xfrm4_dst_lookup()
39 return &rt->dst; in __xfrm4_dst_lookup()
41 return ERR_CAST(rt); in __xfrm4_dst_lookup()
69 struct rtable *rt = dst_rtable(xdst->route); in xfrm4_fill_dst() local
72 xdst->u.rt.rt_iif = fl4->flowi4_iif; in xfrm4_fill_dst()
79 xdst->u.rt.rt_is_input = rt->rt_is_input; in xfrm4_fill_dst()
80 xdst->u.rt.rt_flags = rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | in xfrm4_fill_dst()
82 xdst->u.rt.rt_type = rt->rt_type; in xfrm4_fill_dst()
83 xdst->u.rt.rt_uses_gateway = rt->rt_uses_gateway; in xfrm4_fill_dst()
84 xdst->u.rt.rt_gw_family = rt->rt_gw_family; in xfrm4_fill_dst()
85 if (rt->rt_gw_family == AF_INET) in xfrm4_fill_dst()
86 xdst->u.rt.rt_gw4 = rt->rt_gw4; in xfrm4_fill_dst()
87 else if (rt->rt_gw_family == AF_INET6) in xfrm4_fill_dst()
88 xdst->u.rt.rt_gw6 = rt->rt_gw6; in xfrm4_fill_dst()
89 xdst->u.rt.rt_pmtu = rt->rt_pmtu; in xfrm4_fill_dst()
90 xdst->u.rt.rt_mtu_locked = rt->rt_mtu_locked; in xfrm4_fill_dst()
91 rt_add_uncached_list(&xdst->u.rt); in xfrm4_fill_dst()
120 rt_del_uncached_list(&xdst->u.rt); in xfrm4_dst_destroy()