Home
last modified time | relevance | path

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

/openthread-3.6.0/src/core/thread/
Dnetwork_data_leader_ftd.cpp533 bool Leader::ContainsMatchingServer(const ServiceTlv *aService, const ServerTlv &aServer) in ContainsMatchingServer() argument
545 while ((server = subTlvIterator.Iterate<ServerTlv>(aServer.IsStable())) != nullptr) in ContainsMatchingServer()
547 if (*server == aServer) in ContainsMatchingServer()
883 Error Leader::AddServer(const ServerTlv &aServer, ServiceTlv &aDstService, ChangedFlags &aChangedFl… in AddServer() argument
888 uint8_t tlvSize = aServer.GetSize(); in AddServer()
890 VerifyOrExit(!ContainsMatchingServer(&aDstService, aServer)); in AddServer()
894 aServer.GetServerData(serverData); in AddServer()
898 dstServer->Init(aServer.GetServer16(), serverData); in AddServer()
900 if (aServer.IsStable()) in AddServer()
Dnetwork_data_leader.hpp559 Error AddServer(const ServerTlv &aServer, ServiceTlv &aDstService, ChangedFlags &aChangedFlags);
606 static bool ContainsMatchingServer(const ServiceTlv *aService, const ServerTlv &aServer);
/openthread-3.6.0/tests/unit/
Dtest_srp_server.cpp343 void ValidateHost(Srp::Server &aServer, const char *aHostName) in ValidateHost() argument
353 host = aServer.GetNextHost(nullptr); in ValidateHost()
363 VerifyOrQuit(aServer.GetNextHost(host) == nullptr); in ValidateHost()
Dtest_dns_client.cpp297 void ValidateHost(Srp::Server &aServer, const char *aHostName) in ValidateHost() argument
307 host = aServer.GetNextHost(nullptr); in ValidateHost()
317 VerifyOrQuit(aServer.GetNextHost(host) == nullptr); in ValidateHost()