class PortBaseInfo
Defined at line 1684 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/natural_types.h
Port base info.
Public Methods
void PortBaseInfo (Storage_ storage)
void PortBaseInfo ()
Defined at line 1689 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/natural_types.h
void PortBaseInfo (PortBaseInfo && )
Defined at line 1690 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/natural_types.h
void PortBaseInfo (const PortBaseInfo & other)
PortBaseInfo & operator= (PortBaseInfo && )
Defined at line 1691 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/natural_types.h
PortBaseInfo & operator= (const PortBaseInfo & other)
bool operator== (const PortBaseInfo & other)
bool operator!= (const PortBaseInfo & other)
bool IsEmpty ()
const std::optional< ::fuchsia_hardware_network::PortClass> & port_class ()
Port's class. Required.
::std::optional< ::fuchsia_hardware_network::PortClass> & port_class ()
Port's class. Required.
PortBaseInfo & port_class (std::optional< ::fuchsia_hardware_network::PortClass> value)
Port's class. Required.
const std::optional< ::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.
::std::optional< ::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.
PortBaseInfo & rx_types (std::optional< ::std::vector< ::fuchsia_hardware_network::FrameType>> value)
Supported rx frame types on this port. Required.
Clients may open sessions subscribing to a subset of `rx_types` frame
types on this port.
const std::optional< ::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.
::std::optional< ::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.
PortBaseInfo & tx_types (std::optional< ::std::vector< ::fuchsia_hardware_network::FrameTypeSupport>> value)
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.
void PortBaseInfo (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits