Represents information about a discovered router on an Adjacent Infrastructure Link (AIL).

This applies when a device is acting as a Border Router, processing received Router Advertisements and tracking information about discovered AIL routers.

mProvidesDefaultRoute indicates whether the router provides a default route. If it does, mDefRoutePreference specifies the route preference.

mFavoredOnLinkPrefix indicates the favored on-link prefix advertised by the router. If there is no on-link prefix, this will be an empty prefix (i.e., its length will be zero).

Public Attributes#

The event type (e.g., added, changed, removed).

int8_t

Def route preference.

The IPv6 address of the AIL router.

The favored on-link prefix, if any.

bool

Whether the router provides a default route.

bool

The Managed Address Config flag (M flag).

bool

The Other Config flag (O flag).

bool

The 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#

mEvent#

otHistoryTrackerAilRouterEvent otHistoryTrackerAilRouter::mEvent

The event type (e.g., added, changed, removed).


mDefRoutePreference#

int8_t otHistoryTrackerAilRouter::mDefRoutePreference

Def route preference.


mAddress#

otIp6Address otHistoryTrackerAilRouter::mAddress

The IPv6 address of the AIL router.


mFavoredOnLinkPrefix#

otIp6Prefix otHistoryTrackerAilRouter::mFavoredOnLinkPrefix

The favored on-link prefix, if any.


mProvidesDefaultRoute#

bool otHistoryTrackerAilRouter::mProvidesDefaultRoute

Whether the router provides a default route.


mManagedAddressConfigFlag#

bool otHistoryTrackerAilRouter::mManagedAddressConfigFlag

The Managed Address Config flag (M flag).


mOtherConfigFlag#

bool otHistoryTrackerAilRouter::mOtherConfigFlag

The Other Config flag (O flag).


mSnacRouterFlag#

bool otHistoryTrackerAilRouter::mSnacRouterFlag

The SNAC Router flag (S flag).


mIsLocalDevice#

bool otHistoryTrackerAilRouter::mIsLocalDevice

This router is the local device (this BR).


mIsReachable#

bool otHistoryTrackerAilRouter::mIsReachable

This router is reachable.


mIsPeerBr#

bool otHistoryTrackerAilRouter::mIsPeerBr

This router is (likely) a peer BR.