Searched refs:FIB_RES_GW (Results 1 – 4 of 4) sorted by relevance
112 #define FIB_RES_GW(res) (FIB_RES_NH(res).nh_gw) macro165 if (FIB_RES_GW(*res) && FIB_RES_NH(*res).nh_scope == RT_SCOPE_LINK) in fib_select_default()
375 FIB_RES_GW(*res) && FIB_RES_NH(*res).nh_scope == RT_SCOPE_LINK) { in fib_select_default()
1270 if (FIB_RES_GW(*res) && in rt_set_nexthop()1272 rt->rt_gateway = FIB_RES_GW(*res); in rt_set_nexthop()1528 inet_addr_onlink(out_dev, saddr, FIB_RES_GW(res)))) in ip_route_input_slow()
640 return inet_select_addr(FIB_RES_DEV(*res), FIB_RES_GW(*res), res->scope); in __fib_res_prefsrc()