class Filter

Defined at line 843 of file fidling/gen/sdk/fidl/fuchsia.net.root/fuchsia.net.root/hlcpp/fuchsia/net/root/cpp/fidl.h

Provides administrative access to all filtering state.

This protocol provides the ability to bypass regular ownership controls

which allow only the owner of each controller to modify or remove resources

they 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 ~Filter ()
void OpenController (::std::string id, ::fidl::InterfaceRequest< ::fuchsia::net::filter::NamespaceController> request)

Open a new *or* existing `NamespaceController`. The server end is

"auto-detached": in other words, it behaves as if the client has called

`Detach` on creation, and the lifetime of the filtering state is not

tied to the client end of the protocol. If the client does call

`Detach` on the `NamespaceController`, the server will close the

channel.

Clients have unilateral access to add or remove resources owned by the

controller, irrespective of other clients' ownership. This includes the

ability to remove resources installed by other clients.