CNetAddr::SetLegacyIPv6

Set from a legacy IPv6 address. Legacy IPv6 address may be a normal IPv6 address, or another address (e.g. IPv4) disguised as IPv6. This encoding is used in the legacy addr encoding.

Synopsis

Declared in <netaddress.h>

void
SetLegacyIPv6(std::span<uint8_t const> ipv6);

Parameters

NameDescription
ipv6The 16-byte legacy IPv6 representation to decode.