Home
last modified time | relevance | path

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

/openthread-3.4.0/src/core/thread/
Dnetwork_data_leader_ftd.cpp618 bool Leader::ContainsMatchingServer(const ServiceTlv *aService, const ServerTlv &aServer) in ContainsMatchingServer() argument
630 while ((server = subTlvIterator.Iterate<ServerTlv>(aServer.IsStable())) != nullptr) in ContainsMatchingServer()
632 if (*server == aServer) in ContainsMatchingServer()
912 Error Leader::AddServer(const ServerTlv &aServer, ServiceTlv &aDstService, ChangedFlags &aChangedFl… in AddServer() argument
917 uint8_t tlvSize = aServer.GetSize(); in AddServer()
919 VerifyOrExit(!ContainsMatchingServer(&aDstService, aServer)); in AddServer()
923 aServer.GetServerData(serverData); in AddServer()
927 dstServer->Init(aServer.GetServer16(), serverData); in AddServer()
929 if (aServer.IsStable()) in AddServer()
Dnetwork_data_leader_ftd.hpp271 Error AddServer(const ServerTlv &aServer, ServiceTlv &aDstService, ChangedFlags &aChangedFlags);
318 static bool ContainsMatchingServer(const ServiceTlv *aService, const ServerTlv &aServer);
/openthread-3.4.0/tests/unit/
Dtest_srp_server.cpp332 void ValidateHost(Srp::Server &aServer, const char *aHostName) in ValidateHost() argument
342 host = aServer.GetNextHost(nullptr); in ValidateHost()
352 VerifyOrQuit(aServer.GetNextHost(host) == nullptr); in ValidateHost()
Dtest_dns_client.cpp283 void ValidateHost(Srp::Server &aServer, const char *aHostName) in ValidateHost() argument
293 host = aServer.GetNextHost(nullptr); in ValidateHost()
303 VerifyOrQuit(aServer.GetNextHost(host) == nullptr); in ValidateHost()