ESP-IDF
ot::Router::GetNextHop() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (3/5)...
Files
loading (4/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Router::GetNextHop() const
ot::Router::GetNextHop() const method
Gets the router ID of the next hop to this router.
Syntax
Show:
Summary
Declaration
from
router.hpp:94
uint8_t
GetNextHop
(
void
)
const
;
Return value
The router ID of the next hop to this router.
Examples
References
from
examples
Code
Location
Scope
Referrer
uint8_t
GetNextHop
(
void
)
const
{
return
mNextHop
;
}
router.hpp:94
if
(
routerId
!=
mRouterId
&&
!
IsRouterIdValid
(
router
->
GetNextHop
(
)
)
)
mle_router.cpp:992
ot::Mle::MleRouter
ot::Mle::MleRouter::HandleLinkAccept()
mNextHop
=
aRouter
.
GetNextHop
(
)
;
router.cpp:47
ot::Router::Info
ot::Router::Info::SetFrom()
if
(
aRouter
.
GetNextHop
(
)
==
Mle
::
kInvalidRouterId
)
router_table.cpp:245
ot::RouterTable
ot::RouterTable::RemoveRouterLink()
const
Router
*
RouterTable
::
FindNextHopOf
(
const
Router
&
aRouter
)
const
{
return
FindRouterById
(
aRouter
.
GetNextHop
(
)
)
;
}
router_table.cpp:298
ot::RouterTable
ot::RouterTable::FindNextHopOf() const
Call Tree
from
examples
ot::Router::GetNextHop() const
is called by 4 functions:
ot::Mle::MleRouter::HandleLinkAccept()
ot::Router::Info::SetFrom()
ot::RouterTable::RemoveRouterLink()
ot::RouterTable::FindNextHopOf() const
All items filtered out
ot::Router::GetNextHop() const
All items filtered out
Data Use
from
examples
ot::Router::GetNextHop() const
reads 1 variable:
ot::Router::mNextHop
All items filtered out
ot::Router::GetNextHop() const
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out