Searched refs:dstContext (Results 1 – 2 of 2) sorted by relevance
| /openthread-latest/src/core/thread/ |
| D | lowpan.cpp | 238 Context srcContext, dstContext; in Compress() local 248 FindContextToCompressAddress(ip6Header.GetDestination(), dstContext); in Compress() 255 if (srcContext.mContextId != 0 || dstContext.mContextId != 0) in Compress() 258 …SuccessOrExit(error = aFrameBuilder.AppendUint8(((srcContext.mContextId << 4) | dstContext.mContex… in Compress() 362 …Exit(error = CompressDestinationIid(aMacAddrs.mDestination, ip6Header.GetDestination(), dstContext, in Compress() 365 else if (dstContext.mIsValid) in Compress() 368 …Exit(error = CompressDestinationIid(aMacAddrs.mDestination, ip6Header.GetDestination(), dstContext, in Compress() 602 Context dstContext; in DecompressBaseHeader() local 620 FindContextForId(dstContextId, dstContext); in DecompressBaseHeader() 746 …SuccessOrExit(ComputeIid(aMacAddrs.mDestination, dstContext, aIp6Header.GetDestination().GetIid())… in DecompressBaseHeader() [all …]
|
| D | network_data_leader_ftd.cpp | 879 ContextTlv *dstContext = aDstPrefix.FindSubTlv<ContextTlv>(); in AddBorderRouter() local 883 if (dstContext == nullptr) in AddBorderRouter() 896 ((dstContext == nullptr) ? sizeof(ContextTlv) : 0)), in AddBorderRouter() 910 if (dstContext == nullptr) in AddBorderRouter() 915 dstContext = As<ContextTlv>(aDstPrefix.GetNext()); in AddBorderRouter() 916 Insert(dstContext, sizeof(ContextTlv)); in AddBorderRouter() 918 dstContext->Init(static_cast<uint8_t>(contextId), aDstPrefix.GetPrefixLength()); in AddBorderRouter() 923 dstContext->SetStable(); in AddBorderRouter() 926 dstContext->SetCompress(); in AddBorderRouter() 927 mContextIds.MarkAsInUse(dstContext->GetContextId()); in AddBorderRouter()
|