class AddressParameters

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

Address assignment parameters.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const ::fuchsia::net::interfaces::admin::AddressProperties & initial_properties ()

The initial properties of the address.

If not set, interpreted as an empty `AddressProperties`.

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

bool has_initial_properties ()

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

::fuchsia::net::interfaces::admin::AddressProperties * mutable_initial_properties ()

The initial properties of the address.

If not set, interpreted as an empty `AddressProperties`.

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

void clear_initial_properties ()

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

bool has_temporary ()

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

bool * mutable_temporary ()

True if the address is temporary.

A temporary address is intended to be used for a short period of time

(hours to days), and its lifetime may not be extended, as detailed in

[RFC 4941](https://tools.ietf.org/html/rfc4941).

Both temporary and non-temporary addresses have preferred and valid

lifetimes, but temporary addresses may not be renewed beyond their

initial lifetime.

Information used in source address selection; temporary addresses are

preferred over non-temporary addresses if both types are available, as

detailed in

[RFC 6724, section 5](https://tools.ietf.org/html/rfc6724#section-5).

If not set, interpreted as false.

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

void clear_temporary ()

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

const bool & add_subnet_route ()

True if the subnet route corresponding to the address should be

installed, and removed once the address is removed.

For example, if `Control#AddAddress` is called with 192.168.1.5/24, and

`add_subnet_route` is true, then a route with destination 192.168.1.0/24

will be installed through the interface the address is being added to.

If the address is removed for any reason, the route will also be

removed.

The subnet route is always installed in the main table (see

https://fxbug.dev/42074223#c13 for more details). In the future, we

should allow the user of this API to specify where the route should be

installed and provide proof of access.

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

bool has_add_subnet_route ()

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

bool * mutable_add_subnet_route ()

True if the subnet route corresponding to the address should be

installed, and removed once the address is removed.

For example, if `Control#AddAddress` is called with 192.168.1.5/24, and

`add_subnet_route` is true, then a route with destination 192.168.1.0/24

will be installed through the interface the address is being added to.

If the address is removed for any reason, the route will also be

removed.

The subnet route is always installed in the main table (see

https://fxbug.dev/42074223#c13 for more details). In the future, we

should allow the user of this API to specify where the route should be

installed and provide proof of access.

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

void clear_add_subnet_route ()

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

const bool & perform_dad ()

True if Duplicate Address Detection (DAD) should be performed.

For IPv6, DAD is defined in RFC 4862, Section 5.4.

For IPv4, Address Conflict Detection (ACD) is defined in RFC 5227. For

simplicity's sake, both specifications are refered to as DAD on this

API.

If not set, interpreted as `true` for IPv6 addresses, and `false` for

IPv4 addresses.

Note, the `fuchsia.net.interfaces.admin/Control` API allows setting

per-interface DAD configuration. DAD will only be performed for a given

address if its interface's configuration allows for it. Setting this

property to `true` will not override the interface's DAD configuration.

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

bool has_perform_dad ()

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

bool * mutable_perform_dad ()

True if Duplicate Address Detection (DAD) should be performed.

For IPv6, DAD is defined in RFC 4862, Section 5.4.

For IPv4, Address Conflict Detection (ACD) is defined in RFC 5227. For

simplicity's sake, both specifications are refered to as DAD on this

API.

If not set, interpreted as `true` for IPv6 addresses, and `false` for

IPv4 addresses.

Note, the `fuchsia.net.interfaces.admin/Control` API allows setting

per-interface DAD configuration. DAD will only be performed for a given

address if its interface's configuration allows for it. Setting this

property to `true` will not override the interface's DAD configuration.

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

void clear_perform_dad ()

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

AddressParameters & set_initial_properties (::fuchsia::net::interfaces::admin::AddressProperties _value)
AddressParameters & set_temporary (bool _value)
AddressParameters & set_add_subnet_route (bool _value)
AddressParameters & set_perform_dad (bool _value)
void AddressParameters ()
void AddressParameters (AddressParameters && other)
const bool & temporary ()

True if the address is temporary.

A temporary address is intended to be used for a short period of time

(hours to days), and its lifetime may not be extended, as detailed in

[RFC 4941](https://tools.ietf.org/html/rfc4941).

Both temporary and non-temporary addresses have preferred and valid

lifetimes, but temporary addresses may not be renewed beyond their

initial lifetime.

Information used in source address selection; temporary addresses are

preferred over non-temporary addresses if both types are available, as

detailed in

[RFC 6724, section 5](https://tools.ietf.org/html/rfc6724#section-5).

If not set, interpreted as false.

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

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