Home
last modified time | relevance | path

Searched refs:aMaxRouterId (Results 1 – 4 of 4) sorted by relevance

/openthread-latest/src/core/api/
Dthread_ftd_api.cpp372 void otThreadGetRouterIdRange(otInstance *aInstance, uint8_t *aMinRouterId, uint8_t *aMaxRouterId) in otThreadGetRouterIdRange() argument
375 AssertPointerIsNotNull(aMaxRouterId); in otThreadGetRouterIdRange()
377 AsCoreType(aInstance).Get<RouterTable>().GetRouterIdRange(*aMinRouterId, *aMaxRouterId); in otThreadGetRouterIdRange()
380 otError otThreadSetRouterIdRange(otInstance *aInstance, uint8_t aMinRouterId, uint8_t aMaxRouterId) in otThreadSetRouterIdRange() argument
382 return AsCoreType(aInstance).Get<RouterTable>().SetRouterIdRange(aMinRouterId, aMaxRouterId); in otThreadSetRouterIdRange()
/openthread-latest/src/core/thread/
Drouter_table.cpp834 void RouterTable::GetRouterIdRange(uint8_t &aMinRouterId, uint8_t &aMaxRouterId) const in GetRouterIdRange()
837 aMaxRouterId = mMaxRouterId; in GetRouterIdRange()
840 Error RouterTable::SetRouterIdRange(uint8_t aMinRouterId, uint8_t aMaxRouterId) in SetRouterIdRange() argument
844 VerifyOrExit(aMinRouterId <= aMaxRouterId, error = kErrorInvalidArgs); in SetRouterIdRange()
845 VerifyOrExit(aMaxRouterId <= Mle::kMaxRouterId, error = kErrorInvalidArgs); in SetRouterIdRange()
847 mMaxRouterId = aMaxRouterId; in SetRouterIdRange()
Drouter_table.hpp380 void GetRouterIdRange(uint8_t &aMinRouterId, uint8_t &aMaxRouterId) const;
393 Error SetRouterIdRange(uint8_t aMinRouterId, uint8_t aMaxRouterId);
/openthread-latest/include/openthread/
Dthread_ftd.h850 void otThreadGetRouterIdRange(otInstance *aInstance, uint8_t *aMinRouterId, uint8_t *aMaxRouterId);
867 otError otThreadSetRouterIdRange(otInstance *aInstance, uint8_t aMinRouterId, uint8_t aMaxRouterId);