Searched refs:dstContext (Results 1 – 2 of 2) sorted by relevance
/openthread-3.6.0/src/core/thread/ |
D | lowpan.cpp | 247 Context srcContext, dstContext; in Compress() local 257 FindContextToCompressAddress(ip6Header.GetDestination(), dstContext); in Compress() 264 if (srcContext.mContextId != 0 || dstContext.mContextId != 0) in Compress() 267 …SuccessOrExit(error = aFrameBuilder.AppendUint8(((srcContext.mContextId << 4) | dstContext.mContex… in Compress() 371 …Exit(error = CompressDestinationIid(aMacAddrs.mDestination, ip6Header.GetDestination(), dstContext, in Compress() 374 else if (dstContext.mIsValid) in Compress() 377 …Exit(error = CompressDestinationIid(aMacAddrs.mDestination, ip6Header.GetDestination(), dstContext, in Compress() 610 Context dstContext; in DecompressBaseHeader() local 628 FindContextForId(dstContextId, dstContext); in DecompressBaseHeader() 754 …SuccessOrExit(ComputeIid(aMacAddrs.mDestination, dstContext, aIp6Header.GetDestination().GetIid())… in DecompressBaseHeader() [all …]
|
D | network_data_leader_ftd.cpp | 819 ContextTlv *dstContext = aDstPrefix.FindSubTlv<ContextTlv>(); in AddBorderRouter() local 823 if (dstContext == nullptr) in AddBorderRouter() 836 ((dstContext == nullptr) ? sizeof(ContextTlv) : 0)), in AddBorderRouter() 850 if (dstContext == nullptr) in AddBorderRouter() 855 dstContext = As<ContextTlv>(aDstPrefix.GetNext()); in AddBorderRouter() 856 Insert(dstContext, sizeof(ContextTlv)); in AddBorderRouter() 858 dstContext->Init(static_cast<uint8_t>(contextId), aDstPrefix.GetPrefixLength()); in AddBorderRouter() 863 dstContext->SetStable(); in AddBorderRouter() 866 dstContext->SetCompress(); in AddBorderRouter() 867 mContextIds.MarkAsInUse(dstContext->GetContextId()); in AddBorderRouter()
|