Lines Matching refs:rt_flags

219 		    !ISSET(ro->ro_rt->rt_flags, RTF_MPATH) ||
276 !ISSET(ro->ro_rt->rt_flags, RTF_MPATH) ||
323 if (!ISSET(rt->rt_flags, RTF_UP))
326 if (ISSET(rt->rt_flags, RTF_GATEWAY)) {
328 KASSERT(!ISSET(rt->rt_gwroute->rt_flags, RTF_GATEWAY));
329 if (!ISSET(rt->rt_gwroute->rt_flags, RTF_UP))
357 if (ISSET(rt->rt_flags, RTF_CLONING) && ISSET(flags, RT_RESOLVE))
417 if (src == NULL || !rtisvalid(rt) || !ISSET(rt->rt_flags, RTF_MPATH))
514 if (!ISSET(nhrt->rt_flags, RTF_LLINFO) ||
515 !ISSET(nhrt->rt_flags, RTF_CLONED)) {
534 if (prt == NULL || !ISSET(prt->rt_flags, RTF_CLONING)) {
551 if (ISSET(nhrt->rt_flags, RTF_CLONING|RTF_GATEWAY)) {
575 nhrt->rt_flags |= RTF_CACHED;
594 if (!ISSET(rt->rt_flags, RTF_GATEWAY))
603 KASSERT(ISSET(onhrt->rt_flags, RTF_CACHED));
607 CLR(onhrt->rt_flags, RTF_CACHED);
628 KASSERT(!ISSET(rt->rt_flags, RTF_UP));
685 if (!rtisvalid(rt) || ISSET(rt->rt_flags, RTF_GATEWAY)) {
725 if (ISSET(rt->rt_flags, RTF_GATEWAY)) {
726 if (!ISSET(rt->rt_flags, RTF_HOST)) {
743 flags = rt->rt_flags;
752 rt->rt_flags |= RTF_MODIFIED;
800 if (!ISSET(rt->rt_flags, RTF_HOST))
803 info.rti_flags = rt->rt_flags;
833 if (!ISSET(rt->rt_flags, RTF_CLONED))
837 if (ISSET(rt->rt_flags, RTF_CACHED) && (rt->rt_parent != cloningrt))
863 if (!parent || (parent->rt_flags & RTF_CLONING) == 0)
912 if (ISSET(rt->rt_flags, RTF_BFD))
927 if (ISSET(rt->rt_flags, RTF_CLONING))
933 rt->rt_flags &= ~RTF_UP;
976 if ((rt->rt_flags & RTF_CLONING) == 0)
980 info->rti_flags = rt->rt_flags | (RTF_CLONED|RTF_HOST);
1007 rt->rt_flags = info->rti_flags | RTF_UP;
1013 !ISSET(rt->rt_flags, RTF_LOCAL) &&
1016 rt->rt_flags &= ~RTF_UP;
1048 if (ISSET(rt->rt_flags, RTF_CLONED)) {
1079 if (ISSET(crt->rt_flags, RTF_CLONED) &&
1080 !ISSET(crt->rt_flags, RTF_CACHED)) {
1148 if (ISSET(rt->rt_flags, RTF_GATEWAY))
1165 if (ISSET(rt->rt_flags, RTF_GATEWAY)) {
1386 if (rt == NULL || ISSET(rt->rt_flags, flags) != flags) {
1438 if (rt != NULL && ISSET(rt->rt_flags, flags) == flags) {
1525 (r->rtt_rt->rt_flags & (RTF_DYNAMIC|RTF_HOST)) == \
1732 rt->rt_flags |= RTF_MPLS;
1740 if (rt->rt_llinfo != NULL && rt->rt_flags & RTF_MPLS) {
1744 rt->rt_flags &= ~RTF_MPLS;
1923 if (rt->rt_flags & RTF_LOCAL) {
1924 rt->rt_flags |= RTF_UP;
1929 if (ISSET(rt->rt_flags, RTF_UP))
1933 rt->rt_flags |= RTF_UP;
1942 if (ISSET(rt->rt_flags, RTF_CLONED|RTF_DYNAMIC) &&
1943 !ISSET(rt->rt_flags, RTF_CACHED|RTF_BFD)) {
1947 if (!ISSET(rt->rt_flags, RTF_UP))
1951 rt->rt_flags &= ~RTF_UP;
2060 rt->rt_flags, rt->rt_refcnt.r_refs, rt->rt_use, rt->rt_expire);