[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:
Abtin Keshavarzian
2024-06-14 10:06:25 -07:00
committed by GitHub
parent cba0f5ca2b
commit 3315c44bb3
17 changed files with 76 additions and 76 deletions
+2 -2
View File
@@ -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)