otHistoryTrackerFavoredOmrPrefix

#include <history_tracker.h>

Represents a favored OMR prefix tracked by a device acting as a Border Router (BR).

Summary

The mIsLocal field indicates whether the favored OMR prefix is the same as the local one maintained by this BR. The local OMR prefix can be either based on (random) ULA or a prefix delegated via DHCPv6-PD.

Public attributes

mIsLocal
bool
true if the prefix is the local OMR prefix; false otherwise.
mOmrPrefix
The OMR prefix.
mPreference
signed int
The 2-bit signed preference (OT_ROUTE_PREFERENCE_* values).

Public attributes

mIsLocal

bool otHistoryTrackerFavoredOmrPrefix::mIsLocal

true if the prefix is the local OMR prefix; false otherwise.

mOmrPrefix

otIp6Prefix otHistoryTrackerFavoredOmrPrefix::mOmrPrefix

The OMR prefix.

mPreference

signed int otHistoryTrackerFavoredOmrPrefix::mPreference

The 2-bit signed preference (OT_ROUTE_PREFERENCE_* values).

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.