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.


Definition at line 102 of file include/openthread/border_routing.h

mMsecSinceLastUpdate#

uint32_t otBorderRoutingRouterEntry::mMsecSinceLastUpdate

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


Definition at line 103 of file include/openthread/border_routing.h

mAge#

uint32_t otBorderRoutingRouterEntry::mAge

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


Definition at line 104 of file include/openthread/border_routing.h

mManagedAddressConfigFlag#

bool otBorderRoutingRouterEntry::mManagedAddressConfigFlag

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


Definition at line 105 of file include/openthread/border_routing.h

mOtherConfigFlag#

bool otBorderRoutingRouterEntry::mOtherConfigFlag

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


Definition at line 106 of file include/openthread/border_routing.h

mSnacRouterFlag#

bool otBorderRoutingRouterEntry::mSnacRouterFlag

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


Definition at line 107 of file include/openthread/border_routing.h

mIsLocalDevice#

bool otBorderRoutingRouterEntry::mIsLocalDevice

This router is the local device (this BR).


Definition at line 108 of file include/openthread/border_routing.h

mIsReachable#

bool otBorderRoutingRouterEntry::mIsReachable

This router is reachable.


Definition at line 109 of file include/openthread/border_routing.h

mIsPeerBr#

bool otBorderRoutingRouterEntry::mIsPeerBr

This router is (likely) a peer BR.


Definition at line 110 of file include/openthread/border_routing.h