Home
last modified time | relevance | path

Searched refs:aMapping (Results 1 – 4 of 4) sorted by relevance

/openthread-3.7.0/src/core/net/
Dnat64_translator.cpp305 void Translator::AddressMapping::CopyTo(otNat64AddressMapping &aMapping, TimeMilli aNow) const in CopyTo() argument
307 aMapping.mId = mId; in CopyTo()
308 aMapping.mIp4 = mIp4; in CopyTo()
309 aMapping.mIp6 = mIp6; in CopyTo()
310 aMapping.mCounters = mCounters; in CopyTo()
316 aMapping.mRemainingTimeMs = 0; in CopyTo()
320 aMapping.mRemainingTimeMs = mExpiry - aNow; in CopyTo()
324 void Translator::ReleaseMapping(AddressMapping &aMapping) in ReleaseMapping() argument
326 IgnoreError(mIp4AddressPool.PushBack(aMapping.mIp4)); in ReleaseMapping()
327 mAddressMappingPool.Free(aMapping); in ReleaseMapping()
[all …]
Dnat64_translator.hpp296 Error GetNextAddressMapping(AddressMappingIterator &aIterator, otNat64AddressMapping &aMapping);
351 void CopyTo(otNat64AddressMapping &aMapping, TimeMilli aNow) const;
373 void ReleaseMapping(AddressMapping &aMapping);
/openthread-3.7.0/src/core/api/
Dnat64_api.cpp85 otNat64AddressMapping *aMapping) in otNat64GetNextAddressMapping() argument
88 AssertPointerIsNotNull(aMapping); in otNat64GetNextAddressMapping()
90 …return AsCoreType(aInstance).Get<Nat64::Translator>().GetNextAddressMapping(*aIterator, *aMapping); in otNat64GetNextAddressMapping()
/openthread-3.7.0/include/openthread/
Dnat64.h227 otNat64AddressMapping *aMapping);