Lines Matching defs:ro
623 struct route *ro;
635 ro = &inp->inp_route;
636 if (ro->ro_rt &&
637 (ro->ro_dst.sa_family != AF_INET ||
638 satosin(&ro->ro_dst)->sin_addr.s_addr !=
641 ro->ro_rt->generation_id != route_generation)) {
642 rtfree_locked(ro->ro_rt);
643 ro->ro_rt = (struct rtentry *)0;
646 (ro->ro_rt == (struct rtentry *)0 ||
647 ro->ro_rt->rt_ifp == 0)) {
649 bzero(&ro->ro_dst, sizeof(struct sockaddr_in));
650 ro->ro_dst.sa_family = AF_INET;
651 ro->ro_dst.sa_len = sizeof(struct sockaddr_in);
652 ((struct sockaddr_in *) &ro->ro_dst)->sin_addr =
654 rtalloc_scoped_ign_locked(ro, 0UL, ifscope);
662 if (ro->ro_rt && !(ro->ro_rt->rt_ifp->if_flags & IFF_LOOPBACK)) {
663 ia = ifatoia(ro->ro_rt->rt_ifa);