class DevicePortConfig
Defined at line 1560 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/wire_types.h
Public Methods
void DevicePortConfig ()
Defined at line 1562 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/wire_types.h
void DevicePortConfig (const DevicePortConfig & other)
Defined at line 1563 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/wire_types.h
void DevicePortConfig (DevicePortConfig && other)
Defined at line 1565 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::DevicePortConfig> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_net_tun::wire::DevicePortConfig> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_net_tun::wire::DevicePortConfig>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
::fuchsia_net_tun::wire::BasePortConfig & base ()
Base port configuration.
Required.
bool has_base ()
bool & online ()
Start port with link online.
If not set, interpreted as `false`.
bool has_online ()
::fuchsia_net::wire::MacAddress & mac ()
MAC address to report.
If set, the port provides a
[`fuchsia.hardware.network/MacAddressing`] implementation /
through [`fuchsia.hardware.network/Port.GetMac`].
bool has_mac ()
DevicePortConfig & operator= (const DevicePortConfig & other)
Defined at line 1564 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/wire_types.h
DevicePortConfig & operator= (DevicePortConfig && other)
Defined at line 1566 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/wire_types.h
DevicePortConfig & set_base (::fidl::ObjectView< ::fuchsia_net_tun::wire::BasePortConfig> elem)
DevicePortConfig & set_base (std::nullptr_t )
DevicePortConfig & clear_base ()
void ~DevicePortConfig ()
Defined at line 1568 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/wire_types.h
template <typename... Args>
DevicePortConfig & set_base (::fidl::AnyArena & allocator, Args &&... args)
Defined at line 1610 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/wire_types.h
DevicePortConfig & set_online (bool elem)
DevicePortConfig & clear_online ()
DevicePortConfig & set_mac (::fidl::ObjectView< ::fuchsia_net::wire::MacAddress> elem)
DevicePortConfig & set_mac (std::nullptr_t )
DevicePortConfig & clear_mac ()
void DevicePortConfig (::fidl::AnyArena & allocator)
void DevicePortConfig (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_net_tun::wire::DevicePortConfig>> && 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::DevicePortConfig>> && frame_ptr)
template <typename... Args>
DevicePortConfig & set_mac (::fidl::AnyArena & allocator, Args &&... args)
Defined at line 1622 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