Lines Matching refs:rt_ifp
710 assert(rt->rt_ifp != NULL); in if_route()
711 assert(rt->rt_ifp->ctx != NULL); in if_route()
712 ctx = rt->rt_ifp->ctx; in if_route()
743 rtm->rtm_index = (unsigned short)rt->rt_ifp->index; in if_route()
805 if_linkaddr(&sdl, rt->rt_ifp); in if_route()
818 ipv6_setscope(&gateway.sin6, rt->rt_ifp->index); in if_route()
919 rt->rt_ifp = if_findindex(ctx->ifaces, rtm->rtm_index); in if_copyrt()
921 rt->rt_ifp = if_findsa(ctx, rti_info[RTAX_IFP]); in if_copyrt()
923 rt->rt_ifp = if_findsa(ctx, rti_info[RTAX_GATEWAY]); in if_copyrt()
925 rt->rt_ifp = if_findsa(ctx, rti_info[RTAX_DST]); in if_copyrt()
927 if (rt->rt_ifp == NULL && rtm->rtm_type == RTM_MISS) in if_copyrt()
928 rt->rt_ifp = if_find(ctx->ifaces, "lo0"); in if_copyrt()
930 if (rt->rt_ifp == NULL) { in if_copyrt()
985 if ((rtn = rt_new(rt.rt_ifp)) == NULL) { in if_initrt()