otHistoryTrackerAilRouter
#include <history_tracker.h>
Represents information about a discovered router on an Adjacent Infrastructure Link (AIL).
Summary
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 |
|
---|---|
mAddress
|
The IPv6 address of the AIL router.
|
mDefRoutePreference
|
int8_t
Def route preference.
|
mEvent
|
The event type (e.g., added, changed, removed).
|
mFavoredOnLinkPrefix
|
The favored on-link prefix, if any.
|
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 Managed Address Config flag (
M flag). |
mOtherConfigFlag
|
bool
The Other Config flag (
O flag). |
mProvidesDefaultRoute
|
bool
Whether the router provides a default route.
|
mSnacRouterFlag
|
bool
The SNAC Router flag (
S flag). |
Public attributes
mDefRoutePreference
int8_t otHistoryTrackerAilRouter::mDefRoutePreference
Def route preference.
mEvent
otHistoryTrackerAilRouterEvent otHistoryTrackerAilRouter::mEvent
The event type (e.g., added, changed, removed).
mFavoredOnLinkPrefix
otIp6Prefix otHistoryTrackerAilRouter::mFavoredOnLinkPrefix
The favored on-link prefix, if any.
mIsLocalDevice
bool otHistoryTrackerAilRouter::mIsLocalDevice
This router is the local device (this BR).
mIsPeerBr
bool otHistoryTrackerAilRouter::mIsPeerBr
This router is (likely) a peer BR.
mIsReachable
bool otHistoryTrackerAilRouter::mIsReachable
This router is reachable.
mManagedAddressConfigFlag
bool otHistoryTrackerAilRouter::mManagedAddressConfigFlag
The Managed Address Config flag (M
flag).
mOtherConfigFlag
bool otHistoryTrackerAilRouter::mOtherConfigFlag
The Other Config flag (O
flag).
mProvidesDefaultRoute
bool otHistoryTrackerAilRouter::mProvidesDefaultRoute
Whether the router provides a default route.
mSnacRouterFlag
bool otHistoryTrackerAilRouter::mSnacRouterFlag
The 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.