Home
last modified time | relevance | path

Searched refs:NeighborTable (Results 1 – 25 of 28) sorted by relevance

12

/openthread-latest/src/core/thread/
Dneighbor_table.cpp40 NeighborTable::NeighborTable(Instance &aInstance) in NeighborTable() function in ot::NeighborTable
46 Neighbor *NeighborTable::FindParent(const Neighbor::AddressMatcher &aMatcher) in FindParent()
63 Neighbor *NeighborTable::FindParent(Mac::ShortAddress aShortAddress, Neighbor::StateFilter aFilter) in FindParent()
68 Neighbor *NeighborTable::FindParent(const Mac::ExtAddress &aExtAddress, Neighbor::StateFilter aFilt… in FindParent()
73 Neighbor *NeighborTable::FindParent(const Mac::Address &aMacAddress, Neighbor::StateFilter aFilter) in FindParent()
78 Neighbor *NeighborTable::FindNeighbor(const Neighbor::AddressMatcher &aMatcher) in FindNeighbor()
97 Neighbor *NeighborTable::FindNeighbor(Mac::ShortAddress aShortAddress, Neighbor::StateFilter aFilte… in FindNeighbor()
108 Neighbor *NeighborTable::FindNeighbor(const Mac::ExtAddress &aExtAddress, Neighbor::StateFilter aFi… in FindNeighbor()
113 Neighbor *NeighborTable::FindNeighbor(const Mac::Address &aMacAddress, Neighbor::StateFilter aFilte… in FindNeighbor()
120 Neighbor *NeighborTable::FindChildOrRouter(const Neighbor::AddressMatcher &aMatcher) in FindChildOrRouter()
[all …]
Dneighbor_table.hpp48 class NeighborTable : public InstanceLocator, private NonCopyable class
84 explicit NeighborTable(Instance &aInstance);
Dmesh_forwarder_ftd.cpp94 Neighbor *neighbor = Get<NeighborTable>().FindNeighbor(destination); in SendMessage()
282 neighbor = Get<NeighborTable>().FindNeighbor(ip6header.GetDestination()); in RemoveMessagesForChild()
289 neighbor = Get<NeighborTable>().FindNeighbor(meshHeader.GetDestination()); in RemoveMessagesForChild()
360 neighbor = Get<NeighborTable>().FindNeighbor(nextHop); in UpdateMeshRoute()
364 neighbor = Get<NeighborTable>().FindNeighbor(meshHeader.GetDestination()); in UpdateMeshRoute()
429 else if ((neighbor = Get<NeighborTable>().FindNeighbor(aIp6Header.GetDestination())) != nullptr) in UpdateIp6RouteFtd()
542 (Get<NeighborTable>().FindNeighbor(aIp6Header.GetDestination()) != nullptr); in CheckReachability()
688 neighbor = Get<NeighborTable>().FindNeighbor(aRxInfo.mIp6Headers.GetSourceAddress()); in UpdateRoutes()
Dchild.cpp145 Get<NeighborTable>().Signal(NeighborTable::kChildModeChanged, *this); in SetDeviceMode()
Dchild_table.cpp250 Get<NeighborTable>().Signal(NeighborTable::kChildAdded, *child); in Restore()
Dradio_selector.cpp148 neighbor = Get<NeighborTable>().FindNeighbor(macDest, Neighbor::kInStateAnyExceptInvalid); in UpdateOnSendDone()
276 neighbor = Get<NeighborTable>().FindNeighbor(aMacDest, Neighbor::kInStateAnyExceptInvalid); in SelectRadio()
Drouter_table.cpp73 Get<NeighborTable>().Signal(NeighborTable::kRouterRemoved, router); in ClearNeighbors()
108 Get<NeighborTable>().Signal(NeighborTable::kRouterRemoved, aRouter); in RemoveRouter()
Dchild_table.hpp54 friend class NeighborTable;
Dchild_supervision.cpp186 … (Get<NeighborTable>().FindNeighbor(aSourceAddress) == &Get<Mle::MleRouter>().GetParent())); in UpdateOnReceive()
Drouter_table.hpp54 friend class NeighborTable;
Dmesh_forwarder.cpp853 … const Neighbor *neighbor = Get<NeighborTable>().FindNeighbor(aTxFrameInfo.mAddrs.mDestination); in PrepareMacHeaders()
1117 neighbor = Get<NeighborTable>().FindNeighbor(aMacDest); in UpdateNeighborOnSentFrame()
1457 … Get<NeighborTable>().FindNeighbor(aRxInfo.GetSrcAddr(), Neighbor::kInStateAnyExceptInvalid); in HandleFragment()
Dmle_router.cpp1057 mNeighborTable.Signal(NeighborTable::kRouterAdded, *router); in HandleLinkAcceptVariant()
1123 aRxInfo.mNeighbor = Get<NeighborTable>().FindNeighbor(neighborRloc16); in ProcessRouteTlv()
1349 mNeighborTable.Signal(NeighborTable::kRouterAdded, *router); in HandleAdvertisementOnFtd()
3267 mNeighborTable.Signal(NeighborTable::kChildRemoved, aNeighbor); in RemoveNeighbor()
3283 mNeighborTable.Signal(NeighborTable::kRouterRemoved, aNeighbor); in RemoveNeighbor()
3878 mNeighborTable.Signal(NeighborTable::kChildAdded, aChild); in SetChildStateToValid()
Dlink_metrics.cpp391 aNeighbor = Get<NeighborTable>().FindNeighbor(macAddress); in FindNeighbor()
/openthread-latest/src/core/utils/
Dotns.cpp107 void Otns::EmitNeighborChange(NeighborTable::Event aEvent, const Neighbor &aNeighbor) in EmitNeighborChange()
111 case NeighborTable::kRouterAdded: in EmitNeighborChange()
114 case NeighborTable::kRouterRemoved: in EmitNeighborChange()
117 case NeighborTable::kChildAdded: in EmitNeighborChange()
120 case NeighborTable::kChildRemoved: in EmitNeighborChange()
123 case NeighborTable::kChildModeChanged: in EmitNeighborChange()
Dhistory_tracker.cpp135 …Neighbor *neighbor = Get<NeighborTable>().FindNeighbor(aMacAddress, Neighbor::kInStateAnyExceptInv… in RecordMessage()
181 void HistoryTracker::RecordNeighborEvent(NeighborTable::Event aEvent, const NeighborTable::EntryInf… in RecordNeighborEvent()
189 case NeighborTable::kChildAdded: in RecordNeighborEvent()
190 case NeighborTable::kChildRemoved: in RecordNeighborEvent()
191 case NeighborTable::kChildModeChanged: in RecordNeighborEvent()
201 case NeighborTable::kRouterAdded: in RecordNeighborEvent()
202 case NeighborTable::kRouterRemoved: in RecordNeighborEvent()
215 case NeighborTable::kChildAdded: in RecordNeighborEvent()
224 case NeighborTable::kRouterAdded: in RecordNeighborEvent()
228 case NeighborTable::kChildRemoved: in RecordNeighborEvent()
[all …]
Dlink_metrics_manager.cpp130 while (Get<NeighborTable>().GetNextNeighborInfo(iterator, neighborInfo) == kErrorNone) in UpdateSubjects()
218 neighbor = Get<NeighborTable>().FindNeighbor(extAddress); in HandleMgmtResponse()
283 Neighbor *neighbor = aInstance.Get<NeighborTable>().FindNeighbor(mExtAddress); in ConfigureEap()
309 Neighbor *neighbor = aInstance.Get<NeighborTable>().FindNeighbor(mExtAddress); in UnregisterEap()
Dhistory_tracker.hpp79 friend class ot::NeighborTable;
396 void RecordNeighborEvent(NeighborTable::Event aEvent, const NeighborTable::EntryInfo &aInfo);
Dotns.hpp122 static void EmitNeighborChange(NeighborTable::Event aEvent, const Neighbor &aNeighbor);
/openthread-latest/src/core/api/
Dmulti_radio_api.cpp51 neighbor = AsCoreType(aInstance).Get<NeighborTable>().FindNeighbor(AsCoreType(aExtAddress), in otMultiRadioGetNeighborInfo()
Dthread_ftd_api.cpp320 AsCoreType(aInstance).Get<NeighborTable>().RegisterCallback(aCallback); in otThreadRegisterNeighborTableCallback()
Dthread_api.cpp309 …return AsCoreType(aInstance).Get<NeighborTable>().GetNextNeighborInfo(*aIterator, AsCoreType(aInfo… in otThreadGetNextNeighborInfo()
/openthread-latest/src/core/radio/
Dtrel_interface.cpp321 … if (Get<NeighborTable>().FindNeighbor(entry.GetExtAddress(), Neighbor::kInStateAny) != nullptr) in GetNewPeerEntry()
327 if (Get<NeighborTable>().FindRxOnlyNeighborRouter(entry.GetExtAddress()) != nullptr) in GetNewPeerEntry()
Dtrel_link.cpp141 neighbor = Get<NeighborTable>().FindNeighbor(destAddr, Neighbor::kInStateAnyExceptInvalid); in BeginTransmit()
427 neighbor = Get<NeighborTable>().FindNeighbor(srcAddress, Neighbor::kInStateAnyExceptInvalid); in HandleAck()
/openthread-latest/src/core/mac/
Dmac.cpp1203 neighbor = Get<NeighborTable>().FindNeighbor(dstAddr); in RecordFrameTransmitStatus()
1330 Neighbor *neighbor = Get<NeighborTable>().FindNeighbor(dstAddr); in HandleTransmitDone()
1759 neighbor = Get<NeighborTable>().FindNeighbor(srcAddr); in ProcessEnhAckSecurity()
1768 neighbor = Get<NeighborTable>().FindNeighbor(dstAddr); in ProcessEnhAckSecurity()
1868 neighbor = !srcaddr.IsNone() ? Get<NeighborTable>().FindNeighbor(srcaddr) : nullptr; in HandleReceivedFrame()
1883 neighbor = Get<NeighborTable>().FindRxOnlyNeighborRouter(srcaddr); in HandleReceivedFrame()
/openthread-latest/src/core/instance/
Dinstance.hpp793 template <> inline NeighborTable &Instance::Get(void) { return mMleRouter.mNeighborTable; } in Get()

12