Home
last modified time | relevance | path

Searched refs:mMacAddrs (Results 1 – 5 of 5) sorted by relevance

/openthread-latest/tests/unit/
Dtest_lowpan.hpp74 void SetMacSource(const uint8_t *aAddress) { mMacAddrs.mSource.SetExtended(aAddress); } in SetMacSource()
81 void SetMacSource(uint16_t aAddress) { mMacAddrs.mSource.SetShort(aAddress); } in SetMacSource()
88 … void SetMacDestination(const uint8_t *aAddress) { mMacAddrs.mDestination.SetExtended(aAddress); } in SetMacDestination()
95 void SetMacDestination(uint16_t aAddress) { mMacAddrs.mDestination.SetShort(aAddress); } in SetMacDestination()
246 Mac::Addresses mMacAddrs; member in ot::TestIphcVector
Dtest_lowpan.cpp185 … VerifyOrQuit(sLowpan->Compress(*message, aVector.mMacAddrs, frameBuilder) == aVector.mError); in Test()
232 error = sLowpan->Decompress(*message, aVector.mMacAddrs, frameData, 0); in Test()
/openthread-latest/src/core/thread/
Dmesh_forwarder_ftd.cpp332 frameInfo.mAddrs = mMacAddrs; in SendMesh()
372 mMacAddrs.mDestination.SetShort(neighbor->GetRloc16()); in UpdateMeshRoute()
373 mMacAddrs.mSource.SetShort(Get<Mle::Mle>().GetRloc16()); in UpdateMeshRoute()
380 if (mMacAddrs.mDestination.GetShort() != mMeshDest) in UpdateMeshRoute()
449 mMacAddrs.mDestination.SetShort(Get<RouterTable>().GetNextHop(mMeshDest)); in UpdateIp6RouteFtd()
451 if (mMacAddrs.mDestination.GetShort() != mMeshDest) in UpdateIp6RouteFtd()
454 mMacAddrs.mSource.SetShort(mMeshSource); in UpdateIp6RouteFtd()
583 aRxInfo.mMacAddrs.mSource.SetShort(meshHeader.GetSource()); in HandleMesh()
584 aRxInfo.mMacAddrs.mDestination.SetShort(meshHeader.GetDestination()); in HandleMesh()
Dmesh_forwarder.cpp631 GetMacSourceAddress(ip6Header.GetSource(), mMacAddrs.mSource); in UpdateIp6Route()
637 GetMacDestinationAddress(ip6Header.GetDestination(), mMacAddrs.mDestination); in UpdateIp6Route()
655 mMacAddrs.mDestination.SetShort(mle.GetParentRloc16()); in UpdateIp6Route()
659 mMacAddrs.mDestination.SetShort(Mac::kShortAddrBroadcast); in UpdateIp6Route()
664 GetMacDestinationAddress(ip6Header.GetDestination(), mMacAddrs.mDestination); in UpdateIp6Route()
668 mMacAddrs.mDestination.SetShort(mle.GetParentRloc16()); in UpdateIp6Route()
735 frame = &Get<RadioSelector>().SelectRadio(*mSendMessage, mMacAddrs.mDestination, aTxFrames); in HandleFrameRequest()
768 …PrepareDataFrame(*frame, *mSendMessage, mMacAddrs, mAddMeshHeader, mMeshSource, mMeshDest, addFrag… in HandleFrameRequest()
1379 SuccessOrExit(error = mIp6Headers.DecompressFrom(mFrameData, mMacAddrs, GetInstance())); in ParseIp6Headers()
1395 SuccessOrExit(error = aFrame.GetSrcAddr(rxInfo.mMacAddrs.mSource)); in HandleReceivedFrame()
[all …]
Dmesh_forwarder.hpp392 const Mac::Address &GetSrcAddr(void) const { return mMacAddrs.mSource; } in GetSrcAddr()
393 const Mac::Address &GetDstAddr(void) const { return mMacAddrs.mDestination; } in GetDstAddr()
400 Mac::Addresses mMacAddrs; member
630 Mac::Addresses mMacAddrs; member in ot::MeshForwarder