Home
last modified time | relevance | path

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

/openthread-3.7.0/src/core/thread/
Dmle_router.cpp122 const SecurityPolicy &secPolicy = Get<KeyManager>().GetSecurityPolicy(); in IsRouterEligible() local
127 VerifyOrExit(secPolicy.mRoutersEnabled); in IsRouterEligible()
129 if (secPolicy.mCommercialCommissioningEnabled) in IsRouterEligible()
132 VerifyOrExit(mCcmEnabled || secPolicy.mNonCcmRoutersEnabled); in IsRouterEligible()
134 VerifyOrExit(secPolicy.mNonCcmRoutersEnabled); in IsRouterEligible()
137 if (!secPolicy.mRoutersEnabled) in IsRouterEligible()
141secPolicy.mVersionThresholdForRouting + SecurityPolicy::kVersionThresholdOffsetVersion <= in IsRouterEligible()
144 …VerifyOrExit(secPolicy.mVersionThresholdForRouting + SecurityPolicy::kVersionThresholdOffsetVersio… in IsRouterEligible()