Represents a discovered router on the infrastructure link.
The mIsPeerBr
field requires OPENTHREAD_CONFIG_BORDER_ROUTING_TRACK_PEER_BR_INFO_ENABLE
. Routing Manager determines whether the router is a peer BR (connected to the same Thread mesh network) by comparing its advertised PIO/RIO prefixes with the entries in the Thread Network Data. While this method is generally effective, it may not be 100% accurate in all scenarios, so the mIsPeerBr
flag should be used with caution.
Public Attributes#
IPv6 address of the router.
Milliseconds since last update (any message rx) from this router.
The router's age in seconds (duration since its first discovery).
The router's Managed Address Config flag (M
flag).
The router's Other Config flag (O
flag).
The router's SNAC Router flag (S
flag).
This router is the local device (this BR).
This router is reachable.
This router is (likely) a peer BR.
Public Attribute Documentation#
mMsecSinceLastUpdate#
uint32_t otBorderRoutingRouterEntry::mMsecSinceLastUpdate
Milliseconds since last update (any message rx) from this router.
mAge#
uint32_t otBorderRoutingRouterEntry::mAge
The router's age in seconds (duration since its first discovery).
mManagedAddressConfigFlag#
bool otBorderRoutingRouterEntry::mManagedAddressConfigFlag
The router's Managed Address Config flag (M
flag).
mOtherConfigFlag#
bool otBorderRoutingRouterEntry::mOtherConfigFlag
The router's Other Config flag (O
flag).
mSnacRouterFlag#
bool otBorderRoutingRouterEntry::mSnacRouterFlag
The router's SNAC Router flag (S
flag).
mIsLocalDevice#
bool otBorderRoutingRouterEntry::mIsLocalDevice
This router is the local device (this BR).