Lines Matching refs:rt_gateway
828 if (rt && rt->rt_gateway &&
829 rt->rt_gateway->sa_family == AF_LINK) {
830 sdl = (struct sockaddr_dl *)rt->rt_gateway;
939 rt->rt_gateway->sa_family != AF_LINK || rt->rt_llinfo == NULL ||
1137 !rt->rt_llinfo || !rt->rt_gateway ||
1138 rt->rt_gateway->sa_family != AF_LINK) {
1169 struct sockaddr *gate = rt->rt_gateway;
1232 gate = rt->rt_gateway;
1748 if (!rt->rt_gateway)
1750 if (rt->rt_gateway->sa_family != AF_LINK)
1752 sdl = SDL(rt->rt_gateway);
1993 gw6 = (struct sockaddr_in6 *)rt->rt_gateway;
2021 lookup: rt->rt_gwroute = rtalloc1_locked(rt->rt_gateway, 1, 0UL);
2243 if (rt->rt_gateway->sa_family != AF_LINK) {
2247 sdl = SDL(rt->rt_gateway);
2299 if (route->rt_gateway->sa_family != AF_LINK) {
2305 sdl = SDL(route->rt_gateway);