Lines Matching refs:rt_gateway
642 struct sockaddr_dl *sdl = SDL(rt->rt_gateway); in arptfree()
688 struct sockaddr_dl *sdl = SDL(rt->rt_gateway); in arptfree()
889 struct sockaddr *gate = rt->rt_gateway; in arp_rtrequest()
921 gate = rt->rt_gateway; in arp_rtrequest()
1167 } else if (rt->rt_gateway->sa_family != AF_LINK) { in arp_lookup_route()
1196 rtrequest(RTM_DELETE, rt_key(rt), rt->rt_gateway, in arp_lookup_route()
1408 gateway = SDL(route->rt_gateway); in arp_lookup_ip()
1826 if (error || route == NULL || route->rt_gateway == NULL) { in arp_ip_handle_input()
1852 route->rt_gateway == NULL) { in arp_ip_handle_input()
1858 gateway = SDL(route->rt_gateway); in arp_ip_handle_input()
1941 route->rt_gateway != NULL) { in arp_ip_handle_input()
1957 gateway = SDL(route->rt_gateway); in arp_ip_handle_input()
1994 gateway = SDL(route->rt_gateway); in arp_ip_handle_input()
2044 gateway = SDL(route->rt_gateway); in arp_ip_handle_input()
2207 proxied = *SDL(route->rt_gateway); in arp_ip_handle_input()