otBorderRoutingRouterEntry
#include <border_routing.h>
Represents a discovered router on the infrastructure link.
Summary
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 |
|
---|---|
mAddress
|
IPv6 address of the router.
|
mAge
|
uint32_t
The router's age in seconds (duration since its first discovery).
|
mIsLocalDevice
|
bool
This router is the local device (this BR).
|
mIsPeerBr
|
bool
This router is (likely) a peer BR.
|
mIsReachable
|
bool
This router is reachable.
|
mManagedAddressConfigFlag
|
bool
The router's Managed Address Config flag (
M flag). |
mMsecSinceLastUpdate
|
uint32_t
Milliseconds since last update (any message rx) from this router.
|
mOtherConfigFlag
|
bool
The router's Other Config flag (
O flag). |
mSnacRouterFlag
|
bool
The router's SNAC Router flag (
S flag). |
Public attributes
mAge
uint32_t otBorderRoutingRouterEntry::mAge
The router's age in seconds (duration since its first discovery).
mIsLocalDevice
bool otBorderRoutingRouterEntry::mIsLocalDevice
This router is the local device (this BR).
mIsPeerBr
bool otBorderRoutingRouterEntry::mIsPeerBr
This router is (likely) a peer BR.
mIsReachable
bool otBorderRoutingRouterEntry::mIsReachable
This router is reachable.
mManagedAddressConfigFlag
bool otBorderRoutingRouterEntry::mManagedAddressConfigFlag
The router's Managed Address Config flag (M
flag).
mMsecSinceLastUpdate
uint32_t otBorderRoutingRouterEntry::mMsecSinceLastUpdate
Milliseconds since last update (any message rx) from this router.
mOtherConfigFlag
bool otBorderRoutingRouterEntry::mOtherConfigFlag
The router's Other Config flag (O
flag).
mSnacRouterFlag
bool otBorderRoutingRouterEntry::mSnacRouterFlag
The router's SNAC Router flag (S
flag).
Resources
OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.