Skip to main content

Interface: Nat64Prefix

Defined in: packages/agentos/src/io/media/images/networkAddress.ts:110

A NAT64 prefix (RFC 6052): an IPv6 address under it carries an IPv4 address, and the network's NAT64 gateway connects to that address. Besides the well-known prefix 64:ff9b::/96 a network can use one of its own, which looks like any other global address.

Properties​

bytes​

readonly bytes: readonly number[]

Defined in: packages/agentos/src/io/media/images/networkAddress.ts:112

The prefix's bytes: length / 8 of them.


length​

readonly length: 32 | 40 | 48 | 56 | 64 | 96

Defined in: packages/agentos/src/io/media/images/networkAddress.ts:114

The prefix's length in bits, one of the six RFC 6052 allows.