Returns the IPv6 loopback mask, ::1/128.
::1/128
static var loopback: `Self` { get }
s2IPAAO5BlockVAaB2V6VRszrlE8loopbackADy_AFGvpZ
6RGKI
where Base == IP.V6
import IP
This Foundation-free module provides tools for parsing and formatting IP addresses, and data structures for performing efficient IP address lookups.
@frozen struct Block<Base> where Base : IP.Address
A representation of a CIDR block.
@frozen enum IP
The namespace for IP types.
@frozen struct V6
An IPv6 address, which is 128 bits wide.
init(v4: IP.Block<IP.V4>)
Converts the IPv4 base address to an IPv6 address and adds 96 to the prefix length.