IPV6_MASKS variable

The 129 IPv6 network masks, indexed by prefix length — IPV6_MASKS[64] is the mask for a /64.

Signature:

IPV6_MASKS: bigint[]

Remarks

The IPv6 counterpart of IPV4_MASKS: index 0 is 0n and index 128 is all ones, giving 129 entries. Same caveat — a mutable exported array that should be treated as read-only.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.