template <>
class NaturalClientImpl
Defined at line 532 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/cpp/fidl/fuchsia.net.routes/cpp/natural_messaging.h
Public Methods
::fidl::internal::NaturalThenable< ::fuchsia_net_routes::State::Resolve> Resolve (const ::fidl::Request< ::fuchsia_net_routes::State::Resolve> & request)
Resolves the route to a destination.
+ request `destination` the IP address to resolve a route to. If the
unspecified address (all zeroes) is provided, the default route will
be returned. The variant of `destination` determines variant of
[`fuchsia.net/IpAddress`] fields in the resolved route.
- response `result` contains the resolved route to `destination`.
* error `ZX_ERR_ADDRESS_UNREACHABLE` if `destination` can't be resolved.
::fidl::internal::NaturalThenable< ::fuchsia_net_routes::State::Resolve2> Resolve2 (const ::fidl::Request< ::fuchsia_net_routes::State::Resolve2> & request)
Resolves the route to a destination.
+ request `destination` the IP address to resolve a route to. If the
unspecified address (all zeroes) is provided, the default route will
be returned. The variant of `destination` determines variant of
[`fuchsia.net/IpAddress`] fields in the resolved route.
+ request `options` contains optional information used for the route resolution.
- response `result` contains the resolved route to `destination`.
* error `ADDRESS_UNREACHABLE` if `destination` can't be resolved.
::fidl::internal::NaturalThenable< ::fuchsia_net_routes::State::GetRouteTableName> GetRouteTableName (const ::fidl::Request< ::fuchsia_net_routes::State::GetRouteTableName> & request)
Gets the route table name by its ID.
+ request `table_id` the ID of the route table in question.
- response `table_name` the name of the route table, if the route table
does not have a name, an empty string is returned.
* error `NO_TABLE` if the route table does not exist.