Searched refs:dstContext (Results 1 – 2 of 2) sorted by relevance
/openthread-3.5.0/src/core/thread/ |
D | lowpan.cpp | 249 Context srcContext, dstContext; in Compress() local 259 FindContextToCompressAddress(ip6Header.GetDestination(), dstContext); in Compress() 266 if (srcContext.mContextId != 0 || dstContext.mContextId != 0) in Compress() 269 …SuccessOrExit(error = aFrameBuilder.AppendUint8(((srcContext.mContextId << 4) | dstContext.mContex… in Compress() 373 …Exit(error = CompressDestinationIid(aMacAddrs.mDestination, ip6Header.GetDestination(), dstContext, in Compress() 376 else if (dstContext.mIsValid) in Compress() 379 …Exit(error = CompressDestinationIid(aMacAddrs.mDestination, ip6Header.GetDestination(), dstContext, in Compress() 612 Context dstContext; in DecompressBaseHeader() local 630 FindContextForId(dstContextId, dstContext); in DecompressBaseHeader() 756 …SuccessOrExit(ComputeIid(aMacAddrs.mDestination, dstContext, aIp6Header.GetDestination().GetIid())… in DecompressBaseHeader() [all …]
|
D | network_data_leader_ftd.cpp | 920 ContextTlv *dstContext = aDstPrefix.FindSubTlv<ContextTlv>(); in AddBorderRouter() local 924 if (dstContext == nullptr) in AddBorderRouter() 937 ((dstContext == nullptr) ? sizeof(ContextTlv) : 0)), in AddBorderRouter() 951 if (dstContext == nullptr) in AddBorderRouter() 956 dstContext = As<ContextTlv>(aDstPrefix.GetNext()); in AddBorderRouter() 957 Insert(dstContext, sizeof(ContextTlv)); in AddBorderRouter() 959 dstContext->Init(static_cast<uint8_t>(contextId), aDstPrefix.GetPrefixLength()); in AddBorderRouter() 964 dstContext->SetStable(); in AddBorderRouter() 967 dstContext->SetCompress(); in AddBorderRouter() 968 mContextIds.MarkAsInUse(dstContext->GetContextId()); in AddBorderRouter()
|