mirror of
https://github.com/espressif/openthread.git
synced 2026-09-02 23:30:07 +00:00
[ip6] rename aEui64 to aExtAddress (#3171)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user