mirror of
https://github.com/espressif/openthread.git
synced 2026-07-23 04:24:06 +00:00
[mle] rename mesh local address methods to use Rloc and Eid (#10385)
This commit renames the methods for retrieving mesh local addresses to `GetMeshLocalRloc()` and `GetMeshLocalEid()` (from `GetMeshLocal16()` and `GetMeshLocal64()`, respectively) to align with the terminology used in the Thread specification. Member and local variables are also renamed accordingly.
This commit is contained in:
committed by
GitHub
parent
cba0f5ca2b
commit
3315c44bb3
@@ -145,12 +145,12 @@ exit:
|
||||
|
||||
const otIp6Address *otThreadGetRloc(otInstance *aInstance)
|
||||
{
|
||||
return &AsCoreType(aInstance).Get<Mle::MleRouter>().GetMeshLocal16();
|
||||
return &AsCoreType(aInstance).Get<Mle::MleRouter>().GetMeshLocalRloc();
|
||||
}
|
||||
|
||||
const otIp6Address *otThreadGetMeshLocalEid(otInstance *aInstance)
|
||||
{
|
||||
return &AsCoreType(aInstance).Get<Mle::MleRouter>().GetMeshLocal64();
|
||||
return &AsCoreType(aInstance).Get<Mle::MleRouter>().GetMeshLocalEid();
|
||||
}
|
||||
|
||||
const otMeshLocalPrefix *otThreadGetMeshLocalPrefix(otInstance *aInstance)
|
||||
|
||||
Reference in New Issue
Block a user