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.

uint32_t

Milliseconds since last update (any message rx) from this router.

uint32_t

The router's age in seconds (duration since its first discovery).

bool

The router's Managed Address Config flag (M flag).

bool

The router's Other Config flag (O flag).

bool

The router's SNAC Router flag (S flag).

bool

This router is the local device (this BR).

bool

This router is reachable.

bool

This router is (likely) a peer BR.

Public Attribute Documentation#

mAddress#

otIp6Address otBorderRoutingRouterEntry::mAddress

IPv6 address of the router.


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).


mIsReachable#

bool otBorderRoutingRouterEntry::mIsReachable

This router is reachable.


mIsPeerBr#

bool otBorderRoutingRouterEntry::mIsPeerBr

This router is (likely) a peer BR.