Lines Matching refs:rt
52 struct rtable *rt = (struct rtable*)skb->dst; in ip_forward_finish() local
54 if (rt->rt_flags&RTCF_FAST && !netdev_fastroute_obstacles) { in ip_forward_finish()
56 unsigned h = ((*(u8*)&rt->key.dst)^(*(u8*)&rt->key.src))&NETDEV_FASTROUTE_HMASK; in ip_forward_finish()
60 skb->dev->fastpath[h] = dst_clone(&rt->u.dst); in ip_forward_finish()
77 struct rtable *rt; /* Route we use */ in ip_forward() local
96 rt = (struct rtable*)skb->dst; in ip_forward()
101 if (opt->is_strictroute && rt->rt_dst != rt->rt_gateway) in ip_forward()
110 dev2 = rt->u.dst.dev; in ip_forward()
111 mtu = rt->u.dst.pmtu; in ip_forward()
117 if (rt->rt_flags&RTCF_DOREDIRECT && !opt->srr) in ip_forward()
137 if (rt->rt_flags & RTCF_NAT) { in ip_forward()