RTF_UP
flags |= RTF_UP;
{ RTF_UP, 'U' },
RTF_STATIC | RTF_UP;
rtm.rtm_flags = RTF_UP | RTF_GATEWAY | RTF_STATIC;
RTF_UP | RTF_GATEWAY, NULL, RT_DEFAULT_FIB);
(RTF_UP | RTF_GATEWAY | RTF_STATIC), NULL, RT_DEFAULT_FIB);
(RTF_UP | RTF_GATEWAY | RTF_STATIC), NULL, RT_DEFAULT_FIB);
#define IFA_ROUTE RTF_UP /* (0x01) route installed */
rtm->rtm_flags = RTF_UP;
rt->rt_flags &= ~RTF_UP;
rt->rt_flags = RTF_UP | (flags & ~RTF_DONTCHANGEIFA);
#define PRESERVED_RTF (RTF_UP | RTF_GATEWAY | RTF_HOST | RTF_DONE | RTF_MASK)
if (ISSET(rt->rt_flags, RTF_UP)) {
if ((rt->rt_flags & RTF_UP) == 0) {
KASSERT((retrt->rt_flags & RTF_UP) == 0);
if (!ISSET(rt->rt_flags, RTF_UP))
if (!ISSET(rt->rt_flags, RTF_UP) || ISSET(rt->rt_flags, RTF_UPDATING)) {
if (!ISSET(rt->rt_flags, RTF_UP)) {
flags |= RTF_UP;
rtm->rtm_flags &= ~RTF_UP;
(rtm->rtm_flags & RTF_UP) == 0) &&
error = aa_dosingleroute(ifa, addr, mask, RTM_ADD, RTF_UP);
int s, oldflags, flags = RTF_UP, error, hostIsNew;
rtinitflags(ia) | RTF_UP);
rtinit(&ia->ia_ifa, RTM_ADD, RTF_HOST|RTF_UP);
RTF_UP | RTF_HOST, NULL);
info.rti_flags = RTF_UP | RTF_CONNECTED;
if ((error = rtinit(&ia->ia_ifa, RTM_ADD, RTF_UP | flags)) == 0)
info.rti_flags = RTF_UP | RTF_CONNECTED;
(RTF_UP | RTF_GATEWAY | RTF_STATIC), NULL);
rtm.rtm_flags = RTF_UP | RTF_GATEWAY | RTF_STATIC;
rtm.hdr.rtm_flags = RTF_UP;
rm.m_rtm.rtm_flags = RTF_UP | RTF_GATEWAY | RTF_STATIC;
rrt->rrt_flags = RTF_UP|RTF_GATEWAY;
RTFLAG("U", RTF_UP);
if ((rtm->rtm_flags & RTF_UP) == 0 || rtm->rtm_flags &
rtm->rtm_flags = RTF_UP | RTF_GATEWAY;
rrt->rrt_flags = RTF_UP | RTF_REJECT;