Home
last modified time | relevance | path

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

/openthread-latest/tests/gtest/
Dradio_spinel_rcp_test.cpp73 frameInfo.mAddrs.mSource.SetShort(kSrcAddr); in TEST()
117 frameInfo.mAddrs.mSource.SetShort(kSrcAddr); in TEST()
163 frameInfo.mAddrs.mSource.SetShort(kSrcAddr); in TEST()
219 frameInfo.mAddrs.mSource.SetShort(kSrcAddr); in TEST()
269 frameInfo.mAddrs.mSource.SetShort(kSrcAddr); in TEST()
345 frameInfo.mAddrs.mSource.SetShort(kSrcAddr); in TEST()
/openthread-latest/src/core/thread/
Dmesh_forwarder_ftd.cpp372 mMacAddrs.mDestination.SetShort(neighbor->GetRloc16()); in UpdateMeshRoute()
373 mMacAddrs.mSource.SetShort(Get<Mle::Mle>().GetRloc16()); in UpdateMeshRoute()
449 mMacAddrs.mDestination.SetShort(Get<RouterTable>().GetNextHop(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()
862 aMeshAddrs.mSource.SetShort(meshHeader.GetSource()); in LogMeshFragmentHeader()
863 aMeshAddrs.mDestination.SetShort(meshHeader.GetDestination()); in LogMeshFragmentHeader()
Dmesh_forwarder.cpp168 frameInfo.mAddrs.mSource.SetShort(Get<Mac::Mac>().GetShortAddress()); in PrepareEmptyFrame()
655 mMacAddrs.mDestination.SetShort(mle.GetParentRloc16()); in UpdateIp6Route()
659 mMacAddrs.mDestination.SetShort(Mac::kShortAddrBroadcast); in UpdateIp6Route()
668 mMacAddrs.mDestination.SetShort(mle.GetParentRloc16()); in UpdateIp6Route()
707 aMacAddr.SetShort(Get<Mac::Mac>().GetShortAddress()); in GetMacSourceAddress()
715 aMacAddr.SetShort(Mac::kShortAddrBroadcast); in GetMacDestinationAddress()
719 aMacAddr.SetShort(aIp6Addr.GetIid().GetLocator()); in GetMacDestinationAddress()
783 macDestAddr.SetShort(Get<Mle::MleRouter>().GetParent().GetRloc16()); in HandleFrameRequest()
1017 macAddrs.mSource.SetShort(aMeshSource); in PrepareDataFrame()
1018 macAddrs.mDestination.SetShort(aMeshDest); in PrepareDataFrame()
Dneighbor_table.cpp146 macAddress.SetShort(aIp6Address.GetIid().GetLocator()); in FindNeighbor()
Dindirect_sender.cpp46 aMacAddress.SetShort(static_cast<const CslNeighbor *>(this)->GetRloc16()); in GetMacAddress()
/openthread-latest/tests/unit/
Dtest_lowpan.hpp81 void SetMacSource(uint16_t aAddress) { mMacAddrs.mSource.SetShort(aAddress); } in SetMacSource()
95 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()
313 frameInfo.mAddrs.mSource.SetShort(kShortAddr1); in TestMacHeader()
326 frameInfo.mAddrs.mDestination.SetShort(kShortAddr2); in TestMacHeader()
Dtest_child_table.cpp143 address.SetShort(aChildList[listIndex].mRloc16); in VerifyChildTableContent()
/openthread-latest/src/core/mac/
Ddata_poll_sender.cpp145 aDest.SetShort(parent.GetRloc16()); in GetPollDestinationAddress()
564 frameInfo.mAddrs.mSource.SetShort(Get<Mac::Mac>().GetShortAddress()); in PrepareDataRequest()
Dmac_types.hpp323 void SetShort(ShortAddress aShortAddress) in SetShort() function in ot::Mac::Address
Dmac_frame.cpp496 aAddress.SetShort(LittleEndian::ReadUint16(&mPsdu[index])); in GetDstAddr()
645 aAddress.SetShort(LittleEndian::ReadUint16(&mPsdu[index])); in GetSrcAddr()
Dmac.cpp763 frameInfo.mAddrs.mDestination.SetShort(kShortAddrBroadcast); in PrepareBeaconRequest()
/openthread-latest/src/core/diags/
Dfactory_diags.cpp689 mReceiveConfig.mFilterAddress.SetShort(shortAddress);