Lines Matching refs:ro_rt
710 if (ron->ro_rt != NULL && ( in selectroute()
711 (ron->ro_rt->rt_flags & RTF_UP) == 0 || in selectroute()
716 if (ron->ro_rt == NULL) { in selectroute()
724 if (ron->ro_rt == NULL || in selectroute()
725 (ron->ro_rt->rt_flags & RTF_GATEWAY) != 0) in selectroute()
728 rt = ron->ro_rt; in selectroute()
740 if (ro->ro_rt && in selectroute()
741 (!(ro->ro_rt->rt_flags & RTF_UP) || in selectroute()
745 RTFREE(ro->ro_rt); in selectroute()
746 ro->ro_rt = (struct rtentry *)NULL; in selectroute()
748 if (ro->ro_rt == (struct rtentry *)NULL) { in selectroute()
761 ro->ro_rt = in6_rtalloc1((struct sockaddr *) in selectroute()
763 if (ro->ro_rt) in selectroute()
764 RT_UNLOCK(ro->ro_rt); in selectroute()
775 if (ro->ro_rt) { in selectroute()
776 ifp = ro->ro_rt->rt_ifp; in selectroute()
779 RTFREE(ro->ro_rt); in selectroute()
780 ro->ro_rt = NULL; in selectroute()
783 if (ro->ro_rt == NULL) in selectroute()
785 rt = ro->ro_rt; in selectroute()
860 if (rt && rt == sro.ro_rt) in in6_selectif()