Lines Matching refs:rt_gateway
656 struct sockaddr_dl *sdl = SDL(rt->rt_gateway); in arptfree()
702 struct sockaddr_dl *sdl = SDL(rt->rt_gateway); in arptfree()
903 struct sockaddr *gate = rt->rt_gateway; in arp_rtrequest()
936 gate = rt->rt_gateway; in arp_rtrequest()
1179 } else if (rt->rt_gateway->sa_family != AF_LINK) { in arp_lookup_route()
1208 rtrequest(RTM_DELETE, rt_key(rt), rt->rt_gateway, in arp_lookup_route()
1419 gateway = SDL(route->rt_gateway); in arp_lookup_ip()
1832 if (error || route == NULL || route->rt_gateway == NULL) { in arp_ip_handle_input()
1858 route->rt_gateway == NULL) { in arp_ip_handle_input()
1864 gateway = SDL(route->rt_gateway); in arp_ip_handle_input()
1947 route->rt_gateway != NULL) { in arp_ip_handle_input()
1963 gateway = SDL(route->rt_gateway); in arp_ip_handle_input()
2000 gateway = SDL(route->rt_gateway); in arp_ip_handle_input()
2050 gateway = SDL(route->rt_gateway); in arp_ip_handle_input()
2213 proxied = *SDL(route->rt_gateway); in arp_ip_handle_input()