class PortBaseInfo

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

Port base info.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

void PortBaseInfo ()
void PortBaseInfo (PortBaseInfo && other)
const ::fuchsia::hardware::network::PortClass & port_class ()

Port's class. Required.

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

bool has_port_class ()

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

::fuchsia::hardware::network::PortClass * mutable_port_class ()

Port's class. Required.

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

void clear_port_class ()

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

const ::std::vector< ::fuchsia::hardware::network::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.

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

bool has_rx_types ()

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

::std::vector< ::fuchsia::hardware::network::FrameType> * mutable_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.

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

void clear_rx_types ()

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

bool has_tx_types ()

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

::std::vector< ::fuchsia::hardware::network::FrameTypeSupport> * mutable_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.

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

void clear_tx_types ()

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

PortBaseInfo & set_port_class (::fuchsia::hardware::network::PortClass _value)
PortBaseInfo & set_rx_types (::std::vector< ::fuchsia::hardware::network::FrameType> _value)
PortBaseInfo & set_tx_types (::std::vector< ::fuchsia::hardware::network::FrameTypeSupport> _value)
const ::std::vector< ::fuchsia::hardware::network::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.

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

void ~PortBaseInfo ()
PortBaseInfo & operator= (PortBaseInfo && other)
::std::unique_ptr<PortBaseInfo> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, PortBaseInfo * _value, size_t _offset)
zx_status_t Clone (PortBaseInfo * _result)