Apply realm-local scope to mesh-local addresses for source address selection. (#1000)

This commit is contained in:
Jonathan Hui
2016-11-22 08:43:22 -08:00
committed by GitHub
parent 484172cc14
commit b1c19ed091
4 changed files with 27 additions and 9 deletions
+7 -5
View File
@@ -897,11 +897,13 @@ typedef struct otBufferInfo
*/
typedef struct otNetifAddress
{
otIp6Address mAddress; ///< The IPv6 unicast address.
uint32_t mPreferredLifetime; ///< The Preferred Lifetime.
uint32_t mValidLifetime; ///< The Valid lifetime.
uint8_t mPrefixLength; ///< The Prefix length.
struct otNetifAddress *mNext; ///< A pointer to the next network interface address.
otIp6Address mAddress; ///< The IPv6 unicast address.
uint32_t mPreferredLifetime; ///< The Preferred Lifetime.
uint32_t mValidLifetime; ///< The Valid lifetime.
uint8_t mPrefixLength; ///< The Prefix length.
unsigned int mScopeOverride : 4; ///< The IPv6 scope of this address.
bool mScopeOverrideValid : 1; ///< TRUE if the mScopeOverride value is valid, FALSE othewrise.
struct otNetifAddress *mNext; ///< A pointer to the next network interface address.
} otNetifAddress;
/**