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.cpp43 NeighborTable::NeighborTable(Instance &aInstance) in NeighborTable() function in ot::NeighborTable
49 Neighbor *NeighborTable::FindParent(const Neighbor::AddressMatcher &aMatcher) in FindParent()
66 Neighbor *NeighborTable::FindParent(Mac::ShortAddress aShortAddress, Neighbor::StateFilter aFilter) in FindParent()
71 Neighbor *NeighborTable::FindParent(const Mac::ExtAddress &aExtAddress, Neighbor::StateFilter aFilt… in FindParent()
76 Neighbor *NeighborTable::FindParent(const Mac::Address &aMacAddress, Neighbor::StateFilter aFilter) in FindParent()
81 Neighbor *NeighborTable::FindNeighbor(const Neighbor::AddressMatcher &aMatcher) in FindNeighbor()
100 Neighbor *NeighborTable::FindNeighbor(Mac::ShortAddress aShortAddress, Neighbor::StateFilter aFilte… in FindNeighbor()
111 Neighbor *NeighborTable::FindNeighbor(const Mac::ExtAddress &aExtAddress, Neighbor::StateFilter aFi… in FindNeighbor()
116 Neighbor *NeighborTable::FindNeighbor(const Mac::Address &aMacAddress, Neighbor::StateFilter aFilte… in FindNeighbor()
123 Neighbor *NeighborTable::FindChildOrRouter(const Neighbor::AddressMatcher &aMatcher) in FindChildOrRouter()
[all …]
Dneighbor_table.hpp49 class NeighborTable : public InstanceLocator, private NonCopyable class
89 explicit NeighborTable(Instance &aInstance);
Dmesh_forwarder_ftd.cpp99 Neighbor *neighbor = Get<NeighborTable>().FindNeighbor(destination); in SendMessage()
287 neighbor = Get<NeighborTable>().FindNeighbor(ip6header.GetDestination()); in RemoveMessagesForChild()
294 neighbor = Get<NeighborTable>().FindNeighbor(meshHeader.GetDestination()); in RemoveMessagesForChild()
364 neighbor = Get<NeighborTable>().FindNeighbor(nextHop); in UpdateMeshRoute()
368 neighbor = Get<NeighborTable>().FindNeighbor(meshHeader.GetDestination()); in UpdateMeshRoute()
433 else if ((neighbor = Get<NeighborTable>().FindNeighbor(aIp6Header.GetDestination())) != nullptr) in UpdateIp6RouteFtd()
546 (Get<NeighborTable>().FindNeighbor(aIp6Header.GetDestination()) != nullptr); in CheckReachability()
692 neighbor = Get<NeighborTable>().FindNeighbor(aRxInfo.mIp6Headers.GetSourceAddress()); in UpdateRoutes()
Dchild.cpp150 Get<NeighborTable>().Signal(NeighborTable::kChildModeChanged, *this); in SetDeviceMode()
Dchild_table.cpp252 Get<NeighborTable>().Signal(NeighborTable::kChildAdded, *child); in Restore()
Dradio_selector.cpp152 neighbor = Get<NeighborTable>().FindNeighbor(macDest, Neighbor::kInStateAnyExceptInvalid); in UpdateOnSendDone()
280 neighbor = Get<NeighborTable>().FindNeighbor(aMacDest, Neighbor::kInStateAnyExceptInvalid); in SelectRadio()
Drouter_table.cpp81 Get<NeighborTable>().Signal(NeighborTable::kRouterRemoved, router); in ClearNeighbors()
116 Get<NeighborTable>().Signal(NeighborTable::kRouterRemoved, aRouter); in RemoveRouter()
Dchild_table.hpp55 friend class NeighborTable;
Dchild_supervision.cpp191 … (Get<NeighborTable>().FindNeighbor(aSourceAddress) == &Get<Mle::MleRouter>().GetParent())); in UpdateOnReceive()
Drouter_table.hpp54 friend class NeighborTable;
Dmesh_forwarder.cpp874 …version = CalcFrameVersion(Get<NeighborTable>().FindNeighbor(aMacAddrs.mDestination), iePresent); in PrepareMacHeaders()
1123 neighbor = Get<NeighborTable>().FindNeighbor(aMacDest); in UpdateNeighborOnSentFrame()
1456 … Get<NeighborTable>().FindNeighbor(aRxInfo.GetSrcAddr(), Neighbor::kInStateAnyExceptInvalid); in HandleFragment()
Dmle_router.cpp1047 mNeighborTable.Signal(NeighborTable::kRouterAdded, *router); in HandleLinkAccept()
1109 aRxInfo.mNeighbor = Get<NeighborTable>().FindNeighbor(neighborRloc16); in ProcessRouteTlv()
1337 mNeighborTable.Signal(NeighborTable::kRouterAdded, *router); in HandleAdvertisement()
3188 mNeighborTable.Signal(NeighborTable::kChildRemoved, aNeighbor); in RemoveNeighbor()
3204 mNeighborTable.Signal(NeighborTable::kRouterRemoved, aNeighbor); in RemoveNeighbor()
3797 mNeighborTable.Signal(NeighborTable::kChildAdded, aChild); in SetChildStateToValid()
Dlink_metrics.cpp400 aNeighbor = Get<NeighborTable>().FindNeighbor(macAddress); in FindNeighbor()
/openthread-latest/src/core/utils/
Dotns.cpp110 void Otns::EmitNeighborChange(NeighborTable::Event aEvent, const Neighbor &aNeighbor) in EmitNeighborChange()
114 case NeighborTable::kRouterAdded: in EmitNeighborChange()
117 case NeighborTable::kRouterRemoved: in EmitNeighborChange()
120 case NeighborTable::kChildAdded: in EmitNeighborChange()
123 case NeighborTable::kChildRemoved: in EmitNeighborChange()
126 case NeighborTable::kChildModeChanged: in EmitNeighborChange()
Dhistory_tracker.cpp143 …Neighbor *neighbor = Get<NeighborTable>().FindNeighbor(aMacAddress, Neighbor::kInStateAnyExceptInv… in RecordMessage()
189 void HistoryTracker::RecordNeighborEvent(NeighborTable::Event aEvent, const NeighborTable::EntryInf… in RecordNeighborEvent()
197 case NeighborTable::kChildAdded: in RecordNeighborEvent()
198 case NeighborTable::kChildRemoved: in RecordNeighborEvent()
199 case NeighborTable::kChildModeChanged: in RecordNeighborEvent()
209 case NeighborTable::kRouterAdded: in RecordNeighborEvent()
210 case NeighborTable::kRouterRemoved: in RecordNeighborEvent()
223 case NeighborTable::kChildAdded: in RecordNeighborEvent()
232 case NeighborTable::kRouterAdded: in RecordNeighborEvent()
236 case NeighborTable::kChildRemoved: in RecordNeighborEvent()
[all …]
Dlink_metrics_manager.cpp136 while (Get<NeighborTable>().GetNextNeighborInfo(iterator, neighborInfo) == kErrorNone) in UpdateSubjects()
224 neighbor = Get<NeighborTable>().FindNeighbor(extAddress); in HandleMgmtResponse()
289 Neighbor *neighbor = aInstance.Get<NeighborTable>().FindNeighbor(mExtAddress); in ConfigureEap()
315 Neighbor *neighbor = aInstance.Get<NeighborTable>().FindNeighbor(mExtAddress); in UnregisterEap()
Dhistory_tracker.hpp80 friend class ot::NeighborTable;
409 void RecordNeighborEvent(NeighborTable::Event aEvent, const NeighborTable::EntryInfo &aInfo);
Dotns.hpp129 static void EmitNeighborChange(NeighborTable::Event aEvent, const Neighbor &aNeighbor);
/openthread-latest/src/core/api/
Dmulti_radio_api.cpp54 neighbor = AsCoreType(aInstance).Get<NeighborTable>().FindNeighbor(AsCoreType(aExtAddress), in otMultiRadioGetNeighborInfo()
Dthread_ftd_api.cpp341 AsCoreType(aInstance).Get<NeighborTable>().RegisterCallback(aCallback); in otThreadRegisterNeighborTableCallback()
Dthread_api.cpp315 …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.cpp145 neighbor = Get<NeighborTable>().FindNeighbor(destAddr, Neighbor::kInStateAnyExceptInvalid); in BeginTransmit()
394 neighbor = Get<NeighborTable>().FindNeighbor(srcAddress, Neighbor::kInStateAnyExceptInvalid); in HandleAck()
/openthread-latest/src/core/mac/
Dmac.cpp1163 neighbor = Get<NeighborTable>().FindNeighbor(dstAddr); in RecordFrameTransmitStatus()
1290 Neighbor *neighbor = Get<NeighborTable>().FindNeighbor(dstAddr); in HandleTransmitDone()
1692 neighbor = Get<NeighborTable>().FindNeighbor(srcAddr); in ProcessEnhAckSecurity()
1701 neighbor = Get<NeighborTable>().FindNeighbor(dstAddr); in ProcessEnhAckSecurity()
1774 neighbor = !srcaddr.IsNone() ? Get<NeighborTable>().FindNeighbor(srcaddr) : nullptr; in HandleReceivedFrame()
1790 neighbor = Get<NeighborTable>().FindRxOnlyNeighborRouter(srcaddr); in HandleReceivedFrame()
/openthread-latest/src/core/instance/
Dinstance.hpp782 template <> inline NeighborTable &Instance::Get(void) { return mMleRouter.mNeighborTable; } in Get()

12