Home
last modified time | relevance | path

Searched refs:rtm_scope (Results 1 – 9 of 9) sorted by relevance

/external/iproute2/ip/
Diproute.c179 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 …]
Diprule.c350 req.r.rtm_scope = RT_SCOPE_UNIVERSE; in iprule_modify()
/external/dhcpcd-6.8.2/
Dif-linux.c414 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()
/external/libnl/lib/route/
Droute_obj.c937 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()
/external/dnsmasq/src/
Dnetlink.c280 if (rtm->rtm_type != RTN_UNICAST || rtm->rtm_scope != RT_SCOPE_LINK) in nl_routechange()
/external/libnl/include/linux/
Drtnetlink.h160 unsigned char rtm_scope; /* See below */ member
/external/toybox/toys/pending/
Dip.c1916 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()
/external/kernel-headers/original/uapi/linux/
Drtnetlink.h190 unsigned char rtm_scope; /* See below */ member
/external/iproute2/include/linux/
Drtnetlink.h190 unsigned char rtm_scope; /* See below */ member