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#
mAddress#
otIp6Address otBorderRoutingRouterEntry::mAddress
IPv6 address of the router.
102
of file include/openthread/border_routing.h
mMsecSinceLastUpdate#
uint32_t otBorderRoutingRouterEntry::mMsecSinceLastUpdate
Milliseconds since last update (any message rx) from this router.
103
of file include/openthread/border_routing.h
mAge#
uint32_t otBorderRoutingRouterEntry::mAge
The router's age in seconds (duration since its first discovery).
104
of file include/openthread/border_routing.h
mManagedAddressConfigFlag#
bool otBorderRoutingRouterEntry::mManagedAddressConfigFlag
The router's Managed Address Config flag (M
flag).
105
of file include/openthread/border_routing.h
mOtherConfigFlag#
bool otBorderRoutingRouterEntry::mOtherConfigFlag
The router's Other Config flag (O
flag).
106
of file include/openthread/border_routing.h
mSnacRouterFlag#
bool otBorderRoutingRouterEntry::mSnacRouterFlag
The router's SNAC Router flag (S
flag).
107
of file include/openthread/border_routing.h
mIsLocalDevice#
bool otBorderRoutingRouterEntry::mIsLocalDevice
This router is the local device (this BR).
108
of file include/openthread/border_routing.h
mIsReachable#
bool otBorderRoutingRouterEntry::mIsReachable
This router is reachable.
109
of file include/openthread/border_routing.h
mIsPeerBr#
bool otBorderRoutingRouterEntry::mIsPeerBr
This router is (likely) a peer BR.
110
of file include/openthread/border_routing.h