class PreferredLifetimeInfo
Defined at line 1190 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/cpp/fidl/fuchsia.net.interfaces/cpp/wire_types.h
Information about the preferred lifetime of an IP address or delegated
prefix.
Public Methods
void PreferredLifetimeInfo ()
void PreferredLifetimeInfo (const PreferredLifetimeInfo & )
Defined at line 1194 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/cpp/fidl/fuchsia.net.interfaces/cpp/wire_types.h
PreferredLifetimeInfo & operator= (const PreferredLifetimeInfo & )
Defined at line 1195 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/cpp/fidl/fuchsia.net.interfaces/cpp/wire_types.h
void PreferredLifetimeInfo (PreferredLifetimeInfo && )
Defined at line 1196 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/cpp/fidl/fuchsia.net.interfaces/cpp/wire_types.h
bool has_invalid_tag ()
bool is_preferred_until ()
PreferredLifetimeInfo WithPreferredUntil (::fidl::ObjectView<int64_t> val)
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 & operator= (PreferredLifetimeInfo && )
Defined at line 1197 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/cpp/fidl/fuchsia.net.interfaces/cpp/wire_types.h
template <typename... Args>
PreferredLifetimeInfo WithPreferredUntil (::fidl::AnyArena & allocator, Args &&... args)
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.
Defined at line 1241 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/cpp/fidl/fuchsia.net.interfaces/cpp/wire_types.h
int64_t & preferred_until ()
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.
const int64_t & preferred_until ()
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.
bool is_deprecated ()
PreferredLifetimeInfo WithDeprecated (::fuchsia_net_interfaces::wire::Empty val)
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.
::fuchsia_net_interfaces::wire::Empty & deprecated ()
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.
const ::fuchsia_net_interfaces::wire::Empty & deprecated ()
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.
::fuchsia_net_interfaces::wire::PreferredLifetimeInfo::Tag Which ()
Enumerations
enum Tag
| Name | Value |
|---|---|
| kPreferredUntil | 1 |
| kDeprecated | 2 |
Defined at line 1199 of file fidling/gen/sdk/fidl/fuchsia.net.interfaces/fuchsia.net.interfaces/cpp/fidl/fuchsia.net.interfaces/cpp/wire_types.h