/openthread-latest/src/core/thread/ |
D | router_table.cpp | 39 RouterTable::RouterTable(Instance &aInstance) in RouterTable() function in ot::RouterTable 53 void RouterTable::Clear(void) in Clear() 61 bool RouterTable::IsRouteTlvIdSequenceMoreRecent(const Mle::RouteTlv &aRouteTlv) const in IsRouteTlvIdSequenceMoreRecent() 67 void RouterTable::ClearNeighbors(void) in ClearNeighbors() 81 Router *RouterTable::AddRouter(uint8_t aRouterId) in AddRouter() 101 void RouterTable::RemoveRouter(Router &aRouter) in RemoveRouter() 126 Router *RouterTable::Allocate(void) in Allocate() 165 Router *RouterTable::Allocate(uint8_t aRouterId) in Allocate() 186 Error RouterTable::Release(uint8_t aRouterId) in Release() 222 void RouterTable::RemoveRouterLink(Router &aRouter) in RemoveRouterLink() [all …]
|
D | router_table.hpp | 52 class RouterTable : public InstanceLocator, private NonCopyable class 62 explicit RouterTable(Instance &aInstance); 460 using ChangedTask = TaskletIn<RouterTable, &RouterTable::HandleTableChanged>;
|
D | neighbor_table.cpp | 128 neighbor = Get<RouterTable>().FindRouter(aMatcher); in FindChildOrRouter() 181 neighbor = Get<RouterTable>().FindNeighbor(aMacAddress); in FindRxOnlyNeighborRouter() 222 Router *router = Get<RouterTable>().FindRouterById(static_cast<uint8_t>(index)); in GetNextNeighborInfo() 322 Get<RouterTable>().SignalTableChanged(); in Signal()
|
D | mesh_forwarder_ftd.cpp | 356 nextHop = Get<RouterTable>().GetNextHop(meshHeader.GetDestination()); in UpdateMeshRoute() 449 mMacAddrs.mDestination.SetShort(Get<RouterTable>().GetNextHop(mMeshDest)); in UpdateIp6RouteFtd() 552 isReachable = (Get<RouterTable>().GetNextHop(aMeshDest) != Mle::kInvalidRloc16); in CheckReachability() 654 if (aSourceRloc16 != Get<RouterTable>().GetNextHop(aDestRloc16)) in ResolveRoutingLoops() 659 router = Get<RouterTable>().FindRouterByRloc16(aDestRloc16); in ResolveRoutingLoops()
|
D | network_data_leader.cpp | 361 …result = ThreeWayCompare(Get<RouterTable>().GetPathCost(aSecondRloc), Get<RouterTable>().GetPathCo… in CompareRouteEntries()
|
D | network_data_notifier.cpp | 311 activeRouterCount = Get<RouterTable>().GetActiveRouterCount(); in IsEligibleForRouterRoleUpgradeAsBorderRouter()
|
D | mle_router.hpp | 709 RouterTable mRouterTable;
|
D | key_manager.cpp | 241 for (Router &router : Get<RouterTable>()) in ResetFrameCounters()
|
D | network_data_leader_ftd.cpp | 704 …VerifyOrExit(Get<RouterTable>().IsAllocated(Mle::RouterIdFromRloc16(aRloc16)), error = kErrorNoRou… in RegisterNetworkData() 1299 if (!Get<RouterTable>().IsAllocated(Mle::RouterIdFromRloc16(rloc))) in HandleNetworkDataRestoredAfterReset()
|
D | mle_router.cpp | 507 …interval = (Get<RouterTable>().GetNeighborCount(kLinkQuality2) + 1) * kAdvIntervalNeighborMultipli… in DetermineAdvertiseIntervalMax() 1108 if ((aRxInfo.mNeighbor != nullptr) && Get<RouterTable>().Contains(*aRxInfo.mNeighbor)) in ProcessRouteTlv() 1556 for (const Router &router : Get<RouterTable>()) in HasNeighborWithGoodLinkQuality() 1711 for (Router &router : Get<RouterTable>()) in HandleTimeTick() 3727 for (const Router &router : Get<RouterTable>()) in FillConnectivityTlv()
|
D | network_diagnostic.cpp | 366 Get<RouterTable>().FillRouteTlv(tlv); in AppendDiagTlv() 691 for (Router &router : Get<RouterTable>()) in AppendRouterNeighborTlvs()
|
D | mle.cpp | 3135 …bool isIdSequenceSame = (connectivityTlv.GetIdSequence() == Get<RouterTable>().GetRouterIdSequenc… in HandleParentResponse() 3137 …SerialNumber::IsGreater(connectivityTlv.GetIdSequence(), Get<RouterTable>().GetRouterIdSequence()); in HandleParentResponse() 3975 for (Router &router : Get<RouterTable>()) in SelectBetterParent() 4752 router = Get<RouterTable>().FindRouterByRloc16(rlco16); in Execute() 5284 Get<RouterTable>().FillRouteTlv(tlv, aNeighbor); in AppendRouteTlv()
|
D | address_resolver.cpp | 501 if (!isFresh && (Get<RouterTable>().GetNextHop(entry->GetRloc16()) == Mle::kInvalidRloc16)) in Resolve()
|
/openthread-latest/src/core/api/ |
D | thread_ftd_api.cpp | 171 error = AsCoreType(aInstance).Get<RouterTable>().Release(aRouterId); in otThreadReleaseRouterId() 240 return AsCoreType(aInstance).Get<RouterTable>().GetRouterIdSequence(); in otThreadGetRouterIdSequence() 251 … return AsCoreType(aInstance).Get<RouterTable>().GetRouterInfo(aRouterId, AsCoreType(aRouterInfo)); in otThreadGetRouterInfo() 377 AsCoreType(aInstance).Get<RouterTable>().GetRouterIdRange(*aMinRouterId, *aMaxRouterId); in otThreadGetRouterIdRange() 382 return AsCoreType(aInstance).Get<RouterTable>().SetRouterIdRange(aMinRouterId, aMaxRouterId); in otThreadSetRouterIdRange() 394 return AsCoreType(aInstance).Get<RouterTable>().IsAllocated(aRouterId); in otThreadIsRouterIdAllocated() 405 AsCoreType(aInstance).Get<RouterTable>().GetNextHopAndPathCost( in otThreadGetNextHopAndPathCost()
|
/openthread-latest/src/core/utils/ |
D | history_tracker.cpp | 290 if (Get<RouterTable>().IsAllocated(routerId)) in RecordRouterTableChange() 295 …Get<RouterTable>().GetNextHopAndPathCost(Mle::Rloc16FromRouterId(routerId), nextHopRloc, pathCost); in RecordRouterTableChange()
|
D | mesh_diag.cpp | 85 Get<RouterTable>().GetRouterIdSet(mDiscover.mExpectedRouterIdSet); in DiscoverTopology() 171 …VerifyOrExit(Get<RouterTable>().IsAllocated(Mle::RouterIdFromRloc16(aRloc16)), error = kErrorNotFo… in SendQuery()
|
D | history_tracker.hpp | 82 friend class ot::RouterTable;
|
/openthread-latest/src/core/net/ |
D | ip6_mpl.cpp | 340 …interval = (kDataMessageInterval / Mle::kMaxRouters) * Get<RouterTable>().GetNeighborCount(kLinkQu… in AddBufferedMessage()
|
/openthread-latest/src/core/radio/ |
D | trel_link.cpp | 264 for (Router &router : Get<RouterTable>()) in HandleTimer()
|
/openthread-latest/src/core/instance/ |
D | instance.hpp | 798 template <> inline RouterTable &Instance::Get(void) { return mMleRouter.mRouterTable; } in Get()
|