Lines Matching refs:rt
26 struct rtable *rt; in __xfrm4_dst_lookup() local
34 rt = __ip_route_output_key(net, fl4); in __xfrm4_dst_lookup()
35 if (!IS_ERR(rt)) in __xfrm4_dst_lookup()
36 return &rt->dst; in __xfrm4_dst_lookup()
38 return ERR_CAST(rt); in __xfrm4_dst_lookup()
79 struct rtable *rt = (struct rtable *)xdst->route; in xfrm4_fill_dst() local
82 xdst->u.rt.rt_iif = fl4->flowi4_iif; in xfrm4_fill_dst()
89 xdst->u.rt.rt_is_input = rt->rt_is_input; in xfrm4_fill_dst()
90 xdst->u.rt.rt_flags = rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | in xfrm4_fill_dst()
92 xdst->u.rt.rt_type = rt->rt_type; in xfrm4_fill_dst()
93 xdst->u.rt.rt_gateway = rt->rt_gateway; in xfrm4_fill_dst()
94 xdst->u.rt.rt_uses_gateway = rt->rt_uses_gateway; in xfrm4_fill_dst()
95 xdst->u.rt.rt_pmtu = rt->rt_pmtu; in xfrm4_fill_dst()
96 INIT_LIST_HEAD(&xdst->u.rt.rt_uncached); in xfrm4_fill_dst()