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()
1829 if (error || route == NULL || route->rt_gateway == NULL) { in arp_ip_handle_input()
1855 route->rt_gateway == NULL) { in arp_ip_handle_input()
1861 gateway = SDL(route->rt_gateway); in arp_ip_handle_input()
1944 route->rt_gateway != NULL) { in arp_ip_handle_input()
1960 gateway = SDL(route->rt_gateway); in arp_ip_handle_input()
1997 gateway = SDL(route->rt_gateway); in arp_ip_handle_input()
2047 gateway = SDL(route->rt_gateway); in arp_ip_handle_input()
2210 proxied = *SDL(route->rt_gateway); in arp_ip_handle_input()