/openthread-3.4.0/src/core/thread/ |
D | child_table.cpp | 44 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 …]
|
D | indirect_sender.cpp | 77 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()
|
D | child_supervision.cpp | 62 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()
|
D | neighbor_table.cpp | 127 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()
|
D | child_table.hpp | 53 class ChildTable : public InstanceLocator, private NonCopyable class 110 explicit ChildTable(Instance &aInstance);
|
D | dua_manager.cpp | 490 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()
|
D | mlr_manager.cpp | 137 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()
|
D | csl_tx_scheduler.cpp | 101 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateAnyExceptInvalid)) in Clear() 128 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateAnyExceptInvalid)) in RescheduleCslTx()
|
D | mesh_forwarder_ftd.cpp | 85 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()
|
D | src_match_controller.cpp | 215 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateValidOrRestoring)) in AddPendingEntries()
|
D | network_data_notifier.cpp | 138 Get<ChildTable>().FindChild(rloc16, Child::kInStateValid) == nullptr) in RemoveStaleChildEntries()
|
D | mle_router.cpp | 418 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()
|
D | mle_router.hpp | 661 ChildTable mChildTable;
|
D | network_diagnostic.cpp | 182 count = Min(Get<ChildTable>().GetNumChildren(Child::kInStateValid), kMaxChildEntries); in AppendChildTable() 201 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateValid)) in AppendChildTable()
|
D | address_resolver.cpp | 799 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateValid)) in HandleTmf() 852 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateValid)) in HandleTmf()
|
D | key_manager.cpp | 250 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateAnyExceptInvalid)) in ResetFrameCounters()
|
D | mesh_forwarder.cpp | 197 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateAnyExceptInvalid)) in RemoveMessage() 1732 else if ((aNeighbor != nullptr) && Get<ChildTable>().Contains(*aNeighbor) && in CalcFrameVersion()
|
D | router_table.cpp | 460 … const Child *child = Get<ChildTable>().FindChild(aDestRloc16, Child::kInStateAnyExceptInvalid); in GetNextHopAndPathCost()
|
/openthread-3.4.0/tests/unit/ |
D | test_child_table.cpp | 117 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/ |
D | data_poll_handler.cpp | 84 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/ |
D | thread_ftd_api.cpp | 47 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/ |
D | network_diag.py | 225 class ChildTable: class 258 return ChildTable(children)
|
/openthread-3.4.0/src/core/radio/ |
D | trel_link.cpp | 263 for (Child &child : Get<ChildTable>().Iterate(Child::kInStateAnyExceptInvalid)) in HandleTimer()
|
/openthread-3.4.0/src/core/net/ |
D | ip6.cpp | 285 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/ |
D | instance.hpp | 689 template <> inline ChildTable &Instance::Get(void) { return mMleRouter.mChildTable; } in Get()
|