template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 1398 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/wire_types.h

Public Methods

::fuchsia_hardware_network::wire::PortBaseInfo Build ()

Build and return the table. The builder should not be used after this.

bool has_port_class ()
void clear_port_class ()

Clears the port_class field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_hardware_network::wire::PortClass & port_class ()

Port's class. Required.

BuilderImpl & port_class (::fuchsia_hardware_network::wire::PortClass elem)

Port's class. Required.

bool has_rx_types ()
void clear_rx_types ()

Clears the rx_types field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_hardware_network::wire::FrameType> & rx_types ()

Supported rx frame types on this port. Required.

Clients may open sessions subscribing to a subset of `rx_types` frame

types on this port.

BuilderImpl & rx_types (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_network::wire::FrameType>>> elem)

Supported rx frame types on this port. Required.

Clients may open sessions subscribing to a subset of `rx_types` frame

types on this port.

bool has_tx_types ()
void clear_tx_types ()

Clears the tx_types field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_hardware_network::wire::FrameTypeSupport> & tx_types ()

Supported tx frame types on this port. Required.

Frames destined to this port whose frame type is not in `tx_types` are

returned with an error.

Some network devices may need to perform partial frame parsing and

serialization and, for that reason, `tx_types` is a vector of

[`FrameTypeSupport`] which includes specific features per frame type.

For example, a device that supports Ethernet frames but needs to convert

the Ethernet header may only support standard Ethernet II frames, and

not any "raw" Ethernet frame.

BuilderImpl & tx_types (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_network::wire::FrameTypeSupport>>> elem)

Supported tx frame types on this port. Required.

Frames destined to this port whose frame type is not in `tx_types` are

returned with an error.

Some network devices may need to perform partial frame parsing and

serialization and, for that reason, `tx_types` is a vector of

[`FrameTypeSupport`] which includes specific features per frame type.

For example, a device that supports Ethernet frames but needs to convert

the Ethernet header may only support standard Ethernet II frames, and

not any "raw" Ethernet frame.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_hardware_network::wire::PortBaseInfo, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_network::wire::PortBaseInfo>> && frame)

Records