Update Valid Prefix Set configuration and Border Router TLV. (#316)

This commit is contained in:
Jonathan Hui
2016-08-02 09:42:52 -07:00
committed by GitHub
parent 252f0e06fa
commit 6879e829a7
26 changed files with 147 additions and 108 deletions
+10 -5
View File
@@ -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.
*/