otBorderRoutingPrefixTableEntry

#include <border_routing.h>

Represents an entry from the discovered prefix table.

Summary

The entries in the discovered table track the Prefix/Route Info Options in the received Router Advertisement messages from other routers on the infrastructure link.

Public attributes

mIsOnLink
bool
Indicates whether the prefix is on-link or route prefix.
mMsecSinceLastUpdate
uint32_t
Milliseconds since last update of this prefix.
mPreferredLifetime
uint32_t
Preferred lifetime of the on-link prefix when mIsOnLink.
mPrefix
The discovered IPv6 prefix.
mRoutePreference
Route preference when mIsOnlink is false.
mRouter
Information about the router advertising this prefix.
mValidLifetime
uint32_t
Valid lifetime of the prefix (in seconds).

Public attributes

bool otBorderRoutingPrefixTableEntry::mIsOnLink

Indicates whether the prefix is on-link or route prefix.

mMsecSinceLastUpdate

uint32_t otBorderRoutingPrefixTableEntry::mMsecSinceLastUpdate

Milliseconds since last update of this prefix.

mPreferredLifetime

uint32_t otBorderRoutingPrefixTableEntry::mPreferredLifetime

Preferred lifetime of the on-link prefix when mIsOnLink.

mPrefix

otIp6Prefix otBorderRoutingPrefixTableEntry::mPrefix

The discovered IPv6 prefix.

mRoutePreference

otRoutePreference otBorderRoutingPrefixTableEntry::mRoutePreference

Route preference when mIsOnlink is false.

mRouter

otBorderRoutingRouterEntry otBorderRoutingPrefixTableEntry::mRouter

Information about the router advertising this prefix.

mValidLifetime

uint32_t otBorderRoutingPrefixTableEntry::mValidLifetime

Valid lifetime of the prefix (in seconds).

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.