Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Droute.c148 if (!(flags & RTF_UP)) continue; //skip down interfaces. in display_routes()
286 rt.rt_flags = ((is_net_or_host) ? RTF_UP : (RTF_UP | RTF_HOST)); in setroute()
314 rt->rtmsg_flags = (plen == DEFAULT_PREFIXLEN) ? (RTF_UP | RTF_HOST) : RTF_UP; in is_prefix_inet6()
363 rt.rtmsg_flags = RTF_UP; in setroute_inet6()
423 if (!(flag & RTF_UP)) continue; //skip down interfaces. in display_routes6()
/external/kernel-headers/original/uapi/linux/
Droute.h51 #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/scapy/scapy/arch/
Dlinux.py79 RTF_UP = 0x0001 # Route usable variable
250 if flags & RTF_UP == 0:
344 if fl & RTF_UP == 0:
/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/iputils/
Drdisc.c1502 rt.rt_flags = RTF_UP | RTF_GATEWAY; in rtioctl()
/external/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs1946 pub const RTF_UP: ::c_ushort = 0x0001; constant
/external/rust/crates/libc/src/unix/bsd/apple/
Dmod.rs2856 pub const RTF_UP: ::c_int = 0x1; constant