Lines Matching refs:ro
620 struct ip6_moptions *mopts, struct route_in6 *ro, in selectroute() argument
738 if (ro) { in selectroute()
739 if (ro->ro_nh && in selectroute()
740 (!NH_IS_VALID(ro->ro_nh) || in selectroute()
741 ((struct sockaddr *)(&ro->ro_dst))->sa_family != AF_INET6 || in selectroute()
742 !IN6_ARE_ADDR_EQUAL(&satosin6(&ro->ro_dst)->sin6_addr, in selectroute()
744 RO_NHFREE(ro); in selectroute()
746 if (ro->ro_nh == (struct nhop_object *)NULL) { in selectroute()
750 bzero(&ro->ro_dst, sizeof(struct sockaddr_in6)); in selectroute()
751 sa6 = (struct sockaddr_in6 *)&ro->ro_dst; in selectroute()
767 ro->ro_nh = fib6_lookup(fibnum, in selectroute()
781 if (ro->ro_nh) in selectroute()
782 ifp = ro->ro_nh->nh_ifp; in selectroute()
785 nh = ro->ro_nh; in selectroute()
889 struct ip6_moptions *mopts, struct route_in6 *ro, in in6_selectroute() argument
893 return (selectroute(dstsock, opts, mopts, ro, retifp, in in6_selectroute()