class PortBaseInfo
Defined at line 2566 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.
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)
void PortBaseInfo ()
void PortBaseInfo (PortBaseInfo && other)
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)
const ::fuchsia::hardware::network::PortClass & port_class ()
Port's class. Required.
Defined at line 2573 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 2577 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 2582 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 2590 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 2602 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 2606 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 2614 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 2622 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::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 2641 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 2645 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 2660 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 2668 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h