# NetworkType enum · @imqueue/net

Source: https://imqueue.org/api/net/latest/net.networktype/
Published: 2026-08-01
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/net 3.0.2 — generated reference, not hand-written

Which address family a value belongs to.

**Signature:**

```typescript
export declare enum NetworkType 
```

## Enumeration Members


| Member | Value | Description |
| --- | --- | --- |
| IPV4 | `"ipv4"` | IPv4 — 4-byte addresses, prefixes `/0` to `/32`. |
| IPV6 | `"ipv6"` | IPv6 — 16-byte addresses, prefixes `/0` to `/128`. |


## 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](https://imqueue.org/api/net/latest/net.networks/) keeps one [NetworkList](https://imqueue.org/api/net/latest/net.networklist/) per member of this enum rather than mixing families in one list, because their record sizes differ.

