Lines Matching refs:rt_gateway
654 struct sockaddr_dl *sdl = SDL(rt->rt_gateway); in arptfree()
700 struct sockaddr_dl *sdl = SDL(rt->rt_gateway); in arptfree()
901 struct sockaddr *gate = rt->rt_gateway; in arp_rtrequest()
934 gate = rt->rt_gateway; in arp_rtrequest()
1177 } else if (rt->rt_gateway->sa_family != AF_LINK) { in arp_lookup_route()
1206 rtrequest(RTM_DELETE, rt_key(rt), rt->rt_gateway, in arp_lookup_route()
1418 gateway = SDL(route->rt_gateway); in arp_lookup_ip()
1831 if (error || route == NULL || route->rt_gateway == NULL) { in arp_ip_handle_input()
1857 route->rt_gateway == NULL) { in arp_ip_handle_input()
1863 gateway = SDL(route->rt_gateway); in arp_ip_handle_input()
1946 route->rt_gateway != NULL) { in arp_ip_handle_input()
1962 gateway = SDL(route->rt_gateway); in arp_ip_handle_input()
1999 gateway = SDL(route->rt_gateway); in arp_ip_handle_input()
2049 gateway = SDL(route->rt_gateway); in arp_ip_handle_input()
2212 proxied = *SDL(route->rt_gateway); in arp_ip_handle_input()