class Ipv6SocketAddress

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

An IPV6 socket address, composed of an IPv6 address, a port, and a scope identifier.

Inspired by the address definition in the [POSIX specification].

[POSIX specification]: https://pubs.opengroup.org/onlinepubs/9699919799/

Public Methods

void Ipv6SocketAddress (Storage_ storage)
void Ipv6SocketAddress (::fuchsia_net::Ipv6Address address, uint16_t port, uint64_t zone_index)
void Ipv6SocketAddress ()

Default constructs a |Ipv6SocketAddress| only if all of its members are default constructible.

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

void Ipv6SocketAddress (Ipv6SocketAddress && )

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

void Ipv6SocketAddress (const Ipv6SocketAddress & other)
Ipv6SocketAddress & operator= (Ipv6SocketAddress && )

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

Ipv6SocketAddress & operator= (const Ipv6SocketAddress & other)
bool operator== (const Ipv6SocketAddress & other)
bool operator!= (const Ipv6SocketAddress & other)
const ::fuchsia_net::Ipv6Address & address ()

IPv6 Address.

::fuchsia_net::Ipv6Address & address ()

IPv6 Address.

Ipv6SocketAddress & address (::fuchsia_net::Ipv6Address value)

IPv6 Address.

uint16_t port ()

Transport-layer port.

uint16_t & port ()

Transport-layer port.

Ipv6SocketAddress & port (uint16_t value)

Transport-layer port.

uint64_t zone_index ()

Provides a means to identify to which zone a non-global address belongs.

A node may have interfaces attached to different zones of the same scope, for example

different link-local zones are disambiguated by the use of a `zone_index` providing the

interface identifier.

`zone_index` 0 is the default zone.

See [RFC 4007] for terminology and examples.

[RFC 4007]: https://tools.ietf.org/html/rfc4007

uint64_t & zone_index ()

Provides a means to identify to which zone a non-global address belongs.

A node may have interfaces attached to different zones of the same scope, for example

different link-local zones are disambiguated by the use of a `zone_index` providing the

interface identifier.

`zone_index` 0 is the default zone.

See [RFC 4007] for terminology and examples.

[RFC 4007]: https://tools.ietf.org/html/rfc4007

Ipv6SocketAddress & zone_index (uint64_t value)

Provides a means to identify to which zone a non-global address belongs.

A node may have interfaces attached to different zones of the same scope, for example

different link-local zones are disambiguated by the use of a `zone_index` providing the

interface identifier.

`zone_index` 0 is the default zone.

See [RFC 4007] for terminology and examples.

[RFC 4007]: https://tools.ietf.org/html/rfc4007

void Ipv6SocketAddress (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalStructCodingTraits