class BasePortConfig
Defined at line 218 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/wire_types.h
Logical device port configuration.
Public Methods
void BasePortConfig ()
Defined at line 220 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/wire_types.h
void BasePortConfig (const BasePortConfig & other)
Defined at line 221 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/wire_types.h
void BasePortConfig (BasePortConfig && other)
Defined at line 223 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/wire_types.h
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_net_tun::wire::BasePortConfig> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_net_tun::wire::BasePortConfig> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_net_tun::wire::BasePortConfig>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
uint8_t & id ()
Port identifier.
Required.
bool has_id ()
uint32_t & mtu ()
Device MTU (maximum transmit unit).
Valid iff less than or equal to [`MAX_MTU`].
If not set, interpreted as [`MAX_MTU`].
bool has_mtu ()
::fidl::VectorView< ::fuchsia_hardware_network::wire::FrameType> & rx_types ()
Supported Rx frame types for port.
Valid iff non-empty.
Required.
bool has_rx_types ()
::fidl::VectorView< ::fuchsia_hardware_network::wire::FrameTypeSupport> & tx_types ()
Supported Tx frame types on port.
Valid iff non-empty.
Required.
bool has_tx_types ()
::fuchsia_hardware_network::wire::PortClass & port_class ()
Port class.
If not set, interpreted as `VIRTUAL`.
bool has_port_class ()
BasePortConfig & operator= (const BasePortConfig & other)
Defined at line 222 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/wire_types.h
BasePortConfig & operator= (BasePortConfig && other)
Defined at line 224 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/wire_types.h
BasePortConfig & set_id (uint8_t elem)
BasePortConfig & clear_id ()
BasePortConfig & set_mtu (uint32_t elem)
BasePortConfig & clear_mtu ()
BasePortConfig & set_rx_types (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_network::wire::FrameType>> elem)
BasePortConfig & set_rx_types (std::nullptr_t )
BasePortConfig & clear_rx_types ()
void ~BasePortConfig ()
Defined at line 226 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/wire_types.h
template <typename... Args>
BasePortConfig & set_rx_types (::fidl::AnyArena & allocator, Args &&... args)
Defined at line 290 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/wire_types.h
BasePortConfig & set_tx_types (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_network::wire::FrameTypeSupport>> elem)
BasePortConfig & set_tx_types (std::nullptr_t )
BasePortConfig & clear_tx_types ()
BasePortConfig & set_port_class (::fuchsia_hardware_network::wire::PortClass elem)
BasePortConfig & clear_port_class ()
void BasePortConfig (::fidl::AnyArena & allocator)
void BasePortConfig (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_net_tun::wire::BasePortConfig>> && frame)
This constructor allows a user controlled allocation (not using a Arena).
It should only be used when performance is key.
As soon as the frame is given to the table, it must not be used directly or for another table.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_net_tun::wire::BasePortConfig>> && frame_ptr)
template <typename... Args>
BasePortConfig & set_tx_types (::fidl::AnyArena & allocator, Args &&... args)
Defined at line 299 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder