mirror of
https://github.com/espressif/openthread.git
synced 2026-09-17 14:40:07 +00:00
Update Valid Prefix Set configuration and Border Router TLV. (#316)
This commit is contained in:
@@ -311,7 +311,7 @@ typedef struct otIp6Prefix
|
||||
typedef struct otBorderRouterConfig
|
||||
{
|
||||
/**
|
||||
* TRUE, if this border router is a DHCPv6 Agent that supplies other configuration data. FALSE, otherwise.
|
||||
* The IPv6 prefix.
|
||||
*/
|
||||
otIp6Prefix mPrefix;
|
||||
|
||||
@@ -321,14 +321,14 @@ typedef struct otBorderRouterConfig
|
||||
int mPreference : 2;
|
||||
|
||||
/**
|
||||
* TRUE, if @p mPrefix is preferred and should e used for address autoconfiguration. FALSE, otherwise.
|
||||
* TRUE, if @p mPrefix is preferred. FALSE, otherwise.
|
||||
*/
|
||||
bool mSlaacPreferred : 1;
|
||||
bool mPreferred : 1;
|
||||
|
||||
/**
|
||||
* TRUE, if @p mPrefix is valid and should be used for address autoconfiguration. FALSE, otherwise.
|
||||
* TRUE, if @p mPrefix should be used for address autoconfiguration. FALSE, otherwise.
|
||||
*/
|
||||
bool mSlaacValid : 1;
|
||||
bool mSlaac : 1;
|
||||
|
||||
/**
|
||||
* TRUE, if this border router is a DHCPv6 Agent that supplies IPv6 address configuration. FALSE, otherwise.
|
||||
@@ -345,6 +345,11 @@ typedef struct otBorderRouterConfig
|
||||
*/
|
||||
bool mDefaultRoute : 1;
|
||||
|
||||
/**
|
||||
* TRUE, if this prefix is considered on-mesh. FALSE, otherwise.
|
||||
*/
|
||||
bool mOnMesh : 1;
|
||||
|
||||
/**
|
||||
* TRUE, if this configuration is considered Stable Network Data. FALSE, otherwise.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user