Home
last modified time | relevance | path

Searched refs:SetShort (Results 1 – 11 of 11) sorted by relevance

/openthread-3.5.0/tests/unit/
Dtest_lowpan.hpp84 void SetMacSource(uint16_t aAddress) { mMacAddrs.mSource.SetShort(aAddress); } in SetMacSource()
100 void SetMacDestination(uint16_t aAddress) { mMacAddrs.mDestination.SetShort(aAddress); } in SetMacDestination()
Dtest_mac_frame.cpp134 addr.SetShort(kShortAddr); in TestMacAddress()
166 addr.SetShort(kShortAddr); in TestMacAddress()
170 addr.SetShort(Mac::kShortAddrBroadcast); in TestMacAddress()
174 addr.SetShort(Mac::kShortAddrInvalid); in TestMacAddress()
310 addresses.mSource.SetShort(kShortAddr1); in TestMacHeader()
323 addresses.mDestination.SetShort(kShortAddr2); in TestMacHeader()
Dtest_child_table.cpp143 address.SetShort(aChildList[listIndex].mRloc16); in VerifyChildTableContent()
/openthread-3.5.0/src/core/thread/
Dmesh_forwarder_ftd.cpp390 mMacAddrs.mDestination.SetShort(neighbor->GetRloc16()); in UpdateMeshRoute()
391 mMacAddrs.mSource.SetShort(Get<Mac::Mac>().GetShortAddress()); in UpdateMeshRoute()
577 mMacAddrs.mDestination.SetShort(mle.GetNextHop(mMeshDest)); in UpdateIp6RouteFtd()
582 mMacAddrs.mSource.SetShort(mMeshSource); in UpdateIp6RouteFtd()
667 meshAddrs.mSource.SetShort(meshHeader.GetSource()); in HandleMesh()
668 meshAddrs.mDestination.SetShort(meshHeader.GetDestination()); in HandleMesh()
942 aMeshAddrs.mSource.SetShort(meshHeader.GetSource()); in LogMeshFragmentHeader()
943 aMeshAddrs.mDestination.SetShort(meshHeader.GetDestination()); in LogMeshFragmentHeader()
Dmesh_forwarder.cpp188 addresses.mSource.SetShort(Get<Mac::Mac>().GetShortAddress()); in PrepareEmptyFrame()
690 mMacAddrs.mDestination.SetShort(mle.GetNextHop(Mac::kShortAddrBroadcast)); in UpdateIp6Route()
694 mMacAddrs.mDestination.SetShort(Mac::kShortAddrBroadcast); in UpdateIp6Route()
703 mMacAddrs.mDestination.SetShort(mle.GetNextHop(Mac::kShortAddrBroadcast)); in UpdateIp6Route()
742 aMacAddr.SetShort(Get<Mac::Mac>().GetShortAddress()); in GetMacSourceAddress()
750 aMacAddr.SetShort(Mac::kShortAddrBroadcast); in GetMacDestinationAddress()
754 aMacAddr.SetShort(aIp6Addr.GetIid().GetLocator()); in GetMacDestinationAddress()
819 macDestAddr.SetShort(Get<Mle::MleRouter>().GetParent().GetRloc16()); in HandleFrameRequest()
1013 macAddrs.mSource.SetShort(aMeshSource); in PrepareDataFrame()
1014 macAddrs.mDestination.SetShort(aMeshDest); in PrepareDataFrame()
Dneighbor_table.cpp149 macAddress.SetShort(aIp6Address.GetIid().GetLocator()); in FindNeighbor()
Dindirect_sender.cpp52 aMacAddress.SetShort(static_cast<const Child *>(this)->GetRloc16()); in GetMacAddress()
/openthread-3.5.0/src/core/mac/
Ddata_poll_sender.cpp155 aDest.SetShort(parent.GetRloc16()); in GetPollDestinationAddress()
577 addresses.mSource.SetShort(Get<Mac::Mac>().GetShortAddress()); in PrepareDataRequest()
Dmac_types.hpp344 void SetShort(ShortAddress aShortAddress) in SetShort() function in ot::Mac::Address
Dmac_frame.cpp393 aAddress.SetShort(ReadUint16(&mPsdu[index])); in GetDstAddr()
578 aAddress.SetShort(ReadUint16(&mPsdu[index])); in GetSrcAddr()
Dmac.cpp741 addrs.mDestination.SetShort(kShortAddrBroadcast); in PrepareBeaconRequest()