class RoutesV6
Defined at line 1161 of file fidling/gen/sdk/fidl/fuchsia.net.root/fuchsia.net.root/hlcpp/fuchsia/net/root/cpp/fidl.h
Provides access to IPv6 routes.
This protocol provides the ability to bypass regular ownership-controls
which allow only the route set owner to remove routes it added.
Circumventing the strong-ownership semantics through use of this protocol
is highly discouraged and applications considering use of this protocol
are encouraged to exhaust other options first by working with the Netstack
team to find an alternative solution.
Public Members
static const char[] Name_
Public Methods
void ~RoutesV6 ()
void GlobalRouteSet (::fidl::InterfaceRequest< ::fuchsia::net::routes::admin::RouteSetV6> route_set)
Returns a `RouteSetV6` containing all IPv6 routes from the global
routing table. Clients have unilateral access to add or remove routes
from the set. This includes the ability to remove routes installed by
the system, or routes installed by other clients of the `RouteSetV6`
protocol.
Note that the established connection to the `RouteSetV6` protocol will
have a few notable differences from a `RouteSetV6` obtained by
[`fuchsia.net.routes.admin/RouteTableV6.NewRouteSet`]:
- When removing a route from this route set, the route will be
completely removed from the system, including removal from all other
route sets to which it belongs.
- The protocol does not encode the lifetime of the route set or its
routes. Closing the client end will not cause the routes within this
route set to be removed from the system. Thus, routes added via this
route set will effectively be abandoned/unowned after this
client-end closes.
+ request `route set` grants access to the `RouteSetV6` protocol.