Lines Matching refs:rt_gateway
2230 if (rt->rt_gateway != NULL && in nd6_purge_interface_llinfo()
2231 rt->rt_gateway->sa_family == AF_LINK && in nd6_purge_interface_llinfo()
2232 SDL(rt->rt_gateway)->sdl_index == ifp->if_index) { in nd6_purge_interface_llinfo()
2438 rt->rt_gateway->sa_family != AF_LINK || rt->rt_llinfo == NULL || in nd6_lookup()
2673 struct sockaddr *gate = rt->rt_gateway; in nd6_rtrequest()
2773 gate = rt->rt_gateway; in nd6_rtrequest()
3754 if (rt->rt_gateway == NULL) { in nd6_cache_lladdr()
3757 if (rt->rt_gateway->sa_family != AF_LINK) { in nd6_cache_lladdr()
3760 sdl = SDL(rt->rt_gateway); in nd6_cache_lladdr()
4153 gw6 = *(SIN6(rt->rt_gateway)); in nd6_output_list()
4193 !equal(SA(&gw6), rt->rt_gateway)) { in nd6_output_list()
4641 if (rt->rt_gateway->sa_family != AF_LINK) { in nd6_storelladdr()
4646 sdl = SDL(rt->rt_gateway); in nd6_storelladdr()
4741 if (route->rt_gateway->sa_family != AF_LINK) { in nd6_lookup_ipv6()
4749 sdl = SDL(route->rt_gateway); in nd6_lookup_ipv6()