template <>

class WireWeakSyncClientImpl

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

Public Methods

::fidl::WireResult< ::fuchsia_net_tun::DevicePair::AddPort> AddPort (::fuchsia_net_tun::wire::DevicePairPortConfig config)

Adds a logical port to this device pair.

+ request `config` port configuration.

* error `ZX_ERR_INVALID_ARGS` if `config` is invalid.

* error `ZX_ERR_ALREADY_EXISTS` if the provided port identifier is

already in use.

Allocates 248 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_net_tun::DevicePair::RemovePort> RemovePort (uint8_t id)

Removes a logical port created by

[`fuchsia.net.tun/DevicePair.AddPort`].

+ request `id` identifier of the port to remove.

* error `ZX_ERR_NOT_FOUND` if `id` does not map to an existing port.

Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.