class InternalState

Defined at line 761 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/hlcpp/fuchsia/net/tun/cpp/fidl.h

Internal device state.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const ::fuchsia::net::tun::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.

Defined at line 776 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/hlcpp/fuchsia/net/tun/cpp/fidl.h

bool has_mac ()

Defined at line 780 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/hlcpp/fuchsia/net/tun/cpp/fidl.h

::fuchsia::net::tun::MacState * mutable_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.

Defined at line 793 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/hlcpp/fuchsia/net/tun/cpp/fidl.h

void clear_mac ()

Defined at line 801 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/hlcpp/fuchsia/net/tun/cpp/fidl.h

const bool & has_session ()

Whether there is a session currently opened and running with the `Port`.

Required.

Defined at line 812 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/hlcpp/fuchsia/net/tun/cpp/fidl.h

bool has_has_session ()

Defined at line 816 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/hlcpp/fuchsia/net/tun/cpp/fidl.h

bool * mutable_has_session ()

Whether there is a session currently opened and running with the `Port`.

Required.

Defined at line 823 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/hlcpp/fuchsia/net/tun/cpp/fidl.h

void clear_has_session ()

Defined at line 831 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/hlcpp/fuchsia/net/tun/cpp/fidl.h

InternalState & set_mac (::fuchsia::net::tun::MacState _value)
InternalState & set_has_session (bool _value)
void InternalState ()
void InternalState (InternalState && other)
void ~InternalState ()
InternalState & operator= (InternalState && other)
::std::unique_ptr<InternalState> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, InternalState * _value, size_t _offset)
zx_status_t Clone (InternalState * _result)