Home
last modified time | relevance | path

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

12

/openthread-latest/examples/platforms/utils/
Dlink_metrics.cpp64 …void Set(otLinkMetrics aLinkMetrics, otShortAddress aShortAddress, const otExtAddress &aExtAddress) in Set() argument
67 mShortAddress = aShortAddress; in Set()
134 …bool Matches(const otShortAddress &aShortAddress) const { return mShortAddress == aShortAddress; }; in Matches()
181 otError otLinkMetricsConfigureEnhAckProbing(otShortAddress aShortAddress, in otLinkMetricsConfigureEnhAckProbing() argument
192 dataInfo = GetLinkMetricsDataInfoActiveList().RemoveMatching(aShortAddress); in otLinkMetricsConfigureEnhAckProbing()
198 dataInfo = GetLinkMetricsDataInfoActiveList().FindMatching(aShortAddress); in otLinkMetricsConfigureEnhAckProbing()
209 dataInfo->Set(aLinkMetrics, aShortAddress, *aExtAddress); in otLinkMetricsConfigureEnhAckProbing()
Dsoft_source_match_table.c60 int16_t utilsSoftSrcMatchShortFindEntry(uint16_t aShortAddress) in utilsSoftSrcMatchShortFindEntry() argument
63 uint16_t checksum = aShortAddress + sPanId; in utilsSoftSrcMatchShortFindEntry()
93 static inline void addToSrcMatchShortIndirect(uint16_t entry, uint16_t aShortAddress) in addToSrcMatchShortIndirect() argument
95 uint16_t checksum = aShortAddress + sPanId; in addToSrcMatchShortIndirect()
107 otError otPlatRadioAddSrcMatchShortEntry(otInstance *aInstance, uint16_t aShortAddress) in otPlatRadioAddSrcMatchShortEntry() argument
119 addToSrcMatchShortIndirect((uint16_t)entry, aShortAddress); in otPlatRadioAddSrcMatchShortEntry()
125 otError otPlatRadioClearSrcMatchShortEntry(otInstance *aInstance, uint16_t aShortAddress) in otPlatRadioClearSrcMatchShortEntry() argument
132 entry = utilsSoftSrcMatchShortFindEntry(aShortAddress); in otPlatRadioClearSrcMatchShortEntry()
Dmac_frame.h132 otShortAddress aShortAddress,
150 otShortAddress aShortAddress,
Dmac_frame.cpp42 otShortAddress aShortAddress, in otMacFrameDoesAddrMatch() argument
45 …return otMacFrameDoesAddrMatchAny(aFrame, aPanId, aShortAddress, Mac::kShortAddrInvalid, aExtAddre… in otMacFrameDoesAddrMatch()
50 otShortAddress aShortAddress, in otMacFrameDoesAddrMatchAny() argument
64 … VerifyOrExit(dst.GetShort() == Mac::kShortAddrBroadcast || dst.GetShort() == aShortAddress || in otMacFrameDoesAddrMatchAny()
Dsoft_source_match_table.h61 int16_t utilsSoftSrcMatchShortFindEntry(uint16_t aShortAddress);
Dlink_metrics.h74 otError otLinkMetricsConfigureEnhAckProbing(otShortAddress aShortAddress,
/openthread-latest/include/openthread/
Dlink_raw.h116 otError otLinkRawSetShortAddress(otInstance *aInstance, uint16_t aShortAddress);
136 otError otLinkRawSetAlternateShortAddress(otInstance *aInstance, otShortAddress aShortAddress);
274 otError otLinkRawSrcMatchAddShortEntry(otInstance *aInstance, uint16_t aShortAddress);
298 otError otLinkRawSrcMatchClearShortEntry(otInstance *aInstance, uint16_t aShortAddress);
/openthread-latest/src/core/api/
Dlink_raw_api.cpp51 otError otLinkRawSetShortAddress(otInstance *aInstance, uint16_t aShortAddress) in otLinkRawSetShortAddress() argument
53 return AsCoreType(aInstance).Get<Mac::LinkRaw>().SetShortAddress(aShortAddress); in otLinkRawSetShortAddress()
56 otError otLinkRawSetAlternateShortAddress(otInstance *aInstance, otShortAddress aShortAddress) in otLinkRawSetAlternateShortAddress() argument
58 return AsCoreType(aInstance).Get<Mac::LinkRaw>().SetAlternateShortAddress(aShortAddress); in otLinkRawSetAlternateShortAddress()
125 otError otLinkRawSrcMatchAddShortEntry(otInstance *aInstance, uint16_t aShortAddress) in otLinkRawSrcMatchAddShortEntry() argument
132 error = instance.Get<Radio>().AddSrcMatchShortEntry(aShortAddress); in otLinkRawSrcMatchAddShortEntry()
151 otError otLinkRawSrcMatchClearShortEntry(otInstance *aInstance, uint16_t aShortAddress) in otLinkRawSrcMatchClearShortEntry() argument
157 error = instance.Get<Radio>().ClearSrcMatchShortEntry(aShortAddress); in otLinkRawSrcMatchClearShortEntry()
/openthread-latest/src/core/radio/
Dradio.hpp348 void SetShortAddress(Mac::ShortAddress aShortAddress);
355 void SetAlternateShortAddress(Mac::ShortAddress aShortAddress);
651 Error AddSrcMatchShortEntry(Mac::ShortAddress aShortAddress);
671 Error ClearSrcMatchShortEntry(Mac::ShortAddress aShortAddress);
730 const Mac::ShortAddress &aShortAddress, in ConfigureEnhAckProbing() argument
733 …return otPlatRadioConfigureEnhAckProbing(GetInstancePtr(), aLinkMetrics, aShortAddress, &aExtAddre… in ConfigureEnhAckProbing()
885 inline void Radio::SetAlternateShortAddress(Mac::ShortAddress aShortAddress) in SetAlternateShortAddress() argument
887 otPlatRadioSetAlternateShortAddress(GetInstancePtr(), aShortAddress); in SetAlternateShortAddress()
1014 inline Error Radio::AddSrcMatchShortEntry(Mac::ShortAddress aShortAddress) in AddSrcMatchShortEntry() argument
1016 return otPlatRadioAddSrcMatchShortEntry(GetInstancePtr(), aShortAddress); in AddSrcMatchShortEntry()
[all …]
Dradio.cpp91 void Radio::SetShortAddress(Mac::ShortAddress aShortAddress) in SetShortAddress() argument
93 otPlatRadioSetShortAddress(GetInstancePtr(), aShortAddress); in SetShortAddress()
96 Get<Utils::Otns>().EmitShortAddress(aShortAddress); in SetShortAddress()
/openthread-latest/src/core/mac/
Dmac_links.hpp324 void SetShortAddress(ShortAddress aShortAddress) in SetShortAddress() argument
327 mSubMac.SetShortAddress(aShortAddress); in SetShortAddress()
329 mShortAddress = aShortAddress; in SetShortAddress()
353 void SetAlternateShortAddress(ShortAddress aShortAddress) in SetAlternateShortAddress() argument
356 mSubMac.SetAlternateShortAddress(aShortAddress); in SetAlternateShortAddress()
358 mAlternateShortAddress = aShortAddress; in SetAlternateShortAddress()
Dlink_raw.cpp153 Error LinkRaw::SetShortAddress(ShortAddress aShortAddress) in SetShortAddress() argument
158 mSubMac.SetShortAddress(aShortAddress); in SetShortAddress()
164 Error LinkRaw::SetAlternateShortAddress(ShortAddress aShortAddress) in SetAlternateShortAddress() argument
169 mSubMac.SetAlternateShortAddress(aShortAddress); in SetAlternateShortAddress()
Dlink_raw.hpp184 Error SetShortAddress(ShortAddress aShortAddress);
194 Error SetAlternateShortAddress(ShortAddress aShortAddress);
Dmac.hpp264 void SetShortAddress(ShortAddress aShortAddress) { mLinks.SetShortAddress(aShortAddress); } in SetShortAddress() argument
278 …void SetAlternateShortAddress(ShortAddress aShortAddress) { mLinks.SetAlternateShortAddress(aShort… in SetAlternateShortAddress() argument
Dsub_mac.cpp162 void SubMac::SetShortAddress(ShortAddress aShortAddress) in SetShortAddress() argument
164 mShortAddress = aShortAddress; in SetShortAddress()
169 void SubMac::SetAlternateShortAddress(ShortAddress aShortAddress) in SetAlternateShortAddress() argument
171 VerifyOrExit(mAlternateShortAddress != aShortAddress); in SetAlternateShortAddress()
173 mAlternateShortAddress = aShortAddress; in SetAlternateShortAddress()
/openthread-latest/src/core/thread/
Dneighbor_table.cpp63 Neighbor *NeighborTable::FindParent(Mac::ShortAddress aShortAddress, Neighbor::StateFilter aFilter) in FindParent() argument
65 return FindParent(Neighbor::AddressMatcher(aShortAddress, aFilter)); in FindParent()
97 Neighbor *NeighborTable::FindNeighbor(Mac::ShortAddress aShortAddress, Neighbor::StateFilter aFilte… in FindNeighbor() argument
101 …VerifyOrExit((aShortAddress != Mac::kShortAddrBroadcast) && (aShortAddress != Mac::kShortAddrInval… in FindNeighbor()
102 neighbor = FindNeighbor(Neighbor::AddressMatcher(aShortAddress, aFilter)); in FindNeighbor()
Dneighbor.hpp126 AddressMatcher(Mac::ShortAddress aShortAddress, StateFilter aStateFilter) in AddressMatcher() argument
127 : AddressMatcher(aStateFilter, aShortAddress, nullptr) in AddressMatcher()
176 …AddressMatcher(StateFilter aStateFilter, Mac::ShortAddress aShortAddress, const Mac::ExtAddress *a… in AddressMatcher() argument
178 , mShortAddress(aShortAddress) in AddressMatcher()
Dneighbor_table.hpp95 Neighbor *FindParent(Mac::ShortAddress aShortAddress,
130 Neighbor *FindNeighbor(Mac::ShortAddress aShortAddress,
/openthread-latest/tests/nexus/platform/
Dnexus_radio.cpp71 void otPlatRadioSetShortAddress(otInstance *aInstance, otShortAddress aShortAddress) in otPlatRadioSetShortAddress() argument
73 AsNode(aInstance).mRadio.mShortAddress = aShortAddress; in otPlatRadioSetShortAddress()
156 otError otPlatRadioAddSrcMatchShortEntry(otInstance *aInstance, otShortAddress aShortAddress) in otPlatRadioAddSrcMatchShortEntry() argument
161 VerifyOrExit(!radio.mSrcMatchShortEntries.Contains(aShortAddress)); in otPlatRadioAddSrcMatchShortEntry()
162 error = radio.mSrcMatchShortEntries.PushBack(aShortAddress); in otPlatRadioAddSrcMatchShortEntry()
183 otError otPlatRadioClearSrcMatchShortEntry(otInstance *aInstance, otShortAddress aShortAddress) in otPlatRadioClearSrcMatchShortEntry() argument
189 entry = radio.mSrcMatchShortEntries.Find(aShortAddress); in otPlatRadioClearSrcMatchShortEntry()
/openthread-latest/include/openthread/platform/
Dradio.h549 void otPlatRadioSetShortAddress(otInstance *aInstance, otShortAddress aShortAddress);
569 void otPlatRadioSetAlternateShortAddress(otInstance *aInstance, otShortAddress aShortAddress);
1047 otError otPlatRadioAddSrcMatchShortEntry(otInstance *aInstance, otShortAddress aShortAddress);
1069 otError otPlatRadioClearSrcMatchShortEntry(otInstance *aInstance, otShortAddress aShortAddress);
1307 otShortAddress aShortAddress,
/openthread-latest/src/cli/
Dcli_link_metrics.hpp107 static void HandleLinkMetricsEnhAckProbingIe(otShortAddress aShortAddress,
112 void HandleLinkMetricsEnhAckProbingIe(otShortAddress aShortAddress,
Dcli_link_metrics.cpp548 void LinkMetrics::HandleLinkMetricsEnhAckProbingIe(otShortAddress aShortAddress, in HandleLinkMetricsEnhAckProbingIe() argument
553 …static_cast<LinkMetrics *>(aContext)->HandleLinkMetricsEnhAckProbingIe(aShortAddress, aExtAddress,… in HandleLinkMetricsEnhAckProbingIe()
556 void LinkMetrics::HandleLinkMetricsEnhAckProbingIe(otShortAddress aShortAddress, in HandleLinkMetricsEnhAckProbingIe() argument
561 aShortAddress); in HandleLinkMetricsEnhAckProbingIe()
/openthread-latest/tests/fuzz/
Dfuzzer_platform.cpp282 void otPlatRadioSetShortAddress(otInstance *aInstance, uint16_t aShortAddress) in otPlatRadioSetShortAddress() argument
285 OT_UNUSED_VARIABLE(aShortAddress); in otPlatRadioSetShortAddress()
389 otError otPlatRadioAddSrcMatchShortEntry(otInstance *aInstance, uint16_t aShortAddress) in otPlatRadioAddSrcMatchShortEntry() argument
392 OT_UNUSED_VARIABLE(aShortAddress); in otPlatRadioAddSrcMatchShortEntry()
403 otError otPlatRadioClearSrcMatchShortEntry(otInstance *aInstance, uint16_t aShortAddress) in otPlatRadioClearSrcMatchShortEntry() argument
406 OT_UNUSED_VARIABLE(aShortAddress); in otPlatRadioClearSrcMatchShortEntry()
/openthread-latest/src/core/utils/
Dlink_metrics_manager.cpp238 void LinkMetricsManager::HandleEnhAckIe(otShortAddress aShortAddress, in HandleEnhAckIe() argument
243 …static_cast<LinkMetricsManager *>(aContext)->HandleEnhAckIe(aShortAddress, aExtAddress, aMetricsVa… in HandleEnhAckIe()
246 void LinkMetricsManager::HandleEnhAckIe(otShortAddress aShortAddress, in HandleEnhAckIe() argument
250 OT_UNUSED_VARIABLE(aShortAddress); in HandleEnhAckIe()
Dlink_metrics_manager.hpp201 static void HandleEnhAckIe(otShortAddress aShortAddress,
205 void HandleEnhAckIe(otShortAddress aShortAddress,

12