Lines Matching refs:ro_rt
2120 if (ro.ro_rt == NULL)
2123 RT_LOCK(ro.ro_rt);
2124 if ((rt_ifa = ro.ro_rt->rt_ifa) != NULL)
2126 RT_UNLOCK(ro.ro_rt);
2127 rtfree(ro.ro_rt);
2276 if (ifp->if_fwd_route.ro_rt != NULL)
2277 rtfree(ifp->if_fwd_route.ro_rt);
2303 if (src->ro_rt != NULL && rt_key(src->ro_rt)->sa_family != AF_INET)
2320 if (src->ro_rt != NULL && rt_key(src->ro_rt)->sa_family != AF_INET)
2410 if (fwd_rt.ro_rt == NULL ||
2411 fwd_rt.ro_rt->generation_id != route_generation ||
2413 if (fwd_rt.ro_rt != NULL) {
2414 rtfree(fwd_rt.ro_rt);
2415 fwd_rt.ro_rt = NULL;
2422 if (fwd_rt.ro_rt == NULL) {
2427 rt = fwd_rt.ro_rt;
2515 rt = fwd_rt.ro_rt;
2632 if (ro->ro_rt != NULL) {
2633 RT_LOCK(ro->ro_rt);
2634 if (ro->ro_rt->rt_ifp != NULL) {
2635 nextmtu = ro->ro_rt->rt_ifp->if_mtu;
2638 RT_UNLOCK(ro->ro_rt);