Searched refs:RTF_UP (Results 1 – 10 of 10) sorted by relevance
148 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()
51 #define RTF_UP 0x0001 /* route usable */ macro
1576 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()
79 RTF_UP = 0x0001 # Route usable variable250 if flags & RTF_UP == 0:344 if fl & RTF_UP == 0:
652 (iface_flags & (RTF_UP | RTF_HOST)) == RTF_UP) { in IsDefaultRoute()
298 if (!(flags & RTF_UP)) continue; in display_routes()
826 rt.rt_flags = RTF_UP; in add_ssdp_network()
1502 rt.rt_flags = RTF_UP | RTF_GATEWAY; in rtioctl()
1946 pub const RTF_UP: ::c_ushort = 0x0001; constant
2856 pub const RTF_UP: ::c_int = 0x1; constant