Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Droute.c248 if ((rt->rt_flags & RTF_HOST) && addr_mask != INVALID_ADDR) in verify_netmask()
285 rt.rt_flags = ((is_net_or_host) ? RTF_UP : (RTF_UP | RTF_HOST)); in setroute()
290 if ((action == 1) && (rt.rt_flags & RTF_HOST)) in setroute()
313 rt->rtmsg_flags = (plen == DEFAULT_PREFIXLEN) ? (RTF_UP | RTF_HOST) : RTF_UP; in is_prefix_inet6()
/external/kernel-headers/original/uapi/linux/
Droute.h52 #define RTF_HOST 0x0004 /* host entry (net otherwise) */ macro
/external/dhcpcd-6.8.2/
Dif-bsd.c533 !(~rtm->rtm_flags & (RTF_HOST | RTF_GATEWAY))) in if_copyrt()
624 rtm.hdr.rtm_flags |= RTF_HOST; in if_route()
629 rtm.hdr.rtm_flags |= RTF_HOST | RTF_GATEWAY; in if_route()
645 if ((rtm.hdr.rtm_flags & (RTF_HOST | RTF_CLONING) && in if_route()
647 if ((rtm.hdr.rtm_flags & RTF_HOST && in if_route()
847 if (rtm->rtm_flags & (RTF_CLONED | RTF_HOST)) in if_copyrt6()
850 if (rtm->rtm_flags & RTF_HOST) in if_copyrt6()
922 !(~rtm->rtm_flags & (RTF_HOST | RTF_GATEWAY))) in if_copyrt6()
1244 if (rtm->rtm_flags & (RTF_HOST)) { in if_managelink()
Dif-linux.c415 rt->flags |= RTF_HOST; in if_copyrt()
480 rt->flags |= RTF_HOST; in if_copyrt6()
/external/toybox/toys/net/
Dnetstat.c276 RTF_GATEWAY, RTF_HOST, RTF_REINSTATE, RTF_DYNAMIC, RTF_MODIFIED in display_routes()
/external/webrtc/webrtc/base/
Dnetwork.cc652 (iface_flags & (RTF_UP | RTF_HOST)) == RTF_UP) { in IsDefaultRoute()
/external/ppp/pppd/
Dsys-linux.c2428 rt.rt_flags = RTF_UP | RTF_HOST; in sifaddr()
2485 rt.rt_flags = RTF_UP | RTF_HOST; in cifaddr()
Dsys-solaris.c2616 rt.rt_flags = RTF_HOST;