Home
last modified time | relevance | path

Searched refs:aRouter (Results 1 – 10 of 10) sorted by relevance

/openthread-3.4.0/src/core/thread/
Drouter_table.cpp109 void RouterTable::RemoveRouter(Router &aRouter) in RemoveRouter() argument
114 if (aRouter.IsStateValid()) in RemoveRouter()
116 Get<NeighborTable>().Signal(NeighborTable::kRouterRemoved, aRouter); in RemoveRouter()
119 mRouterIdMap.Release(aRouter.GetRouterId()); in RemoveRouter()
120 mRouters.Remove(aRouter); in RemoveRouter()
126 if (IsAllocated(aRouter.GetRouterId())) in RemoveRouter()
128 mRouterIdMap.SetIndex(aRouter.GetRouterId(), mRouters.IndexOf((aRouter))); in RemoveRouter()
230 void RouterTable::RemoveRouterLink(Router &aRouter) in RemoveRouterLink() argument
232 if (aRouter.GetLinkQualityOut() != kLinkQuality0) in RemoveRouterLink()
234 aRouter.SetLinkQualityOut(kLinkQuality0); in RemoveRouterLink()
[all …]
Drouter_table.hpp113 void RemoveRouterLink(Router &aRouter);
155 uint8_t GetLinkCost(const Router &aRouter) const;
253 …Router *FindNextHopOf(const Router &aRouter) { return AsNonConst(AsConst(this)->FindNextHopOf(aRou… in FindNextHopOf() argument
263 const Router *FindNextHopOf(const Router &aRouter) const;
444 void RemoveRouter(Router &aRouter);
Dtopology.cpp547 void Router::Info::SetFrom(const Router &aRouter) in SetFrom() argument
550 mRloc16 = aRouter.GetRloc16(); in SetFrom()
552 mExtAddress = aRouter.GetExtAddress(); in SetFrom()
554 mNextHop = aRouter.GetNextHop(); in SetFrom()
555 mLinkEstablished = aRouter.IsStateValid(); in SetFrom()
556 mPathCost = aRouter.GetCost(); in SetFrom()
557 mLinkQualityIn = aRouter.GetLinkQualityIn(); in SetFrom()
558 mLinkQualityOut = aRouter.GetLinkQualityOut(); in SetFrom()
559 …mAge = static_cast<uint8_t>(Time::MsecToSec(TimerMilli::GetNow() - aRouter.GetLastHear… in SetFrom()
560 mVersion = ClampToUint8(aRouter.GetVersion()); in SetFrom()
Dmle_router.hpp359 void RemoveRouterLink(Router &aRouter);
608 const Router *aRouter,
Dmle_router.cpp3231 void MleRouter::RemoveRouterLink(Router &aRouter) in RemoveRouterLink() argument
3236 if (&aRouter == &mParent) in RemoveRouterLink()
3244 mRouterTable.RemoveRouterLink(aRouter); in RemoveRouterLink()
3675 const Router *aRouter, in SendAddressSolicitResponse() argument
3684 if (aRouter != nullptr) in SendAddressSolicitResponse()
3688 SuccessOrExit(Tlv::Append<ThreadRloc16Tlv>(*message, aRouter->GetRloc16())); in SendAddressSolicitResponse()
3706 if ((aResponseStatus == ThreadStatusTlv::kSuccess) && (aRouter != nullptr)) in SendAddressSolicitResponse()
3713 VerifyOrExit(oldRloc16 != aRouter->GetRloc16()); in SendAddressSolicitResponse()
Dtopology.hpp1392 void SetFrom(const Router &aRouter);
/openthread-3.4.0/src/core/meshcop/
Djoiner.cpp362 Error Joiner::Connect(JoinerRouter &aRouter) in Connect() argument
365 Ip6::SockAddr sockAddr(aRouter.mJoinerUdpPort); in Connect()
367 …nfo("Joiner connecting to %s, pan:0x%04x, chan:%d", aRouter.mExtAddr.ToString().AsCString(), aRout… in Connect()
368 aRouter.mChannel); in Connect()
370 Get<Mac::Mac>().SetPanId(aRouter.mPanId); in Connect()
371 SuccessOrExit(error = Get<Mac::Mac>().SetPanChannel(aRouter.mChannel)); in Connect()
374 sockAddr.GetAddress().SetToLinkLocalAddress(aRouter.mExtAddr); in Connect()
Djoiner.hpp219 Error Connect(JoinerRouter &aRouter);
/openthread-3.4.0/src/core/border_router/
Drouting_manager.hpp652 void SetRouter(const Router *aRouter) { mPtr1 = aRouter; } in SetRouter() argument
659 … ProcessDefaultRoute(const Ip6::Nd::RouterAdvertMessage::Header &aRaHeader, Router &aRouter);
660 … void ProcessPrefixInfoOption(const Ip6::Nd::PrefixInfoOption &aPio, Router &aRouter);
661 void ProcessRouteInfoOption(const Ip6::Nd::RouteInfoOption &aRio, Router &aRouter);
673 void UpdateRouterOnRx(Router &aRouter);
674 void SendNeighborSolicitToRouter(const Router &aRouter);
Drouting_manager.cpp1166 … Router &aRouter) in ProcessDefaultRoute() argument
1172 entry = aRouter.mEntries.FindMatching(Entry::Matcher(prefix, Entry::kTypeRoute)); in ProcessDefaultRoute()
1187 aRouter.mEntries.Push(*entry); in ProcessDefaultRoute()
1203 … Router &aRouter) in ProcessPrefixInfoOption() argument
1215 entry = aRouter.mEntries.FindMatching(Entry::Matcher(prefix, Entry::kTypeOnLink)); in ProcessPrefixInfoOption()
1230 aRouter.mEntries.Push(*entry); in ProcessPrefixInfoOption()
1249 … Router &aRouter) in ProcessRouteInfoOption() argument
1261 entry = aRouter.mEntries.FindMatching(Entry::Matcher(prefix, Entry::kTypeRoute)); in ProcessRouteInfoOption()
1276 aRouter.mEntries.Push(*entry); in ProcessRouteInfoOption()
1596 void RoutingManager::DiscoveredPrefixTable::UpdateRouterOnRx(Router &aRouter) in UpdateRouterOnRx() argument
[all …]