[#CNetAddr-SetLegacyIPv6] = xref:CNetAddr.adoc[CNetAddr]::SetLegacyIPv6 :relfileprefix: ../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void SetLegacyIPv6(std::span<uint8_t const> ipv6); ---- == Parameters [cols="1,4"] |=== | Name| Description | *ipv6* | The 16‐byte legacy IPv6 representation to decode. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#