Searched refs:rtm_scope (Results 1 – 9 of 9) sorted by relevance
179 if ((filter.scope^r->rtm_scope)&filter.scopemask) in filter_nlmsg()440 if ((r->rtm_scope != RT_SCOPE_UNIVERSE || show_details > 0) && filter.scopemask != -1) in print_route()441 fprintf(fp, " scope %s ", rtnl_rtscope_n2a(r->rtm_scope, b1, sizeof(b1))); in print_route()844 req.r.rtm_scope = RT_SCOPE_NOWHERE; in iproute_modify()848 req.r.rtm_scope = RT_SCOPE_UNIVERSE; in iproute_modify()927 req.r.rtm_scope = scope; in iproute_modify()1202 req.r.rtm_scope = RT_SCOPE_UNIVERSE; in iproute_modify()1205 req.r.rtm_scope = RT_SCOPE_HOST; in iproute_modify()1209 req.r.rtm_scope = RT_SCOPE_LINK; in iproute_modify()1213 req.r.rtm_scope = RT_SCOPE_NOWHERE; in iproute_modify()[all …]
350 req.r.rtm_scope = RT_SCOPE_UNIVERSE; in iprule_modify()
414 if (rtm->rtm_scope == RT_SCOPE_HOST) in if_copyrt()479 if (rtm->rtm_scope == RT_SCOPE_HOST) in if_copyrt6()1346 nlm.rt.rtm_scope = RT_SCOPE_NOWHERE; in if_route()1356 nlm.rt.rtm_scope = RT_SCOPE_HOST; in if_route()1360 nlm.rt.rtm_scope = RT_SCOPE_LINK; in if_route()1362 nlm.rt.rtm_scope = RT_SCOPE_UNIVERSE; in if_route()1545 nlm.rt.rtm_scope = RT_SCOPE_NOWHERE; in if_route6()1549 nlm.rt.rtm_scope = RT_SCOPE_HOST; in if_route6()1552 nlm.rt.rtm_scope = RT_SCOPE_LINK; in if_route6()
937 route->rt_scope = rtm->rtm_scope; in rtnl_route_parse()1088 .rtm_scope = route->rt_scope, in rtnl_route_build_msg()1101 if (rtmsg.rtm_scope == RT_SCOPE_NOWHERE) in rtnl_route_build_msg()1102 rtmsg.rtm_scope = rtnl_route_guess_scope(route); in rtnl_route_build_msg()
280 if (rtm->rtm_type != RTN_UNICAST || rtm->rtm_scope != RT_SCOPE_LINK) in nl_routechange()
160 unsigned char rtm_scope; /* See below */ member
1916 req.msg.rtm_scope = RT_SCOPE_NOWHERE; in route_update()1920 req.msg.rtm_scope = RT_SCOPE_UNIVERSE; in route_update()2005 req.msg.rtm_scope = RT_SCOPE_HOST; in route_update()2008 req.msg.rtm_scope = RT_SCOPE_LINK; in route_update()2011 req.msg.rtm_scope = RT_SCOPE_NOWHERE; in route_update()2013 req.msg.rtm_scope = RT_SCOPE_LINK; in route_update()2094 request.msg.rtm_scope = RT_SCOPE_UNIVERSE; in ruleupdate()
190 unsigned char rtm_scope; /* See below */ member