class Properties
Defined at line 402 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/cpp/fidl/fuchsia.net.interfaces/cpp/natural_types.h
Properties of a network interface.
Public Methods
void Properties ()
Defined at line 408 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/cpp/fidl/fuchsia.net.interfaces/cpp/natural_types.h
void Properties (Properties && )
Defined at line 409 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/cpp/fidl/fuchsia.net.interfaces/cpp/natural_types.h
void Properties (Storage_ storage)
void Properties (const Properties & other)
Properties & operator= (const Properties & other)
bool operator== (const Properties & other)
bool operator!= (const Properties & other)
bool IsEmpty ()
const std::optional<uint64_t> & id ()
An opaque identifier for the interface. Its value will not be reused
even if the device is removed and subsequently re-added. Immutable.
::std::optional<uint64_t> & id ()
An opaque identifier for the interface. Its value will not be reused
even if the device is removed and subsequently re-added. Immutable.
Properties & id (std::optional<uint64_t> value)
An opaque identifier for the interface. Its value will not be reused
even if the device is removed and subsequently re-added. Immutable.
const std::optional< ::std::vector< ::fuchsia_net_interfaces::Address>> & addresses ()
The addresses currently installed on the interface.
Addresses are sorted on [`Address.addr`], and no two addresses can have
the same `Address.addr` value.
Only assigned addresses are included unless the watcher was created with
[`WatcherOptions.include_non_assigned_addresses`] set to `true`.
::std::optional< ::std::vector< ::fuchsia_net_interfaces::Address>> & addresses ()
The addresses currently installed on the interface.
Addresses are sorted on [`Address.addr`], and no two addresses can have
the same `Address.addr` value.
Only assigned addresses are included unless the watcher was created with
[`WatcherOptions.include_non_assigned_addresses`] set to `true`.
Properties & addresses (std::optional< ::std::vector< ::fuchsia_net_interfaces::Address>> value)
The addresses currently installed on the interface.
Addresses are sorted on [`Address.addr`], and no two addresses can have
the same `Address.addr` value.
Only assigned addresses are included unless the watcher was created with
[`WatcherOptions.include_non_assigned_addresses`] set to `true`.
const std::optional<bool> & online ()
The device is enabled and its physical state is online.
::std::optional<bool> & online ()
The device is enabled and its physical state is online.
Properties & online (std::optional<bool> value)
The device is enabled and its physical state is online.
const std::optional<bool> & has_default_ipv4_route ()
Whether there is a default IPv4 route through this interface.
::std::optional<bool> & has_default_ipv4_route ()
Whether there is a default IPv4 route through this interface.
Properties & has_default_ipv4_route (std::optional<bool> value)
Whether there is a default IPv4 route through this interface.
const std::optional<bool> & has_default_ipv6_route ()
Whether there is a default IPv6 route through this interface.
::std::optional<bool> & has_default_ipv6_route ()
Whether there is a default IPv6 route through this interface.
Properties & has_default_ipv6_route (std::optional<bool> value)
Whether there is a default IPv6 route through this interface.
const std::optional< ::std::string> & name ()
The name of the interface. Immutable.
::std::optional< ::std::string> & name ()
The name of the interface. Immutable.
Properties & name (std::optional< ::std::string> value)
The name of the interface. Immutable.
Properties & operator= (Properties && )
Defined at line 410 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/cpp/fidl/fuchsia.net.interfaces/cpp/natural_types.h
const std::optional< ::fuchsia_net_interfaces::PortClass> & port_class ()
The port class of the interface. Immutable.
::std::optional< ::fuchsia_net_interfaces::PortClass> & port_class ()
The port class of the interface. Immutable.
Properties & port_class (std::optional< ::fuchsia_net_interfaces::PortClass> value)
The port class of the interface. Immutable.
const std::optional<uint64_t> & port_identity_koid ()
The KOID of the identity event vended out by the interface's backing
[`fuchsia.hardware.network/Port`].
Callers may use this identifier to correlate port instances to installed
interfaces.
Immutable. Present for interfaces backed by a
[`fuchsia.hardware.network/Port`], absent otherwise.
::std::optional<uint64_t> & port_identity_koid ()
The KOID of the identity event vended out by the interface's backing
[`fuchsia.hardware.network/Port`].
Callers may use this identifier to correlate port instances to installed
interfaces.
Immutable. Present for interfaces backed by a
[`fuchsia.hardware.network/Port`], absent otherwise.
Properties & port_identity_koid (std::optional<uint64_t> value)
The KOID of the identity event vended out by the interface's backing
[`fuchsia.hardware.network/Port`].
Callers may use this identifier to correlate port instances to installed
interfaces.
Immutable. Present for interfaces backed by a
[`fuchsia.hardware.network/Port`], absent otherwise.
void Properties (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits