Lines Matching refs:ro6
3467 struct route *ro6;
3729 ro6 = &sav->sah->sa_route;
3730 dst6 = (struct sockaddr_in6 *)(void *)&ro6->ro_dst;
3731 if (ro6->ro_rt) {
3732 RT_LOCK(ro6->ro_rt);
3734 if (ro6->ro_rt != NULL &&
3735 (ro6->ro_rt->generation_id != route_generation ||
3736 !(ro6->ro_rt->rt_flags & RTF_UP) ||
3738 RT_UNLOCK(ro6->ro_rt);
3739 rtfree(ro6->ro_rt);
3740 ro6->ro_rt = NULL;
3742 if (ro6->ro_rt == 0) {
3747 rtalloc(ro6);
3748 if (ro6->ro_rt) {
3749 RT_LOCK(ro6->ro_rt);
3752 if (ro6->ro_rt == 0) {
3770 if (ro6->ro_rt->rt_flags & RTF_GATEWAY)
3771 dst6 = (struct sockaddr_in6 *)(void *)ro6->ro_rt->rt_gateway;
3772 RT_UNLOCK(ro6->ro_rt);
3777 route_copyout(&state->ro, ro6, sizeof(state->ro));