class PreferredLifetimeInfo

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

Information about the preferred lifetime of an IP address or delegated

prefix.

Public Methods

void PreferredLifetimeInfo (PreferredLifetimeInfo && other)
PreferredLifetimeInfo & operator= (PreferredLifetimeInfo && other)
void PreferredLifetimeInfo (const PreferredLifetimeInfo & other)
PreferredLifetimeInfo & operator= (const PreferredLifetimeInfo & other)
bool operator== (const PreferredLifetimeInfo & other)
bool operator!= (const PreferredLifetimeInfo & other)
::fuchsia_net_interfaces::PreferredLifetimeInfo::Tag Which ()
PreferredLifetimeInfo WithPreferredUntil (int64_t val)
const ::fidl::internal::UnionMemberView<1, Storage_> preferred_until ()
::fidl::internal::UnionMemberView<1, Storage_> preferred_until ()
PreferredLifetimeInfo & preferred_until (int64_t value)

The end of the preferred lifetime.

The address/prefix should *not* be considered deprecated if `zx.Time`

is in the past. `preferred_until` is exchanged as a means to inform

the deadline where deprecation is expected to happen.

The preferred lifetime of addresses is defined in

[RFC 4862, section 2](https://tools.ietf.org/html/rfc4862#section-2).

Addresses configured using a delegated prefix must have a preferred

lifetime no longer than that of the prefix according to

[RFC 8415, section 6.3](https://datatracker.ietf.org/doc/html/rfc8415#section-6.3).

Must be greater than 0. If `zx.Time.INFINITE`, the preferred lifetime

does not expire.

PreferredLifetimeInfo WithDeprecated (::fuchsia_net_interfaces::Empty val)
const ::fidl::internal::UnionMemberView<2, Storage_> deprecated ()
::fidl::internal::UnionMemberView<2, Storage_> deprecated ()
PreferredLifetimeInfo & deprecated (::fuchsia_net_interfaces::Empty value)

The address/prefix is deprecated.

Deprecated addresses should no longer be used for initiating

new connections unless explicitly requested, or if no other

non-deprecated addresses are assigned (as described in

[RFC 4862, section 1](https://tools.ietf.org/html/rfc4862#section-1)).

Addresses configured using a deprecated delegated prefix must also be

deprecated according to

[RFC 8415, section 6.3](https://datatracker.ietf.org/doc/html/rfc8415#section-6.3).

An address/prefix can become undeprecated if its preferred lifetime is

extended.

void PreferredLifetimeInfo (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kPreferredUntil 1
kDeprecated 2

TODO: share union tag types between wire

&

natural.

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

Friends

class NaturalUnionCodingTraits