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 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 is true.
mPrefix
The discovered IPv6 prefix.
mRoutePreference
Route preference when mIsOnlink is false.
mRouterAddress
IPv6 address of the router.
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 is true.

mPrefix

otIp6Prefix otBorderRoutingPrefixTableEntry::mPrefix

The discovered IPv6 prefix.

mRoutePreference

otRoutePreference otBorderRoutingPrefixTableEntry::mRoutePreference

Route preference when mIsOnlink is false.

mRouterAddress

otIp6Address otBorderRoutingPrefixTableEntry::mRouterAddress

IPv6 address of the router.

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.