otNat64AddressMapping
#include <nat64.h>
Represents an address mapping record for NAT64.
Summary
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.
|
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
mCounters
otNat64ProtocolCounters otNat64AddressMapping::mCounters
mId
uint64_t otNat64AddressMapping::mId
The unique id for a mapping session.
mRemainingTimeMs
uint32_t otNat64AddressMapping::mRemainingTimeMs
Remaining time before expiry in milliseconds.
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.