Searched refs:SetShort (Results 1 – 11 of 11) sorted by relevance
84 void SetMacSource(uint16_t aAddress) { mMacAddrs.mSource.SetShort(aAddress); } in SetMacSource()100 void SetMacDestination(uint16_t aAddress) { mMacAddrs.mDestination.SetShort(aAddress); } in SetMacDestination()
134 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()
143 address.SetShort(aChildList[listIndex].mRloc16); in VerifyChildTableContent()
390 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()
188 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()
149 macAddress.SetShort(aIp6Address.GetIid().GetLocator()); in FindNeighbor()
52 aMacAddress.SetShort(static_cast<const Child *>(this)->GetRloc16()); in GetMacAddress()
155 aDest.SetShort(parent.GetRloc16()); in GetPollDestinationAddress()577 addresses.mSource.SetShort(Get<Mac::Mac>().GetShortAddress()); in PrepareDataRequest()
344 void SetShort(ShortAddress aShortAddress) in SetShort() function in ot::Mac::Address
393 aAddress.SetShort(ReadUint16(&mPsdu[index])); in GetDstAddr()578 aAddress.SetShort(ReadUint16(&mPsdu[index])); in GetSrcAddr()
741 addrs.mDestination.SetShort(kShortAddrBroadcast); in PrepareBeaconRequest()