This structure represents a Border Router configuration.

Public Attributes#

The IPv6 prefix.

signed int

A 2-bit signed int preference (OT_ROUTE_PREFERENCE_* values).

bool

Whether prefix is preferred.

bool

Whether prefix can be used for address auto-configuration (SLAAC).

bool

Whether border router is DHCPv6 Agent.

bool

Whether DHCPv6 Agent supplying other config data.

bool

Whether border router is a default router for prefix.

bool

Whether this prefix is considered on-mesh.

bool

Whether this configuration is considered Stable Network Data.

bool

Whether this border router can supply DNS information via ND.

bool

Whether prefix is a Thread Domain Prefix (added since Thread 1.2).

uint16_t

The border router's RLOC16 (value ignored on config add).

Public Attribute Documentation#

mPrefix#

otIp6Prefix otBorderRouterConfig::mPrefix

The IPv6 prefix.


Definition at line 60 of file include/openthread/netdata.h

mPreference#

signed int otBorderRouterConfig::mPreference

A 2-bit signed int preference (OT_ROUTE_PREFERENCE_* values).


Definition at line 61 of file include/openthread/netdata.h

mPreferred#

bool otBorderRouterConfig::mPreferred

Whether prefix is preferred.


Definition at line 62 of file include/openthread/netdata.h

mSlaac#

bool otBorderRouterConfig::mSlaac

Whether prefix can be used for address auto-configuration (SLAAC).


Definition at line 63 of file include/openthread/netdata.h

mDhcp#

bool otBorderRouterConfig::mDhcp

Whether border router is DHCPv6 Agent.


Definition at line 64 of file include/openthread/netdata.h

mConfigure#

bool otBorderRouterConfig::mConfigure

Whether DHCPv6 Agent supplying other config data.


Definition at line 65 of file include/openthread/netdata.h

mDefaultRoute#

bool otBorderRouterConfig::mDefaultRoute

Whether border router is a default router for prefix.


Definition at line 66 of file include/openthread/netdata.h

mOnMesh#

bool otBorderRouterConfig::mOnMesh

Whether this prefix is considered on-mesh.


Definition at line 67 of file include/openthread/netdata.h

mStable#

bool otBorderRouterConfig::mStable

Whether this configuration is considered Stable Network Data.


Definition at line 68 of file include/openthread/netdata.h

mNdDns#

bool otBorderRouterConfig::mNdDns

Whether this border router can supply DNS information via ND.


Definition at line 69 of file include/openthread/netdata.h

mDp#

bool otBorderRouterConfig::mDp

Whether prefix is a Thread Domain Prefix (added since Thread 1.2).


Definition at line 70 of file include/openthread/netdata.h

mRloc16#

uint16_t otBorderRouterConfig::mRloc16

The border router's RLOC16 (value ignored on config add).


Definition at line 71 of file include/openthread/netdata.h