Lines Matching refs:rtm_flags
726 rtm->rtm_flags = (int)rt->rt_flags; in if_route()
730 rtm->rtm_flags |= RTF_PINNED; in if_route()
738 rtm->rtm_flags |= RTF_UP; in if_route()
740 if (!(rtm->rtm_flags & RTF_REJECT) && in if_route()
762 rtm->rtm_flags |= RTF_HOST; in if_route()
767 rtm->rtm_flags |= RTF_CLONING; in if_route()
770 rtm->rtm_flags |= RTF_CONNECTED; in if_route()
787 rtm->rtm_flags &= ~RTF_HOST; in if_route()
791 rtm->rtm_flags |= RTF_GATEWAY; in if_route()
794 rtm->rtm_flags |= RTF_STATIC; in if_route()
802 if (!(rtm->rtm_flags & RTF_HOST)) in if_route()
854 if (rtm->rtm_flags & RTF_CLONED) in if_realroute()
858 if (rtm->rtm_flags & RTF_WASCLONED) in if_realroute()
862 if (rtm->rtm_flags & RTF_LOCAL) in if_realroute()
866 if (rtm->rtm_flags & RTF_BROADCAST) in if_realroute()
891 rt->rt_flags = (unsigned int)rtm->rtm_flags; in if_copyrt()
909 } else if (rtm->rtm_flags & RTF_GATEWAY) in if_copyrt()