template <>

class WireSyncBufferClientImpl

Defined at line 721 of file fidling/gen/sdk/fidl/fuchsia.hardware.network.driver/fuchsia.hardware.network.driver/cpp/fidl/fuchsia.hardware.network.driver/cpp/driver/wire_messaging.h

Public Methods

::fdf::WireUnownedResult< ::fuchsia_hardware_network_driver::NetworkPort::GetInfo> GetInfo ()

Gets information about the port.

Port information must not change over the port's lifetime.

- response `info` port information.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

Defined at line 732 of file fidling/gen/sdk/fidl/fuchsia.hardware.network.driver/fuchsia.hardware.network.driver/cpp/fidl/fuchsia.hardware.network.driver/cpp/driver/wire_messaging.h

::fdf::WireUnownedResult< ::fuchsia_hardware_network_driver::NetworkPort::GetStatus> GetStatus ()

Gets operational status of the port.

Changes to operational status must be reported via

[`NetworkDeviceIfc.StatusChanged`]

- response `status` snapshot of port's operational status.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

Defined at line 745 of file fidling/gen/sdk/fidl/fuchsia.hardware.network.driver/fuchsia.hardware.network.driver/cpp/fidl/fuchsia.hardware.network.driver/cpp/driver/wire_messaging.h

::fidl::OneWayStatus SetActive (bool active)

Notifies the port that there are sessions interested in it.

An active port has sessions attached to it. Implementations may employ

power saving or other strategies on disabled ports. Implementations that

do employ such strategies:

- should not report inbound frames for inactive ports;

- must return errors for outbound frames destined to inactive ports.

All ports are inactive on creation.

+ request `active` `true` if port has sessions attached to it, `false`

otherwise.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

Defined at line 764 of file fidling/gen/sdk/fidl/fuchsia.hardware.network.driver/fuchsia.hardware.network.driver/cpp/fidl/fuchsia.hardware.network.driver/cpp/driver/wire_messaging.h

::fdf::WireUnownedResult< ::fuchsia_hardware_network_driver::NetworkPort::GetMac> GetMac ()

Gets an interface to the MAC addressing layer of the port.

Ports that do not support MAC addressing must return an empty interface.

- response `mac_ifc` mac addressing handle.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

Defined at line 776 of file fidling/gen/sdk/fidl/fuchsia.hardware.network.driver/fuchsia.hardware.network.driver/cpp/fidl/fuchsia.hardware.network.driver/cpp/driver/wire_messaging.h

::fidl::OneWayStatus Removed ()

Notifies this port has been removed from the interface.

Resources associated with the port must only be freed upon receiving the

`Removed` call. Note that Removed will ONLY be called if AddPort has

returned and indicated success. If AddPort fails this will not be called,

check the return status of AddPort instead.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

Defined at line 789 of file fidling/gen/sdk/fidl/fuchsia.hardware.network.driver/fuchsia.hardware.network.driver/cpp/fidl/fuchsia.hardware.network.driver/cpp/driver/wire_messaging.h