class PortBaseInfo
Defined at line 2509 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 2516 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 2520 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 2525 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 2533 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 2545 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 2549 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 2557 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 2565 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 2584 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 2588 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 2603 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 2611 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h