Searched refs:mRotationTime (Results 1 – 7 of 7) sorted by relevance
150 …return GetLength() >= sizeof(mRotationTime) && GetRotationTime() >= SecurityPolicy::kMinKeyRotatio… in IsValid()159 securityPolicy.mRotationTime = GetRotationTime(); in GetSecurityPolicy()167 SetRotationTime(aSecurityPolicy.mRotationTime); in SetSecurityPolicy()
988 void SetRotationTime(uint16_t aRotationTime) { mRotationTime = HostSwap16(aRotationTime); } in SetRotationTime()989 uint16_t GetRotationTime(void) const { return HostSwap16(mRotationTime); } in GetRotationTime()990 uint8_t GetFlagsLength(void) const { return GetLength() - sizeof(mRotationTime); } in GetFlagsLength()992 uint16_t mRotationTime; member in ot::MeshCoP::SecurityPolicyTlv
61 mRotationTime = kDefaultKeyRotationTime; in SetToDefault()411 OT_ASSERT(aSecurityPolicy.mRotationTime >= SecurityPolicy::kMinKeyRotationTime); in SetSecurityPolicy()440 if (mHoursSinceKeyRotation >= mSecurityPolicy.mRotationTime) in HandleKeyRotationTimer()
136 uint16_t mRotationTime; ///< The value for thrKeyRotation in units of hours. member
733 mInterpreter.OutputFormat("%d ", aSecurityPolicy.mRotationTime); in OutputSecurityPolicy()788 SuccessOrExit(error = aArgs->ParseAsUint16(policy.mRotationTime)); in ParseSecurityPolicy()
709 SuccessOrExit(error = decoder.ReadUint16(opDataset.mSecurityPolicy.mRotationTime)); in ThreadDatasetHandler()
1353 SuccessOrExit(error = mEncoder.WriteUint16(aDataset.mSecurityPolicy.mRotationTime)); in EncodeOperationalDataset()1561 SuccessOrExit(error = mDecoder.ReadUint16(aDataset.mSecurityPolicy.mRotationTime)); in DecodeOperationalDataset()