Searched refs:RTF_UP (Results 1 – 8 of 8) sorted by relevance
148 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()
50 #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()
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()
589 rtm.hdr.rtm_flags = RTF_UP; in if_route()973 rtm.hdr.rtm_flags = RTF_UP | (int)rt->flags; in if_route6()
1502 rt.rt_flags = RTF_UP | RTF_GATEWAY; in rtioctl()