Represents an address mapping record for NAT64.

Note

  • The counters will be reset for each mapping session even for the same address pair. Applications can use mId to identify different sessions to calculate the packets correctly.

Public Attributes#

uint64_t

The unique id for a mapping session.

The IPv4 address of the mapping.

The IPv6 address of the mapping.

uint32_t

Remaining time before expiry in milliseconds.

Public Attribute Documentation#

mId#

uint64_t otNat64AddressMapping::mId

The unique id for a mapping session.


Definition at line 161 of file include/openthread/nat64.h

mIp4#

otIp4Address otNat64AddressMapping::mIp4

The IPv4 address of the mapping.


Definition at line 163 of file include/openthread/nat64.h

mIp6#

otIp6Address otNat64AddressMapping::mIp6

The IPv6 address of the mapping.


Definition at line 164 of file include/openthread/nat64.h

mRemainingTimeMs#

uint32_t otNat64AddressMapping::mRemainingTimeMs

Remaining time before expiry in milliseconds.


Definition at line 165 of file include/openthread/nat64.h

mCounters#

otNat64ProtocolCounters otNat64AddressMapping::mCounters

Definition at line 167 of file include/openthread/nat64.h