Home
last modified time | relevance | path

Searched refs:Router (Results 1 – 25 of 29) sorted by relevance

12

/openthread-latest/src/core/thread/
Drouter_table.hpp79 Router *Allocate(void);
88 Router *Allocate(uint8_t aRouterId);
106 void RemoveRouterLink(Router &aRouter);
120 Router *GetLeader(void) { return AsNonConst(AsConst(this)->GetLeader()); } in GetLeader()
127 const Router *GetLeader(void) const;
143 uint8_t GetLinkCost(const Router &aRouter) const;
195Router *FindRouterById(uint8_t aRouterId) { return AsNonConst(AsConst(this)->FindRouterById(aRoute… in FindRouterById()
204 const Router *FindRouterById(uint8_t aRouterId) const;
213Router *FindRouterByRloc16(uint16_t aRloc16) { return AsNonConst(AsConst(this)->FindRouterByRloc16… in FindRouterByRloc16()
222 const Router *FindRouterByRloc16(uint16_t aRloc16) const;
[all …]
Drouter_table.cpp69 for (Router &router : mRouters) in ClearNeighbors()
81 Router *RouterTable::AddRouter(uint8_t aRouterId) in AddRouter()
86 Router *router = mRouters.PushBack(); in AddRouter()
101 void RouterTable::RemoveRouter(Router &aRouter) in RemoveRouter()
126 Router *RouterTable::Allocate(void) in Allocate()
128 Router *router = nullptr; in Allocate()
165 Router *RouterTable::Allocate(uint8_t aRouterId) in Allocate()
167 Router *router = nullptr; in Allocate()
189 Router *router; in Release()
200 for (Router &otherRouter : mRouters) in Release()
[all …]
Drouter.cpp40 void Router::Info::SetFrom(const Router &aRouter) in SetFrom()
56 void Router::Info::SetFrom(const Parent &aParent) in SetFrom()
58 SetFrom(static_cast<const Router &>(aParent)); in SetFrom()
65 void Router::Clear(void) in Clear()
73 LinkQuality Router::GetTwoWayLinkQuality(void) const { return Min(GetLinkQualityIn(), GetLinkQualit… in GetTwoWayLinkQuality()
75 void Router::SetFrom(const Parent &aParent) in SetFrom()
81 const Router *parentAsRouter = &aParent; in SetFrom()
94 bool Router::SetNextHopAndCost(uint8_t aNextHop, uint8_t aCost) in SetNextHopAndCost()
113 bool Router::SetNextHopToInvalid(void) { return SetNextHopAndCost(Mle::kInvalidRouterId, 0); } in SetNextHopToInvalid()
Drouter.hpp48 class Router : public Neighbor class
62 void SetFrom(const Router &aRouter);
234 class Parent : public Router
292 DefineCoreType(otRouterInfo, Router::Info);
Dmle_router.hpp339 void RemoveRouterLink(Router &aRouter);
371 void ScheduleUnicastAdvertisementTo(const Router &aRouter);
617 void EstablishRouterLinkOnFtdChild(Router &aRouter, RxInfo &aRxInfo, uint8_t aLinkMargin);
625 const Router *aRouter,
630 void SendLinkRequest(Router *aRouter);
Dmle_router.cpp270 Router *router; in BecomeLeader()
545 void MleRouter::ScheduleUnicastAdvertisementTo(const Router &aRouter) in ScheduleUnicastAdvertisementTo()
602 void MleRouter::SendLinkRequest(Router *aRouter) in SendLinkRequest()
798 Router *router; in SendLinkAccept()
890 Router *router; in HandleLinkAcceptVariant()
1205 Router *router; in HandleAdvertisementOnFtd()
1382 void MleRouter::EstablishRouterLinkOnFtdChild(Router &aRouter, RxInfo &aRxInfo, uint8_t aLinkMargin) in EstablishRouterLinkOnFtdChild()
1556 for (const Router &router : Get<RouterTable>()) in HasNeighborWithGoodLinkQuality()
1711 for (Router &router : Get<RouterTable>()) in HandleTimeTick()
2082 Router *router; in HandleChildIdRequest()
[all …]
Dmle.hpp421 Error GetParentInfo(Router::Info &aParentInfo) const;
1144 void ScheduleLinkRequest(const Router &aRouter, uint16_t aDelay);
1149 void RemoveScheduledLinkRequest(const Router &aRouter);
1291 void CompareAndUpdateSelectedParent(Router &aRouter);
1304 Router *mSelectedParent;
Dkey_manager.cpp230 Router *parent; in ResetFrameCounters()
241 for (Router &router : Get<RouterTable>()) in ResetFrameCounters()
Dnetwork_diagnostic_tlvs.cpp77 void RouterNeighborTlv::InitFrom(const Router &aRouter) in InitFrom()
Dneighbor_table.cpp222 Router *router = Get<RouterTable>().FindRouterById(static_cast<uint8_t>(index)); in GetNextNeighborInfo()
Dnetwork_diagnostic_tlvs.hpp855 void InitFrom(const Router &aRouter);
Dmle.cpp2715 Get<MleRouter>().SendLinkRequest(static_cast<Router *>(&aNeighbor)); in ReestablishLinkWithNeighbor()
3851 Error Mle::GetParentInfo(Router::Info &aParentInfo) const in GetParentInfo()
3975 for (Router &router : Get<RouterTable>()) in SelectBetterParent()
3990 void Mle::ParentSearch::CompareAndUpdateSelectedParent(Router &aRouter) in CompareAndUpdateSelectedParent()
4597 void Mle::DelayedSender::ScheduleLinkRequest(const Router &aRouter, uint16_t aDelay) in ScheduleLinkRequest()
4612 void Mle::DelayedSender::RemoveScheduledLinkRequest(const Router &aRouter) in RemoveScheduledLinkRequest()
4749 Router *router; in Execute()
/openthread-latest/src/cli/
DREADME_BR.md1 # OpenThread CLI - Border Router (BR)
102 Get the Border Router counter.
123 Get local or favored or both off-mesh-routable prefixes of the Border Router.
144 Get local or favored or both on-link prefixes of the Border Router.
165 Get local or favored or both NAT64 prefixes of the Border Router.
278 - Milliseconds since last received Router Advertisement containing this prefix
283 - Flags in received Router Advertisement header:
286 - S: SNAC Router flag
299 Sets additional options to append at the end of emitted Router Advertisement (RA) messages. `<optio…
310 Clear any previously set additional options to append at the end of emitted Router Advertisement (R…
[all …]
DREADME.md157 Show current Primary Backbone Router information for Thread 1.2 device.
203 Only for testing/reference Backbone Router device.
216 Only for testing/reference Backbone Router device.
233 Only for testing/reference Backbone Router device.
284 Enable Backbone Router Service for Thread 1.2 FTD. `SRV_DATA.ntf` would be triggered for attached d…
295 Disable Backbone Router Service for Thread 1.2 FTD. `SRV_DATA.ntf` would be triggered if Backbone R…
304 Register Backbone Router Service for Thread 1.2 FTD. `SRV_DATA.ntf` would be triggered for attached…
315 Show local Backbone Router configuration for Thread 1.2 FTD.
329Router configuration for Thread 1.2 FTD. `bbr register` should be issued explicitly to register Ba…
340 Show jitter (in seconds) for Backbone Router registration for Thread 1.2 FTD.
[all …]
DREADME_HISTORY.md160 - Type: Child or Router
176 | 00:04:51.236 | Router | Added | 865c7ca38a5fa960 | 0x9400 | rdn | -20 |
193 00:04:56.756 -> type:Router event:Added extaddr:865c7ca38a5fa960 rloc16:0x9400 mode:rdn rss:-20
349 - Router ID and RLOC16 of router
350 - Next Hop (Router ID and RLOC16) - `none` if no next hop.
DREADME_NETDATA.md9 Border Router and service information may be stable or temporary. Stable Thread Network Data is dis…
185 - The device is acting as a leader and receives a Network Data registration from a Border Router (B…
/openthread-latest/src/core/border_router/
Drouting_manager.hpp890 struct Router : public Clearable<Router> struct in ot::BorderRouter::RoutingManager::RxRaTracker
966 void Init(const Entry<Router> *aRoutersHead, uint32_t aUptime);
972 … const Entry<Router> *GetRouter(void) const { return static_cast<const Entry<Router> *>(mPtr1); } in GetRouter()
988 void SetRouter(const Entry<Router> *aRouter) { mPtr1 = aRouter; } in SetRouter()
1025 void UpdateFlagsFrom(const Router &aRouter);
1039 …void ProcessRaHeader(const RouterAdvert::Header &aRaHeader, Router &aRouter, RouterAdvOrigin aRaOr…
1040 void ProcessPrefixInfoOption(const PrefixInfoOption &aPio, Router &aRouter);
1041 void ProcessRouteInfoOption(const RouteInfoOption &aRio, Router &aRouter);
1045 void SendNeighborSolicitToRouter(const Router &aRouter);
1056 using RouterList = OwningList<Entry<Router>>;
[all …]
Drouting_manager.cpp1166 Router *router; in ProcessRouterAdvertMessage()
1174 Entry<Router> *newEntry = AllocateEntry<Router>(); in ProcessRouterAdvertMessage()
1226 Router &aRouter, in ProcessRaHeader()
1296 void RoutingManager::RxRaTracker::ProcessPrefixInfoOption(const PrefixInfoOption &aPio, Router &aRo… in ProcessPrefixInfoOption()
1354 void RoutingManager::RxRaTracker::ProcessRouteInfoOption(const RouteInfoOption &aRio, Router &aRout… in ProcessRouteInfoOption()
1416 RoutingManager::RxRaTracker::Entry<RoutingManager::RxRaTracker::Router> *RoutingManager::RxRaTracke… in AllocateEntry()
1419 Entry<Router> *router = mRouterPool.Allocate(); in AllocateEntry()
1446 template <> void RoutingManager::RxRaTracker::Entry<RoutingManager::RxRaTracker::Router>::Free(void) in Free()
1474 for (Router &router : mRouters) in HandleLocalOnLinkPrefixChanged()
1510 for (Router &router : mRouters) in HandleNetDataChange()
[all …]
/openthread-latest/tests/scripts/thread-cert/border_router/
DREADME.md1 # OpenThread Border Router Tests
3 ## Run Border Router (BR) tests locally
/openthread-latest/tools/otci/
DREADME.md11 - [OpenThread Border Router](https://github.com/openthread/ot-br-posix)
49 # Wait for node 2 to become Router
/openthread-latest/tests/scripts/expect/
Dcli-misc.exp42 expect -re {Leader Router ID: \d+}
/openthread-latest/examples/apps/cli/
DREADME.md107 Wait a few seconds and verify that the device has become a Thread Child or Router:
/openthread-latest/tools/harness-thci/
DOpenThread.py213 Thread_Device_Role.Router: 'rdn',
620 Thread_Device_Role.Router,
1142 elif eRoleId == Thread_Device_Role.Router:
1214 if expected_role == Thread_Device_Role.Router:
2282 Thread_Device_Role.Router,
DOpenThread_WpanCtl.py438 elif self.deviceRole == Thread_Device_Role.Router:
453 …if self.deviceRole in [Thread_Device_Role.Leader, Thread_Device_Role.Router, Thread_Device_Role.RE…
1185 elif eRoleId == Thread_Device_Role.Router:
/openthread-latest/src/core/radio/
Dtrel_link.cpp264 for (Router &router : Get<RouterTable>()) in HandleTimer()

12