Home
last modified time | relevance | path

Searched refs:ChildTable (Results 1 – 25 of 27) sorted by relevance

12

/openthread-3.4.0/src/core/thread/
Dchild_table.cpp44 ChildTable::Iterator::Iterator(Instance &aInstance, Child::StateFilter aFilter) in Iterator()
52 void ChildTable::Iterator::Reset(void) in Reset()
54 mItem = &Get<ChildTable>().mChildren[0]; in Reset()
62 void ChildTable::Iterator::Advance(void) in Advance()
69 …VerifyOrExit(mItem < &Get<ChildTable>().mChildren[Get<ChildTable>().mMaxChildrenAllowed], mItem = … in Advance()
76 ChildTable::ChildTable(Instance &aInstance) in ChildTable() function in ot::ChildTable
87 void ChildTable::Clear(void) in Clear()
95 Child *ChildTable::GetChildAtIndex(uint16_t aChildIndex) in GetChildAtIndex()
106 Child *ChildTable::GetNewChild(void) in GetNewChild()
117 const Child *ChildTable::FindChild(const Child::AddressMatcher &aMatcher) const in FindChild()
[all …]
Dindirect_sender.cpp77 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateAnyExceptInvalid)) in Stop()
98 childIndex = Get<ChildTable>().GetChildIndex(aChild); in AddMessageForSleepyChild()
124 uint16_t childIndex = Get<ChildTable>().GetChildIndex(aChild); in RemoveMessageFromSleepyChild()
143 message.ClearChildMask(Get<ChildTable>().GetChildIndex(aChild)); in ClearAllMessagesForSleepyChild()
182 uint16_t childIndex = Get<ChildTable>().GetChildIndex(aChild); in HandleChildModeChange()
213 uint16_t childIndex = Get<ChildTable>().GetChildIndex(aChild); in FindIndirectMessage()
238 … if ((curMessage != nullptr) && !curMessage->GetChildMask(Get<ChildTable>().GetChildIndex(aChild))) in RequestMessageUpdate()
482 uint16_t childIndex = Get<ChildTable>().GetChildIndex(aChild); in HandleSentFrameToChild()
553 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateAnyExceptValidOrRestoring)) in ClearMessagesForRemovedChildren()
Dchild_supervision.cpp62 child = Get<ChildTable>().GetChildAtIndex(childIndex); in GetDestination()
83 childIndex = Get<ChildTable>().GetChildIndex(aChild); in SendMessage()
99 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateValid)) in HandleTimeTick()
121 …bool shouldRun = (!Get<Mle::Mle>().IsDisabled() && Get<ChildTable>().HasChildren(Child::kInStateVa… in CheckState()
Dneighbor_table.cpp127 neighbor = Get<ChildTable>().FindChild(aMatcher); in FindChildOrRouter()
158 for (Child &child : Get<ChildTable>().Iterate(aFilter)) in FindNeighbor()
192 Child *child = Get<ChildTable>().GetChildAtIndex(static_cast<uint16_t>(index)); in GetNextNeighborInfo()
274 OT_ASSERT(Get<ChildTable>().Contains(aNeighbor)); in Signal()
Dchild_table.hpp53 class ChildTable : public InstanceLocator, private NonCopyable class
110 explicit ChildTable(Instance &aInstance);
Ddua_manager.cpp490 for (Child &iter : Get<ChildTable>().Iterate(Child::kInStateValid)) in PerformNextRegistration()
492 uint16_t childIndex = Get<ChildTable>().GetChildIndex(iter); in PerformNextRegistration()
501 child = Get<ChildTable>().GetChildAtIndex(mChildIndexDuaRegistering); in PerformNextRegistration()
675 for (Child &iter : Get<ChildTable>().Iterate(Child::kInStateValid)) in ProcessDuaResponse()
686 childIndex = Get<ChildTable>().GetChildIndex(*child); in ProcessDuaResponse()
763 uint16_t childIndex = Get<ChildTable>().GetChildIndex(aChild); in UpdateChildDomainUnicastAddress()
Dmlr_manager.cpp137 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateValid)) in IsAddressMlrRegisteredByAnyChildExcept()
257 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateValid)) in SendMulticastListenerRegistration()
542 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateValid)) in SetMulticastAddressMlrState()
576 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateValid)) in FinishMulticastListenerRegistration()
680 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateValid)) in LogMulticastAddresses()
781 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateValid)) in CheckInvariants()
Dcsl_tx_scheduler.cpp101 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateAnyExceptInvalid)) in Clear()
128 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateAnyExceptInvalid)) in RescheduleCslTx()
Dmesh_forwarder_ftd.cpp85 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateValidOrRestoring)) in SendMessage()
96 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateValidOrRestoring)) in SendMessage()
111 Get<ChildTable>().Contains(*neighbor)) in SendMessage()
332 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateAnyExceptInvalid)) in RemoveDataResponseMessages()
602 …child = Get<ChildTable>().FindChild(aMacAddrs.mSource.GetShort(), Child::kInStateAnyExceptInvalid); in SendIcmpErrorIfDstUnreach()
Dsrc_match_controller.cpp215 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateValidOrRestoring)) in AddPendingEntries()
Dnetwork_data_notifier.cpp138 Get<ChildTable>().FindChild(rloc16, Child::kInStateValid) == nullptr) in RemoveStaleChildEntries()
Dmle_router.cpp418 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateValidOrRestoring)) in SetStateRouterOrLeader()
1307 …if (!router->IsStateValid() && aRxInfo.IsNeighborStateValid() && Get<ChildTable>().Contains(*aRxIn… in HandleAdvertisement()
1594 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateAnyExceptInvalid)) in HandleTimeTick()
1950 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateValidOrRestoring)) in ProcessAddressRegistrationTlv()
2437 !Get<ChildTable>().Contains(*aRxInfo.mNeighbor)) in HandleChildUpdateResponse()
2661 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateValid)) in SynchronizeChildNetworkData()
2988 uint16_t childIndex = Get<ChildTable>().GetChildIndex(aChild); in SendChildUpdateRequest()
3545 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateChildIdRequest)) in HandleAddressSolicitResponse()
3952 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateValidOrRestoring)) in RemoveChildren()
3979 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateValid)) in GetMaxChildTimeout()
Dmle_router.hpp661 ChildTable mChildTable;
Dnetwork_diagnostic.cpp182 count = Min(Get<ChildTable>().GetNumChildren(Child::kInStateValid), kMaxChildEntries); in AppendChildTable()
201 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateValid)) in AppendChildTable()
Daddress_resolver.cpp799 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateValid)) in HandleTmf()
852 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateValid)) in HandleTmf()
Dkey_manager.cpp250 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateAnyExceptInvalid)) in ResetFrameCounters()
Dmesh_forwarder.cpp197 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateAnyExceptInvalid)) in RemoveMessage()
1732 else if ((aNeighbor != nullptr) && Get<ChildTable>().Contains(*aNeighbor) && in CalcFrameVersion()
Drouter_table.cpp460 … const Child *child = Get<ChildTable>().FindChild(aDestRloc16, Child::kInStateAnyExceptInvalid); in GetNextHopAndPathCost()
/openthread-3.4.0/tests/unit/
Dtest_child_table.cpp117 void VerifyChildTableContent(ChildTable &aTable, uint16_t aChildListLength, const TestChild *aChild… in VerifyChildTableContent()
157 ChildTable::Iterator iter(*sInstance, filter); in VerifyChildTableContent()
298 ChildTable *table; in TestChildTable()
304 table = &sInstance->Get<ChildTable>(); in TestChildTable()
/openthread-3.4.0/src/core/mac/
Ddata_poll_handler.cpp84 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateAnyExceptInvalid)) in Clear()
138 child = Get<ChildTable>().FindChild(macSource, Child::kInStateValidOrRestoring); in HandleDataPoll()
311 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateValidOrRestoring)) in ProcessPendingPolls()
/openthread-3.4.0/src/core/api/
Dthread_ftd_api.cpp47 return AsCoreType(aInstance).Get<ChildTable>().GetMaxChildrenAllowed(); in otThreadGetMaxAllowedChildren()
52 return AsCoreType(aInstance).Get<ChildTable>().SetMaxChildrenAllowed(aMaxChildren); in otThreadSetMaxAllowedChildren()
228 … return AsCoreType(aInstance).Get<ChildTable>().GetChildInfoById(aChildId, AsCoreType(aChildInfo)); in otThreadGetChildInfoById()
233 …return AsCoreType(aInstance).Get<ChildTable>().GetChildInfoByIndex(aChildIndex, AsCoreType(aChildI… in otThreadGetChildInfoByIndex()
247 child = AsCoreType(aInstance).Get<ChildTable>().GetChildAtIndex(aChildIndex); in otThreadGetChildNextIp6Address()
/openthread-3.4.0/tests/scripts/thread-cert/
Dnetwork_diag.py225 class ChildTable: class
258 return ChildTable(children)
/openthread-3.4.0/src/core/radio/
Dtrel_link.cpp263 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateAnyExceptInvalid)) in HandleTimer()
/openthread-3.4.0/src/core/net/
Dip6.cpp285 Get<ChildTable>().HasSleepyChildWithAddress(aHeader.GetDestination())) in InsertMplOption()
473 if (Get<ChildTable>().HasSleepyChildWithAddress(header.GetDestination())) in SendDatagram()
1153 Get<ChildTable>().HasSleepyChildWithAddress(header.GetDestination())) in HandleDatagram()
/openthread-3.4.0/src/core/common/
Dinstance.hpp689 template <> inline ChildTable &Instance::Get(void) { return mMleRouter.mChildTable; } in Get()

12