Lines Matching refs:rt
28 struct rtable *rt; in __xfrm4_dst_lookup() local
40 rt = __ip_route_output_key(net, fl4); in __xfrm4_dst_lookup()
41 if (!IS_ERR(rt)) in __xfrm4_dst_lookup()
42 return &rt->dst; in __xfrm4_dst_lookup()
44 return ERR_CAST(rt); in __xfrm4_dst_lookup()
87 struct rtable *rt = (struct rtable *)xdst->route; in xfrm4_fill_dst() local
90 xdst->u.rt.rt_iif = fl4->flowi4_iif; in xfrm4_fill_dst()
97 xdst->u.rt.rt_is_input = rt->rt_is_input; in xfrm4_fill_dst()
98 xdst->u.rt.rt_flags = rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | in xfrm4_fill_dst()
100 xdst->u.rt.rt_type = rt->rt_type; in xfrm4_fill_dst()
101 xdst->u.rt.rt_gateway = rt->rt_gateway; in xfrm4_fill_dst()
102 xdst->u.rt.rt_uses_gateway = rt->rt_uses_gateway; in xfrm4_fill_dst()
103 xdst->u.rt.rt_pmtu = rt->rt_pmtu; in xfrm4_fill_dst()
104 xdst->u.rt.rt_mtu_locked = rt->rt_mtu_locked; in xfrm4_fill_dst()
105 xdst->u.rt.rt_table_id = rt->rt_table_id; in xfrm4_fill_dst()
106 INIT_LIST_HEAD(&xdst->u.rt.rt_uncached); in xfrm4_fill_dst()