Searched refs:CountBorderRouters (Results 1 – 5 of 5) sorted by relevance
182 VerifyOrQuit(netData.CountBorderRouters(kAnyRole) == GetArrayLength(kRlocs)); in TestNetworkDataIterator()186 VerifyOrQuit(netData.CountBorderRouters(kRouterRoleOnly) == GetArrayLength(kRlocs)); in TestNetworkDataIterator()190 VerifyOrQuit(netData.CountBorderRouters(kChildRoleOnly) == 0); in TestNetworkDataIterator()304 VerifyOrQuit(netData.CountBorderRouters(kAnyRole) == GetArrayLength(kRlocsAnyRole)); in TestNetworkDataIterator()308 … VerifyOrQuit(netData.CountBorderRouters(kRouterRoleOnly) == GetArrayLength(kRlocsRouterRole)); in TestNetworkDataIterator()312 VerifyOrQuit(netData.CountBorderRouters(kChildRoleOnly) == GetArrayLength(kRlocsChildRole)); in TestNetworkDataIterator()481 VerifyOrQuit(netData.CountBorderRouters(kAnyRole) == GetArrayLength(kBrRlocsAnyRole)); in TestNetworkDataIterator()485 … VerifyOrQuit(netData.CountBorderRouters(kRouterRoleOnly) == GetArrayLength(kBrRlocsRouterRole)); in TestNetworkDataIterator()489 … VerifyOrQuit(netData.CountBorderRouters(kChildRoleOnly) == GetArrayLength(kBrRlocsChildRole)); in TestNetworkDataIterator()
315 …VerifyOrExit(Get<Leader>().CountBorderRouters(kRouterRoleOnly) < Mle::kRouterUpgradeBorderRouterRe… in IsEligibleForRouterRoleUpgradeAsBorderRouter()
353 uint8_t CountBorderRouters(RoleFilter aRoleFilter) const;
546 uint8_t NetworkData::CountBorderRouters(RoleFilter aRoleFilter) const in CountBorderRouters() function in ot::NetworkData::NetworkData
3570 (Get<NetworkData::Leader>().CountBorderRouters(NetworkData::kRouterRoleOnly) >= in HandleTmf()