Lines Matching refs:rt_gateway
655 struct sockaddr_dl *sdl = SDL(rt->rt_gateway); in arptfree()
701 struct sockaddr_dl *sdl = SDL(rt->rt_gateway); in arptfree()
902 struct sockaddr *gate = rt->rt_gateway; in arp_rtrequest()
935 gate = rt->rt_gateway; in arp_rtrequest()
1176 } else if (rt->rt_gateway->sa_family != AF_LINK) { in arp_lookup_route()
1205 rtrequest(RTM_DELETE, rt_key(rt), rt->rt_gateway, in arp_lookup_route()
1412 gateway = SDL(route->rt_gateway); in arp_lookup_ip()
1830 if (error || route == NULL || route->rt_gateway == NULL) { in arp_ip_handle_input()
1856 route->rt_gateway == NULL) { in arp_ip_handle_input()
1862 gateway = SDL(route->rt_gateway); in arp_ip_handle_input()
1945 route->rt_gateway != NULL) { in arp_ip_handle_input()
1961 gateway = SDL(route->rt_gateway); in arp_ip_handle_input()
1998 gateway = SDL(route->rt_gateway); in arp_ip_handle_input()
2048 gateway = SDL(route->rt_gateway); in arp_ip_handle_input()
2211 proxied = *SDL(route->rt_gateway); in arp_ip_handle_input()