Stay organized with collections Save and categorize content based on your preferences.

otNat64AddressMapping

#include <nat64.h>

Represents an address mapping record for NAT64.

Summary

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

mCounters
mId
uint64_t
The unique id for a mapping session.
mIp4
The IPv4 address of the mapping.
mIp6
The IPv6 address of the mapping.
mRemainingTimeMs
uint32_t
Remaining time before expiry in milliseconds.

Public attributes

mCounters

otNat64ProtocolCounters otNat64AddressMapping::mCounters

mId

uint64_t otNat64AddressMapping::mId

The unique id for a mapping session.

mIp4

otIp4Address otNat64AddressMapping::mIp4

The IPv4 address of the mapping.

mIp6

otIp6Address otNat64AddressMapping::mIp6

The IPv6 address of the mapping.

mRemainingTimeMs

uint32_t otNat64AddressMapping::mRemainingTimeMs

Remaining time before expiry in milliseconds.

Resources

OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.