Home
last modified time | relevance | path

Searched refs:RouterTable (Results 1 – 20 of 20) sorted by relevance

/openthread-latest/src/core/thread/
Drouter_table.cpp39 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 …]
Drouter_table.hpp52 class RouterTable : public InstanceLocator, private NonCopyable class
62 explicit RouterTable(Instance &aInstance);
460 using ChangedTask = TaskletIn<RouterTable, &RouterTable::HandleTableChanged>;
Dneighbor_table.cpp128 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()
Dmesh_forwarder_ftd.cpp356 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()
Dnetwork_data_leader.cpp361 …result = ThreeWayCompare(Get<RouterTable>().GetPathCost(aSecondRloc), Get<RouterTable>().GetPathCo… in CompareRouteEntries()
Dnetwork_data_notifier.cpp311 activeRouterCount = Get<RouterTable>().GetActiveRouterCount(); in IsEligibleForRouterRoleUpgradeAsBorderRouter()
Dmle_router.hpp709 RouterTable mRouterTable;
Dkey_manager.cpp241 for (Router &router : Get<RouterTable>()) in ResetFrameCounters()
Dnetwork_data_leader_ftd.cpp704 …VerifyOrExit(Get<RouterTable>().IsAllocated(Mle::RouterIdFromRloc16(aRloc16)), error = kErrorNoRou… in RegisterNetworkData()
1299 if (!Get<RouterTable>().IsAllocated(Mle::RouterIdFromRloc16(rloc))) in HandleNetworkDataRestoredAfterReset()
Dmle_router.cpp507 …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()
Dnetwork_diagnostic.cpp366 Get<RouterTable>().FillRouteTlv(tlv); in AppendDiagTlv()
691 for (Router &router : Get<RouterTable>()) in AppendRouterNeighborTlvs()
Dmle.cpp3135 …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()
Daddress_resolver.cpp501 if (!isFresh && (Get<RouterTable>().GetNextHop(entry->GetRloc16()) == Mle::kInvalidRloc16)) in Resolve()
/openthread-latest/src/core/api/
Dthread_ftd_api.cpp171 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/
Dhistory_tracker.cpp290 if (Get<RouterTable>().IsAllocated(routerId)) in RecordRouterTableChange()
295 …Get<RouterTable>().GetNextHopAndPathCost(Mle::Rloc16FromRouterId(routerId), nextHopRloc, pathCost); in RecordRouterTableChange()
Dmesh_diag.cpp85 Get<RouterTable>().GetRouterIdSet(mDiscover.mExpectedRouterIdSet); in DiscoverTopology()
171 …VerifyOrExit(Get<RouterTable>().IsAllocated(Mle::RouterIdFromRloc16(aRloc16)), error = kErrorNotFo… in SendQuery()
Dhistory_tracker.hpp82 friend class ot::RouterTable;
/openthread-latest/src/core/net/
Dip6_mpl.cpp340 …interval = (kDataMessageInterval / Mle::kMaxRouters) * Get<RouterTable>().GetNeighborCount(kLinkQu… in AddBufferedMessage()
/openthread-latest/src/core/radio/
Dtrel_link.cpp264 for (Router &router : Get<RouterTable>()) in HandleTimer()
/openthread-latest/src/core/instance/
Dinstance.hpp798 template <> inline RouterTable &Instance::Get(void) { return mMleRouter.mRouterTable; } in Get()