[ip6] rename aEui64 to aExtAddress (#3171)

This commit is contained in:
Jonathan Hui
2018-10-16 19:58:50 -07:00
committed by GitHub
parent 71b90a6764
commit b13f22c03e
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -161,9 +161,9 @@ void Address::SetIid(const uint8_t *aIid)
memcpy(mFields.m8 + kInterfaceIdentifierOffset, aIid, kInterfaceIdentifierSize);
}
void Address::SetIid(const Mac::ExtAddress &aEui64)
void Address::SetIid(const Mac::ExtAddress &aExtAddress)
{
memcpy(mFields.m8 + kInterfaceIdentifierOffset, aEui64.m8, kInterfaceIdentifierSize);
memcpy(mFields.m8 + kInterfaceIdentifierOffset, aExtAddress.m8, kInterfaceIdentifierSize);
mFields.m8[kInterfaceIdentifierOffset] ^= 0x02;
}
+2 -2
View File
@@ -297,10 +297,10 @@ public:
/**
* This method sets the Interface Identifier.
*
* @param[in] aEui64 A reference to the IEEE EUI-64 address.
* @param[in] aExtAddress A reference to the extended address.
*
*/
void SetIid(const Mac::ExtAddress &aEui64);
void SetIid(const Mac::ExtAddress &aExtAddress);
/**
* This method converts the IPv6 Interface Identifier to an IEEE 802.15.4 Extended Address.