Lines Matching refs:destination
42 destination = mask = gateway = NULL; in net_route_private()
48 free(destination); in ~net_route_private()
126 route->destination, description->destination, description->mask) in find_route()
163 route->destination)) in find_route()
166 route->destination)) in find_route()
174 domain, route->destination).Data(), route->flags); in find_route()
181 AddressString(domain, route->destination).Data(), route->flags); in find_route()
276 target->destination = copy_address(buffer, route->destination); in fill_route_entry()
304 if (route->destination) in route_table_size()
305 size += route->destination->sa_len; in route_table_size()
339 sockaddr* destination = NULL; in list_routes() local
344 if (route->destination != NULL) { in list_routes()
345 destination = (sockaddr*)next; in list_routes()
346 next += route->destination->sa_len; in list_routes()
347 size += route->destination->sa_len; in list_routes()
368 request.ifr_route.destination = destination; in list_routes()
376 || (route->destination != NULL in list_routes()
377 && user_memcpy(request.ifr_route.destination, in list_routes()
378 route->destination, route->destination->sa_len) < B_OK) in list_routes()
416 if ((status = user_copy_address(entry.destination, in control_routes()
417 &route.destination)) != B_OK in control_routes()
451 AddressString(domain, newRoute->destination in add_route()
452 ? newRoute->destination : NULL).Data(), in add_route()
462 && newRoute->destination == NULL) in add_route()
477 if (domain->address_module->copy_address(newRoute->destination, in add_route()
478 &route->destination, (newRoute->flags & RTF_DEFAULT) != 0, in add_route()
530 AddressString(domain, removeRoute->destination in remove_route()
531 ? removeRoute->destination : NULL).Data(), in remove_route()
565 sockaddr_storage destination; in get_route_information() local
566 status_t status = user_copy_address(entry.destination, &destination); in get_route_information()
572 net_route_private* route = find_route(domain, (sockaddr*)&destination); in get_route_information()
657 net_route* route = get_route_internal(domain, buffer->destination); in get_buffer_route()