Searched refs:mRotationTime (Results 1 – 7 of 7) sorted by relevance
149 return GetLength() >= sizeof(mRotationTime) && GetFlagsLength() >= kThread11FlagsLength; in IsValid()157 securityPolicy.mRotationTime = GetRotationTime(); in GetSecurityPolicy()165 SetRotationTime(aSecurityPolicy.mRotationTime); in SetSecurityPolicy()
1003 void SetRotationTime(uint16_t aRotationTime) { mRotationTime = HostSwap16(aRotationTime); } in SetRotationTime()1004 uint16_t GetRotationTime(void) const { return HostSwap16(mRotationTime); } in GetRotationTime()1005 uint8_t GetFlagsLength(void) const { return GetLength() - sizeof(mRotationTime); } in GetFlagsLength()1007 uint16_t mRotationTime; member in ot::MeshCoP::SecurityPolicyTlv
65 mRotationTime = kDefaultKeyRotationTime; in SetToDefault()479 if (aSecurityPolicy.mRotationTime < SecurityPolicy::kMinKeyRotationTime) in SetSecurityPolicy()481 LogNote("Key Rotation Time too small: %d", aSecurityPolicy.mRotationTime); in SetSecurityPolicy()510 if (mHoursSinceKeyRotation >= mSecurityPolicy.mRotationTime) in HandleKeyRotationTimer()
151 uint16_t mRotationTime; ///< The value for thrKeyRotation in units of hours. member
953 OutputFormat("%u ", aSecurityPolicy.mRotationTime); in OutputSecurityPolicy()1008 SuccessOrExit(error = aArgs->ParseAsUint16(policy.mRotationTime)); in ParseSecurityPolicy()
1333 SuccessOrExit(error = mEncoder.WriteUint16(aDataset.mSecurityPolicy.mRotationTime)); in EncodeOperationalDataset()1545 SuccessOrExit(error = mDecoder.ReadUint16(aDataset.mSecurityPolicy.mRotationTime)); in DecodeOperationalDataset()
92 .mRotationTime = 672,