Lines Matching refs:rt_gateway
449 if (rt->rt_gateway) in ipv4_neigh_lookup()
450 pkey = (const __be32 *) &rt->rt_gateway; in ipv4_neigh_lookup()
614 rt->rt_gateway = fnhe->fnhe_gw; in fill_route_from_fnhe()
725 if (rt->rt_gateway != old_gw) in __ip_do_redirect()
1293 if (!rt->rt_gateway) in rt_bind_exception()
1294 rt->rt_gateway = daddr; in rt_bind_exception()
1402 rt->rt_gateway = nh->nh_gw; in rt_set_nexthop()
1420 if (!rt->rt_gateway) in rt_set_nexthop()
1421 rt->rt_gateway = daddr; in rt_set_nexthop()
1491 rth->rt_gateway = 0; in ip_route_input_mc()
1660 rth->rt_gateway = 0; in __mkroute_input()
1834 rth->rt_gateway = 0; in ip_route_input_slow()
2033 rth->rt_gateway = 0; in __mkroute_output()
2311 rt->rt_gateway = ort->rt_gateway; in ipv4_blackhole_route()
2394 nla_put_in_addr(skb, RTA_GATEWAY, rt->rt_gateway)) in rt_fill_info()