NetworkType enum
Which address family a value belongs to.
Signature:
export declare enum NetworkType
Enumeration Members
|
Member |
Value |
Description |
|---|---|---|
|
IPV4 |
|
IPv4 — 4-byte addresses, prefixes |
|
IPV6 |
|
IPv6 — 16-byte addresses, prefixes |
Remarks
Almost everything here is family-specific — address width, mask table, record size — so this is the argument that selects between the two. The values are the strings 'ipv4' and 'ipv6', so they survive JSON.stringify and can come straight from configuration.
Networks keeps one NetworkList per member of this enum rather than mixing families in one list, because their record sizes differ.
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.