class Control

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

Control interface.

`Control` allows creating an arbitrary number of `Device`s and

`DevicePair`s.

Public Members

static const char[] Name_

Public Methods

void ~Control ()
void CreateDevice (::fuchsia::net::tun::DeviceConfig config, ::fidl::InterfaceRequest< ::fuchsia::net::tun::Device> device)

Creates a `Device` with given `config`.

+ request `config` new device configuration.

+ request `device` grants control over the device. Closed with an

epitaph if `config` is not valid.

void CreatePair (::fuchsia::net::tun::DevicePairConfig config, ::fidl::InterfaceRequest< ::fuchsia::net::tun::DevicePair> device_pair)

Creates a `DevicePair` with given `config`.

If `config` is not valid or the device could not be created,

`device_pair` is closed with an error epitaph.

+ request `config` new device pair configuration.

+ request `device_pair` grants control over the device pair. Closed with

an epitaph if `config` is not valid.