class Destination

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

Collection of addresses and identifiers describing a network destination.

A `Destination` is the "next-hop" for a routed packet.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const ::fuchsia::net::IpAddress & address ()

The IP address of the destination.

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

bool has_address ()

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

::fuchsia::net::IpAddress * mutable_address ()

The IP address of the destination.

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

void clear_address ()

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

const ::fuchsia::net::MacAddress & mac ()

The MAC address of the destination. Only set if the destination is on a

link that requires a MAC address.

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

bool has_mac ()

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

::fuchsia::net::MacAddress * mutable_mac ()

The MAC address of the destination. Only set if the destination is on a

link that requires a MAC address.

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

void clear_mac ()

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

const uint64_t & interface_id ()

The interface identifier over which the destination can be reached.

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

bool has_interface_id ()

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

uint64_t * mutable_interface_id ()

The interface identifier over which the destination can be reached.

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

void clear_interface_id ()

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

bool has_source_address ()

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

::fuchsia::net::IpAddress * mutable_source_address ()

The preferred local IP address used to communicate with the destination.

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

void clear_source_address ()

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

Destination & set_address (::fuchsia::net::IpAddress _value)
Destination & set_mac (::fuchsia::net::MacAddress _value)
Destination & set_interface_id (uint64_t _value)
Destination & set_source_address (::fuchsia::net::IpAddress _value)
void Destination ()
void Destination (Destination && other)
const ::fuchsia::net::IpAddress & source_address ()

The preferred local IP address used to communicate with the destination.

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

void ~Destination ()
Destination & operator= (Destination && other)
::std::unique_ptr<Destination> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Destination * _value, size_t _offset)
zx_status_t Clone (Destination * _result)