class InternalState
Defined at line 1001 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/wire_types.h
Internal device state.
Public Methods
void InternalState ()
Defined at line 1004 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/wire_types.h
void InternalState (const InternalState & other)
Defined at line 1005 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::InternalState> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_net_tun::wire::InternalState> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_net_tun::wire::InternalState>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
::fuchsia_net_tun::wire::MacState & mac ()
State associated with Mac Address filtering.
Devices never perform any MAC address filtering, but they implement the
[`fuchsia.hardware.network/MacAddressing`] interface and store the
values to be retrieved through the [`fuchsia.net.tun/InternalState`]
structure.
Set iff `mac` is provided in the [`DevicePortConfig`] or
[`DevicePairPortConfig`] structures upon creation of the port.
bool has_mac ()
bool & has_session ()
Whether there is a session currently opened and running with the `Port`.
Required.
bool has_has_session ()
InternalState & operator= (const InternalState & other)
Defined at line 1006 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/wire_types.h
void InternalState (InternalState && other)
Defined at line 1007 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/wire_types.h
InternalState & operator= (InternalState && other)
Defined at line 1008 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/wire_types.h
InternalState & set_mac (::fidl::ObjectView< ::fuchsia_net_tun::wire::MacState> elem)
InternalState & set_mac (std::nullptr_t )
InternalState & clear_mac ()
InternalState & set_has_session (bool elem)
InternalState & clear_has_session ()
void InternalState (::fidl::AnyArena & allocator)
void InternalState (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_net_tun::wire::InternalState>> && 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::InternalState>> && frame_ptr)
void ~InternalState ()
Defined at line 1010 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/wire_types.h
template <typename... Args>
InternalState & set_mac (::fidl::AnyArena & allocator, Args &&... args)
Defined at line 1050 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