Home
last modified time | relevance | path

Searched refs:aShortAddress (Results 1 – 25 of 37) sorted by relevance

12

/openthread-2.7.6/examples/platforms/utils/
Dlink_metrics.cpp66 …void Set(otLinkMetrics aLinkMetrics, otShortAddress aShortAddress, const otExtAddress &aExtAddress) in Set() argument
69 mShortAddress = aShortAddress; in Set()
139 …bool Matches(const otShortAddress &aShortAddress) const { return mShortAddress == aShortAddress; }; in Matches()
185 otError otLinkMetricsConfigureEnhAckProbing(otShortAddress aShortAddress, in otLinkMetricsConfigureEnhAckProbing() argument
196 dataInfo = GetLinkMetricsDataInfoActiveList().RemoveMatching(aShortAddress); in otLinkMetricsConfigureEnhAckProbing()
202 dataInfo = GetLinkMetricsDataInfoActiveList().FindMatching(aShortAddress); in otLinkMetricsConfigureEnhAckProbing()
213 dataInfo->Set(aLinkMetrics, aShortAddress, *aExtAddress); in otLinkMetricsConfigureEnhAckProbing()
Dsoft_source_match_table.c63 int16_t utilsSoftSrcMatchShortFindEntry(uint16_t aShortAddress) in utilsSoftSrcMatchShortFindEntry() argument
66 uint16_t checksum = aShortAddress + sPanId; in utilsSoftSrcMatchShortFindEntry()
96 static inline void addToSrcMatchShortIndirect(uint16_t entry, uint16_t aShortAddress) in addToSrcMatchShortIndirect() argument
98 uint16_t checksum = aShortAddress + sPanId; in addToSrcMatchShortIndirect()
110 otError otPlatRadioAddSrcMatchShortEntry(otInstance *aInstance, uint16_t aShortAddress) in otPlatRadioAddSrcMatchShortEntry() argument
122 addToSrcMatchShortIndirect((uint16_t)entry, aShortAddress); in otPlatRadioAddSrcMatchShortEntry()
128 otError otPlatRadioClearSrcMatchShortEntry(otInstance *aInstance, uint16_t aShortAddress) in otPlatRadioClearSrcMatchShortEntry() argument
135 entry = utilsSoftSrcMatchShortFindEntry(aShortAddress); in otPlatRadioClearSrcMatchShortEntry()
Dsoft_source_match_table.h61 int16_t utilsSoftSrcMatchShortFindEntry(uint16_t aShortAddress);
Dlink_metrics.h77 otError otLinkMetricsConfigureEnhAckProbing(otShortAddress aShortAddress,
Dmac_frame.h141 otShortAddress aShortAddress,
Dmac_frame.cpp38 otShortAddress aShortAddress, in otMacFrameDoesAddrMatch() argument
51 …VerifyOrExit(dst.GetShort() == Mac::kShortAddrBroadcast || dst.GetShort() == aShortAddress, rval =… in otMacFrameDoesAddrMatch()
/openthread-2.7.6/src/core/radio/
Dradio.cpp47 void Radio::SetShortAddress(Mac::ShortAddress aShortAddress) in SetShortAddress() argument
49 otPlatRadioSetShortAddress(GetInstancePtr(), aShortAddress); in SetShortAddress()
52 Get<Utils::Otns>().EmitShortAddress(aShortAddress); in SetShortAddress()
Dradio.hpp268 void SetShortAddress(Mac::ShortAddress aShortAddress);
551 Error AddSrcMatchShortEntry(Mac::ShortAddress aShortAddress);
573 Error ClearSrcMatchShortEntry(Mac::ShortAddress aShortAddress);
637 const Mac::ShortAddress &aShortAddress, in ConfigureEnhAckProbing() argument
640 …return otPlatRadioConfigureEnhAckProbing(GetInstancePtr(), aLinkMetrics, aShortAddress, &aExtAddre… in ConfigureEnhAckProbing()
825 inline Error Radio::AddSrcMatchShortEntry(Mac::ShortAddress aShortAddress) in AddSrcMatchShortEntry() argument
827 return otPlatRadioAddSrcMatchShortEntry(GetInstancePtr(), aShortAddress); in AddSrcMatchShortEntry()
835 inline Error Radio::ClearSrcMatchShortEntry(Mac::ShortAddress aShortAddress) in ClearSrcMatchShortEntry() argument
837 return otPlatRadioClearSrcMatchShortEntry(GetInstancePtr(), aShortAddress); in ClearSrcMatchShortEntry()
/openthread-2.7.6/src/core/thread/
Dneighbor_table.cpp66 Neighbor *NeighborTable::FindParent(Mac::ShortAddress aShortAddress, Neighbor::StateFilter aFilter) in FindParent() argument
68 return FindParent(Neighbor::AddressMatcher(aShortAddress, aFilter)); in FindParent()
100 Neighbor *NeighborTable::FindNeighbor(Mac::ShortAddress aShortAddress, Neighbor::StateFilter aFilte… in FindNeighbor() argument
104 …VerifyOrExit((aShortAddress != Mac::kShortAddrBroadcast) && (aShortAddress != Mac::kShortAddrInval… in FindNeighbor()
105 neighbor = FindNeighbor(Neighbor::AddressMatcher(aShortAddress, aFilter)); in FindNeighbor()
Dneighbor_table.hpp101 Neighbor *FindParent(Mac::ShortAddress aShortAddress,
139 Neighbor *FindNeighbor(Mac::ShortAddress aShortAddress,
Dtopology.hpp126 AddressMatcher(Mac::ShortAddress aShortAddress, StateFilter aStateFilter) in AddressMatcher() argument
127 : AddressMatcher(aStateFilter, aShortAddress, nullptr) in AddressMatcher()
181 …AddressMatcher(StateFilter aStateFilter, Mac::ShortAddress aShortAddress, const Mac::ExtAddress *a… in AddressMatcher() argument
183 , mShortAddress(aShortAddress) in AddressMatcher()
/openthread-2.7.6/tests/unit/
Dtest_platform.cpp219 void otPlatRadioSetShortAddress(otInstance *aInstance, uint16_t aShortAddress) in otPlatRadioSetShortAddress() argument
223 g_testPlatRadioSetShortAddress(aInstance, aShortAddress); in otPlatRadioSetShortAddress()
319 otError otPlatRadioAddSrcMatchShortEntry(otInstance *aInstance, uint16_t aShortAddress) in otPlatRadioAddSrcMatchShortEntry() argument
322 OT_UNUSED_VARIABLE(aShortAddress); in otPlatRadioAddSrcMatchShortEntry()
333 otError otPlatRadioClearSrcMatchShortEntry(otInstance *aInstance, uint16_t aShortAddress) in otPlatRadioClearSrcMatchShortEntry() argument
336 OT_UNUSED_VARIABLE(aShortAddress); in otPlatRadioClearSrcMatchShortEntry()
690 const otShortAddress aShortAddress, in otPlatRadioConfigureEnhAckProbing() argument
695 OT_UNUSED_VARIABLE(aShortAddress); in otPlatRadioConfigureEnhAckProbing()
701 …trics otPlatRadioGetEnhAckProbingMetrics(otInstance *aInstance, const otShortAddress aShortAddress) in otPlatRadioGetEnhAckProbingMetrics() argument
704 OT_UNUSED_VARIABLE(aShortAddress); in otPlatRadioGetEnhAckProbingMetrics()
/openthread-2.7.6/include/openthread/
Dlink_raw.h123 otError otLinkRawSetShortAddress(otInstance *aInstance, uint16_t aShortAddress);
271 otError otLinkRawSrcMatchAddShortEntry(otInstance *aInstance, uint16_t aShortAddress);
297 otError otLinkRawSrcMatchClearShortEntry(otInstance *aInstance, uint16_t aShortAddress);
Dlink_metrics.h142 typedef void (*otLinkMetricsEnhAckProbingIeReportCallback)(otShortAddress aShortAddress,
/openthread-2.7.6/src/core/api/
Dlink_raw_api.cpp62 otError otLinkRawSetShortAddress(otInstance *aInstance, uint16_t aShortAddress) in otLinkRawSetShortAddress() argument
64 return static_cast<Instance *>(aInstance)->Get<Mac::LinkRaw>().SetShortAddress(aShortAddress); in otLinkRawSetShortAddress()
143 otError otLinkRawSrcMatchAddShortEntry(otInstance *aInstance, uint16_t aShortAddress) in otLinkRawSrcMatchAddShortEntry() argument
150 error = instance.Get<Radio>().AddSrcMatchShortEntry(aShortAddress); in otLinkRawSrcMatchAddShortEntry()
171 otError otLinkRawSrcMatchClearShortEntry(otInstance *aInstance, uint16_t aShortAddress) in otLinkRawSrcMatchClearShortEntry() argument
177 error = instance.Get<Radio>().ClearSrcMatchShortEntry(aShortAddress); in otLinkRawSrcMatchClearShortEntry()
/openthread-2.7.6/tests/fuzz/
Dfuzzer_platform.cpp260 void otPlatRadioSetShortAddress(otInstance *aInstance, uint16_t aShortAddress) in otPlatRadioSetShortAddress() argument
263 OT_UNUSED_VARIABLE(aShortAddress); in otPlatRadioSetShortAddress()
361 otError otPlatRadioAddSrcMatchShortEntry(otInstance *aInstance, uint16_t aShortAddress) in otPlatRadioAddSrcMatchShortEntry() argument
364 OT_UNUSED_VARIABLE(aShortAddress); in otPlatRadioAddSrcMatchShortEntry()
375 otError otPlatRadioClearSrcMatchShortEntry(otInstance *aInstance, uint16_t aShortAddress) in otPlatRadioClearSrcMatchShortEntry() argument
378 OT_UNUSED_VARIABLE(aShortAddress); in otPlatRadioClearSrcMatchShortEntry()
/openthread-2.7.6/include/openthread/platform/
Dradio.h447 void otPlatRadioSetShortAddress(otInstance *aInstance, otShortAddress aShortAddress);
869 otError otPlatRadioAddSrcMatchShortEntry(otInstance *aInstance, otShortAddress aShortAddress);
893 otError otPlatRadioClearSrcMatchShortEntry(otInstance *aInstance, otShortAddress aShortAddress);
1103 otShortAddress aShortAddress,
/openthread-2.7.6/src/core/mac/
Dmac_links.hpp342 void SetShortAddress(ShortAddress aShortAddress) in SetShortAddress() argument
345 mSubMac.SetShortAddress(aShortAddress); in SetShortAddress()
347 mShortAddress = aShortAddress; in SetShortAddress()
Dlink_raw.cpp142 Error LinkRaw::SetShortAddress(ShortAddress aShortAddress) in SetShortAddress() argument
147 mSubMac.SetShortAddress(aShortAddress); in SetShortAddress()
Dmac_types.hpp341 void SetShort(ShortAddress aShortAddress) in SetShort() argument
343 mShared.mShortAddress = aShortAddress; in SetShort()
Dlink_raw.hpp191 Error SetShortAddress(ShortAddress aShortAddress);
/openthread-2.7.6/examples/platforms/cc2538/
Dradio.c896 int8_t findSrcMatchShortEntry(uint16_t aShortAddress) in findSrcMatchShortEntry() argument
918 if ((shortAddr == aShortAddress)) in findSrcMatchShortEntry()
1074 otError otPlatRadioAddSrcMatchShortEntry(otInstance *aInstance, uint16_t aShortAddress) in otPlatRadioAddSrcMatchShortEntry() argument
1090 HWREG(addr++) = aShortAddress & 0xFF; in otPlatRadioAddSrcMatchShortEntry()
1091 HWREG(addr++) = aShortAddress >> 8; in otPlatRadioAddSrcMatchShortEntry()
1124 otError otPlatRadioClearSrcMatchShortEntry(otInstance *aInstance, uint16_t aShortAddress) in otPlatRadioClearSrcMatchShortEntry() argument
1129 int8_t entry = findSrcMatchShortEntry(aShortAddress); in otPlatRadioClearSrcMatchShortEntry()
/openthread-2.7.6/src/core/utils/
Dotns.hpp84 static void EmitShortAddress(uint16_t aShortAddress);
Dotns.cpp48 void Otns::EmitShortAddress(uint16_t aShortAddress) in EmitShortAddress() argument
50 EmitStatus("rloc16=%d", aShortAddress); in EmitShortAddress()
/openthread-2.7.6/src/posix/platform/
Dradio.cpp349 otError otPlatRadioAddSrcMatchShortEntry(otInstance *aInstance, uint16_t aShortAddress) in otPlatRadioAddSrcMatchShortEntry() argument
352 return sRadioSpinel.AddSrcMatchShortEntry(aShortAddress); in otPlatRadioAddSrcMatchShortEntry()
368 otError otPlatRadioClearSrcMatchShortEntry(otInstance *aInstance, uint16_t aShortAddress) in otPlatRadioClearSrcMatchShortEntry() argument
371 return sRadioSpinel.ClearSrcMatchShortEntry(aShortAddress); in otPlatRadioClearSrcMatchShortEntry()

12