Lines Matching refs:rt_gateway
643 struct sockaddr_dl *sdl = SDL(rt->rt_gateway); in arptfree()
689 struct sockaddr_dl *sdl = SDL(rt->rt_gateway); in arptfree()
890 struct sockaddr *gate = rt->rt_gateway; in arp_rtrequest()
922 gate = rt->rt_gateway; in arp_rtrequest()
1168 } else if (rt->rt_gateway->sa_family != AF_LINK) { in arp_lookup_route()
1197 rtrequest(RTM_DELETE, rt_key(rt), rt->rt_gateway, in arp_lookup_route()
1409 gateway = SDL(route->rt_gateway); in arp_lookup_ip()
1840 if (error || route == NULL || route->rt_gateway == NULL) { in arp_ip_handle_input()
1866 route->rt_gateway == NULL) { in arp_ip_handle_input()
1872 gateway = SDL(route->rt_gateway); in arp_ip_handle_input()
1955 route->rt_gateway != NULL) { in arp_ip_handle_input()
1971 gateway = SDL(route->rt_gateway); in arp_ip_handle_input()
2008 gateway = SDL(route->rt_gateway); in arp_ip_handle_input()
2058 gateway = SDL(route->rt_gateway); in arp_ip_handle_input()
2222 proxied = *SDL(route->rt_gateway); in arp_ip_handle_input()