otNat64AddressMapping
#include <nat64.h>
Represents an address mapping record for NAT64.
Summary
Public attributes |
|
---|---|
mCounters
|
Counters.
|
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 in milliseconds before the entry expires.
|
mSrcPortOrId
|
uint16_t
The source port or ICMP ID of the mapping.
|
mTranslatedPortOrId
|
uint16_t
The translated port or ICMP ID of the mapping.
|
Public attributes
mId
uint64_t otNat64AddressMapping::mId
The unique id for a mapping session.
mRemainingTimeMs
uint32_t otNat64AddressMapping::mRemainingTimeMs
Remaining time in milliseconds before the entry expires.
The remaining time is relative to the initialization of the otNat64AddressMappingIterator
, i.e., when otNat64InitAddressMappingIterator()
was called.
mSrcPortOrId
uint16_t otNat64AddressMapping::mSrcPortOrId
The source port or ICMP ID of the mapping.
Used when OPENTHREAD_CONFIG_NAT64_PORT_TRANSLATION_ENABLE is true.
mTranslatedPortOrId
uint16_t otNat64AddressMapping::mTranslatedPortOrId
The translated port or ICMP ID of the mapping.
Used when OPENTHREAD_CONFIG_NAT64_PORT_TRANSLATION_ENABLE is true.
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.