Searched refs:mHosts (Results 1 – 6 of 6) sorted by relevance
140 TEST_ASSERT(srpServerInfo.mHosts.mFreshCount == 0); in CheckSrpServerInfo()141 TEST_ASSERT(srpServerInfo.mHosts.mDeletedCount == 0); in CheckSrpServerInfo()142 TEST_ASSERT(srpServerInfo.mHosts.mLeaseTimeTotal == 0); in CheckSrpServerInfo()143 TEST_ASSERT(srpServerInfo.mHosts.mKeyLeaseTimeTotal == 0); in CheckSrpServerInfo()144 TEST_ASSERT(srpServerInfo.mHosts.mRemainingLeaseTimeTotal == 0); in CheckSrpServerInfo()145 TEST_ASSERT(srpServerInfo.mHosts.mRemainingKeyLeaseTimeTotal == 0); in CheckSrpServerInfo()
281 return (aHost == nullptr) ? mHosts.GetHead() : aHost->GetNext(); in GetNextHost()290 OT_ASSERT(mHosts.FindMatching(aHost.GetFullName()) == nullptr); in AddHost()291 IgnoreError(mHosts.Add(aHost)); in AddHost()307 IgnoreError(mHosts.Remove(*aHost)); in RemoveHost()336 const Host *existingHost = mHosts.FindMatching(aHost.GetFullName()); in HasNameConflictsWith()350 for (const Host &host : mHosts) in HasNameConflictsWith()444 existingHost = mHosts.FindMatching(aHost.GetFullName()); in CommitSrpUpdate()633 while (!mHosts.IsEmpty()) in Stop()635 RemoveHost(mHosts.GetHead(), kDeleteName, kNotifyServiceHandler); in Stop()1241 existingHost = mHosts.FindMatching(aHost.GetFullName()); in ValidateServiceSubTypes()[all …]
1028 LinkedList<Host> mHosts; member in ot::Srp::Server
562 …Registration mHosts; ///< The registration information of hosts on the SRP serv… member
585 SuccessOrExit(error = DBusMessageEncode(&sub, aSrpServerInfo.mHosts)); in DBusMessageEncode()603 SuccessOrExit(error = DBusMessageExtract(&sub, aSrpServerInfo.mHosts)); in DBusMessageExtract()
1245 ++srpServerInfo.mHosts.mDeletedCount; in GetSrpServerInfoHandler()1249 ++srpServerInfo.mHosts.mFreshCount; in GetSrpServerInfoHandler()1251 srpServerInfo.mHosts.mLeaseTimeTotal += leaseInfo.mLease; in GetSrpServerInfoHandler()1252 srpServerInfo.mHosts.mKeyLeaseTimeTotal += leaseInfo.mKeyLease; in GetSrpServerInfoHandler()1253 srpServerInfo.mHosts.mRemainingLeaseTimeTotal += leaseInfo.mRemainingLease; in GetSrpServerInfoHandler()1254 srpServerInfo.mHosts.mRemainingKeyLeaseTimeTotal += leaseInfo.mRemainingKeyLease; in GetSrpServerInfoHandler()