class Properties

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

Properties of a network interface.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const 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.

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

bool has_id ()

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

uint64_t * mutable_id ()

An opaque identifier for the interface. Its value will not be reused

even if the device is removed and subsequently re-added. Immutable.

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

void clear_id ()

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

const ::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`.

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

bool has_addresses ()

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

::std::vector< ::fuchsia::net::interfaces::Address> * mutable_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`.

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

void clear_addresses ()

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

const bool & online ()

The device is enabled and its physical state is online.

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

bool has_online ()

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

bool * mutable_online ()

The device is enabled and its physical state is online.

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

void clear_online ()

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

const bool & has_default_ipv4_route ()

Whether there is a default IPv4 route through this interface.

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

bool has_has_default_ipv4_route ()

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

bool * mutable_has_default_ipv4_route ()

Whether there is a default IPv4 route through this interface.

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

void clear_has_default_ipv4_route ()

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

const bool & has_default_ipv6_route ()

Whether there is a default IPv6 route through this interface.

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

bool has_has_default_ipv6_route ()

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

bool * mutable_has_default_ipv6_route ()

Whether there is a default IPv6 route through this interface.

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

void clear_has_default_ipv6_route ()

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

const ::std::string & name ()

The name of the interface. Immutable.

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

bool has_name ()

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

::std::string * mutable_name ()

The name of the interface. Immutable.

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

void clear_name ()

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

const ::fuchsia::net::interfaces::PortClass & port_class ()

The port class of the interface. Immutable.

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

bool has_port_class ()

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

::fuchsia::net::interfaces::PortClass * mutable_port_class ()

The port class of the interface. Immutable.

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

void clear_port_class ()

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

const 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.

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

bool has_port_identity_koid ()

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

uint64_t * mutable_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.

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

void clear_port_identity_koid ()

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

Properties & set_id (uint64_t _value)
Properties & set_addresses (::std::vector< ::fuchsia::net::interfaces::Address> _value)
Properties & set_online (bool _value)
Properties & set_has_default_ipv4_route (bool _value)
Properties & set_has_default_ipv6_route (bool _value)
Properties & set_name (::std::string _value)
Properties & set_port_class (::fuchsia::net::interfaces::PortClass _value)
Properties & set_port_identity_koid (uint64_t _value)
void Properties ()
void Properties (Properties && other)
void ~Properties ()
Properties & operator= (Properties && other)
::std::unique_ptr<Properties> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Properties * _value, size_t _offset)
zx_status_t Clone (Properties * _result)