class Interfaces

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

Provides access to installed network interfaces.

This protocol provides the ability to bypass regular ownership-controls

which allow only the interface owner (generally the entity installing the

interface) to perform management operations on an interface.

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 ~Interfaces ()
void GetAdmin (uint64_t id, ::fidl::InterfaceRequest< ::fuchsia::net::interfaces::admin::Control> control)

Obtain administrative control over a network interface.

+ request `id` identifies the interface to be controlled.

+ request `control` grants the client administrative control over

the interface. Closed without a terminal event if `id` does not

match an existing interface.

void GetMac (uint64_t id, GetMacCallback callback)

Return an interface's MAC address.

+ request `id` identifies the interface whose MAC is requested.

- response `mac` is the interface's MAC address, if it has one.