Home
last modified time | relevance | path

Searched refs:mAddrs (Results 1 – 8 of 8) sorted by relevance

/external/openthread/tests/gtest/
Dradio_spinel_rcp_test.cpp73 frameInfo.mAddrs.mSource.SetShort(kSrcAddr); in TEST()
74 frameInfo.mAddrs.mDestination.SetExtended(kDstAddr); in TEST()
117 frameInfo.mAddrs.mSource.SetShort(kSrcAddr); in TEST()
118 frameInfo.mAddrs.mDestination.SetExtended(kDstAddr); in TEST()
163 frameInfo.mAddrs.mSource.SetShort(kSrcAddr); in TEST()
164 frameInfo.mAddrs.mDestination.SetExtended(kDstAddr); in TEST()
219 frameInfo.mAddrs.mSource.SetShort(kSrcAddr); in TEST()
220 frameInfo.mAddrs.mDestination.SetExtended(kDstAddr); in TEST()
269 frameInfo.mAddrs.mSource.SetShort(kSrcAddr); in TEST()
270 frameInfo.mAddrs.mDestination.SetExtended(kDstAddr); in TEST()
[all …]
/external/openthread/src/core/mac/
Dmac_frame.cpp59 fcf |= DetermineFcfAddrType(mAddrs.mSource, kFcfSrcAddrShift); in PrepareHeadersIn()
60 fcf |= DetermineFcfAddrType(mAddrs.mDestination, kFcfDstAddrShift); in PrepareHeadersIn()
62 if (!mAddrs.mDestination.IsNone() && !mAddrs.mDestination.IsBroadcast() && (mType != kTypeAck)) in PrepareHeadersIn()
88 if (!mAddrs.mSource.IsNone() && !mAddrs.mDestination.IsNone() && in PrepareHeadersIn()
126 if (mAddrs.mDestination.IsNone()) in PrepareHeadersIn()
130 …if ((mAddrs.mSource.IsNone() && mPanIds.IsDestinationPresent()) || /… in PrepareHeadersIn()
131 …(!mAddrs.mSource.IsNone() && !mPanIds.IsDestinationPresent() && !mPanIds.IsSourcePresent())) // Ro… in PrepareHeadersIn()
139 if (mAddrs.mSource.IsNone()) in PrepareHeadersIn()
153 if (mAddrs.mSource.IsExtended() && mAddrs.mDestination.IsExtended()) in PrepareHeadersIn()
199 IgnoreError(builder.AppendMacAddress(mAddrs.mDestination)); in PrepareHeadersIn()
[all …]
Ddata_poll_sender.cpp551 SuccessOrExit(GetPollDestinationAddress(frameInfo.mAddrs.mDestination, radio)); in PrepareDataRequest()
554 SuccessOrExit(GetPollDestinationAddress(frameInfo.mAddrs.mDestination)); in PrepareDataRequest()
558 if (frameInfo.mAddrs.mDestination.IsExtended()) in PrepareDataRequest()
560 frameInfo.mAddrs.mSource.SetExtended(Get<Mac::Mac>().GetExtAddress()); in PrepareDataRequest()
564 frameInfo.mAddrs.mSource.SetShort(Get<Mac::Mac>().GetShortAddress()); in PrepareDataRequest()
Dmac.cpp755 frameInfo.mAddrs.mSource.SetNone(); in PrepareBeaconRequest()
756 frameInfo.mAddrs.mDestination.SetShort(kShortAddrBroadcast); in PrepareBeaconRequest()
788 frameInfo.mAddrs.mSource.SetExtended(GetExtAddress()); in PrepareBeacon()
790 frameInfo.mAddrs.mDestination.SetNone(); in PrepareBeacon()
Dmac_frame.hpp1054 Addresses mAddrs; ///< Frame source and destination addresses. member
/external/openthread/tests/unit/
Dtest_mac_frame.cpp302 VerifyOrQuit(frameInfo.mAddrs.mSource.IsNone()); in TestMacHeader()
303 VerifyOrQuit(frameInfo.mAddrs.mDestination.IsNone()); in TestMacHeader()
310 frameInfo.mAddrs.mSource.SetNone(); in TestMacHeader()
313 frameInfo.mAddrs.mSource.SetShort(kShortAddr1); in TestMacHeader()
316 frameInfo.mAddrs.mSource.SetExtended(extAddr1); in TestMacHeader()
323 frameInfo.mAddrs.mDestination.SetNone(); in TestMacHeader()
326 frameInfo.mAddrs.mDestination.SetShort(kShortAddr2); in TestMacHeader()
329 frameInfo.mAddrs.mDestination.SetExtended(extAddr2); in TestMacHeader()
379 VerifyOrQuit(CompareAddresses(address, frameInfo.mAddrs.mSource)); in TestMacHeader()
382 VerifyOrQuit(CompareAddresses(address, frameInfo.mAddrs.mDestination)); in TestMacHeader()
/external/openthread/src/core/thread/
Dmesh_forwarder.cpp168 frameInfo.mAddrs.mSource.SetShort(Get<Mac::Mac>().GetShortAddress()); in PrepareEmptyFrame()
170 if (frameInfo.mAddrs.mSource.IsShortAddrInvalid() || aMacDest.IsExtended()) in PrepareEmptyFrame()
172 frameInfo.mAddrs.mSource.SetExtended(Get<Mac::Mac>().GetExtAddress()); in PrepareEmptyFrame()
175 frameInfo.mAddrs.mDestination = aMacDest; in PrepareEmptyFrame()
853 … const Neighbor *neighbor = Get<NeighborTable>().FindNeighbor(aTxFrameInfo.mAddrs.mDestination); in PrepareMacHeaders()
949 frameInfo.mAddrs = aMacAddrs; in PrepareDataFrame()
Dmesh_forwarder_ftd.cpp332 frameInfo.mAddrs = mMacAddrs; in SendMesh()