Searched refs:mKeyLease (Results 1 – 10 of 10) sorted by relevance
116 mKeyLease = Min(mKeyLease, kMaxLease); in Init()364 , mKeyLease(0) in Client()1227 mKeyLease = mShouldRemoveKeyLease ? 0 : mDefaultKeyLease; in AppendServiceInstructions()1232 mKeyLease = kUnspecifiedInterval; in AppendServiceInstructions()1256 OT_ASSERT((mKeyLease == kUnspecifiedInterval) || (mKeyLease == keyLease)); in AppendServiceInstructions()1257 mKeyLease = keyLease; in AppendServiceInstructions()1314 mKeyLease = DetermineLeaseInterval(mKeyLease, mDefaultKeyLease); in AppendServiceInstructions()1321 mLease = Min(mLease, mKeyLease); in AppendServiceInstructions()1347 VerifyOrExit((mKeyLease == kUnspecifiedInterval) || (mKeyLease == keyLease)); in CanAppendService()1349 mKeyLease = keyLease; in CanAppendService()[all …]
330 uint32_t GetKeyLease(void) const { return mKeyLease; } in GetKeyLease()409 uint32_t mKeyLease; // In seconds member in ot::Srp::Server::Service494 uint32_t GetKeyLease(void) const { return mKeyLease; } in GetKeyLease()557 void SetKeyLease(uint32_t aKeyLease) { mKeyLease = aKeyLease; } in SetKeyLease()578 uint32_t mKeyLease; // The KEY-LEASE time in seconds. member in ot::Srp::Server::Host
262 if (aHost.mKeyLease == 0) in AdvertiseRemovalOf()273 if (aHost.mKeyLease == 0) in AdvertiseRemovalOf()294 if (aHost.mKeyLease == 0) in AdvertiseRemovalOf()305 if (aHost.mKeyLease == 0) in AdvertiseRemovalOf()355 if (aService.mKeyLease == 0) in AdvertiseRemovalOf()476 bool shouldUnregisterKeys = (aHost.mKeyLease == 0); in Advertise()820 if (aHost.mKeyLease == 0) in CompareAndUpdateHost()
315 aHost->mKeyLease = 0; in RemoveHost()490 service.mKeyLease = grantedKeyLease; in CommitSrpUpdate()1242 service.mKeyLease = leaseOption.GetKeyLeaseInterval(); in ProcessAdditionalSection()1371 service->mKeyLease = existingService.mKeyLease; in HandleUpdate()1805 mKeyLease = 0; in Init()1873 … Server::Service::GetKeyExpireTime(void) const { return mUpdateTime + Time::SecToMsec(mKeyLease); } in GetKeyExpireTime()1881 aLeaseInfo.mKeyLease = Time::SecToMsec(GetKeyLease()); in GetLeaseInfo()1996 , mKeyLease(0) in Host()2046 …lli Server::Host::GetKeyExpireTime(void) const { return mUpdateTime + Time::SecToMsec(mKeyLease); } in GetKeyExpireTime()2054 aLeaseInfo.mKeyLease = Time::SecToMsec(GetKeyLease()); in GetLeaseInfo()[all …]
273 uint32_t GetKeyLease(void) const { return mKeyLease; } in GetKeyLease()1092 uint32_t mKeyLease; member in ot::Srp::Client
114 …uint32_t mKeyLease; ///< Desired key lease interval in sec - zero to use de… member
120 uint32_t mKeyLease; ///< The key lease time of a host/service in milliseconds. member
939 VerifyOrQuit(sUpdateHostLeaseInfo.mKeyLease == 15u * 3600 * 1000); in TestUpdateLeaseShortVariant()973 service1.mKeyLease = 110u * 3600; in TestUpdateLeaseShortVariant()995 VerifyOrQuit(sUpdateHostLeaseInfo.mKeyLease == 100u * 3600 * 1000); in TestUpdateLeaseShortVariant()
474 OutputLine(kIndentSize, "key-lease: %lu", ToUlong(leaseInfo.mKeyLease / 1000)); in Process()
764 SuccessOrExit(error = aArgs[8].ParseAsUint32(entry->mService.mKeyLease)); in ProcessServiceAdd()