Lines Matching defs:ro
113 struct route_in6 *ro,
244 if (ro) {
246 if (ro->ro_rt &&
247 (!(ro->ro_rt->rt_flags & RTF_UP) ||
248 satosin6(&ro->ro_dst)->sin6_family != AF_INET6 ||
249 !IN6_ARE_ADDR_EQUAL(&satosin6(&ro->ro_dst)->sin6_addr,
251 rtfree_locked(ro->ro_rt);
252 ro->ro_rt = (struct rtentry *)0;
254 if (ro->ro_rt == (struct rtentry *)0 ||
255 ro->ro_rt->rt_ifp == 0) {
259 bzero(&ro->ro_dst, sizeof(struct sockaddr_in6));
260 sa6 = (struct sockaddr_in6 *)&ro->ro_dst;
268 ro->ro_rt = rtalloc1_locked(
269 &((struct route *)ro)->ro_dst, 0, 0UL);
271 rtalloc_ign_locked((struct route *)ro, 0UL);
283 if (ro->ro_rt) {
284 ia6 = in6_ifawithscope(ro->ro_rt->rt_ifa->ifa_ifp, dst);
286 ia6 = ifatoia6(ro->ro_rt->rt_ifa);