Home
last modified time | relevance | path

Searched refs:RTF_UP (Results 1 – 8 of 8) sorted by relevance

/external/toybox/toys/pending/
Droute.c148 if (!(flags & RTF_UP)) continue; //skip down interfaces. in display_routes()
285 rt.rt_flags = ((is_net_or_host) ? RTF_UP : (RTF_UP | RTF_HOST)); in setroute()
313 rt->rtmsg_flags = (plen == DEFAULT_PREFIXLEN) ? (RTF_UP | RTF_HOST) : RTF_UP; in is_prefix_inet6()
361 rt.rtmsg_flags = RTF_UP; in setroute_inet6()
421 if (!(flag & RTF_UP)) continue; //skip down interfaces. in display_routes6()
/external/kernel-headers/original/uapi/linux/
Droute.h50 #define RTF_UP 0x0001 /* route usable */ macro
/external/ppp/pppd/
Dsys-linux.c1576 if ((rt->rt_flags & RTF_UP) == 0) in defaultroute_exists()
1607 if ((rt.rt_flags & RTF_UP) == 0 || strcmp(rt.rt_dev, ifname) == 0) in have_route_to()
1648 rt.rt_flags = RTF_UP; in sifdefaultroute()
1681 rt.rt_flags = RTF_UP; in cifdefaultroute()
2428 rt.rt_flags = RTF_UP | RTF_HOST; in sifaddr()
2485 rt.rt_flags = RTF_UP | RTF_HOST; in cifaddr()
2553 rt6.rtmsg_flags = RTF_UP; in sif6addr()
/external/webrtc/webrtc/base/
Dnetwork.cc652 (iface_flags & (RTF_UP | RTF_HOST)) == RTF_UP) { in IsDefaultRoute()
/external/toybox/toys/net/
Dnetstat.c298 if (!(flags & RTF_UP)) continue; in display_routes()
/external/wpa_supplicant_8/src/wps/
Dwps_upnp_ssdp.c826 rt.rt_flags = RTF_UP; in add_ssdp_network()
/external/dhcpcd-6.8.2/
Dif-bsd.c589 rtm.hdr.rtm_flags = RTF_UP; in if_route()
973 rtm.hdr.rtm_flags = RTF_UP | (int)rt->flags; in if_route6()
/external/iputils/
Drdisc.c1502 rt.rt_flags = RTF_UP | RTF_GATEWAY; in rtioctl()