Searched refs:Srp (Results 1 – 15 of 15) sorted by relevance
49 return instance.Get<Srp::Server>().GetDomain(); in otSrpServerGetDomain()56 return instance.Get<Srp::Server>().SetDomain(aDomain); in otSrpServerSetDomain()63 return static_cast<otSrpServerState>(instance.Get<Srp::Server>().GetState()); in otSrpServerGetState()70 instance.Get<Srp::Server>().SetEnabled(aEnabled); in otSrpServerSetEnabled()77 …instance.Get<Srp::Server>().GetLeaseConfig(static_cast<Srp::Server::LeaseConfig &>(*aLeaseConfig)); in otSrpServerGetLeaseConfig()84 …return instance.Get<Srp::Server>().SetLeaseConfig(static_cast<const Srp::Server::LeaseConfig &>(*a… in otSrpServerSetLeaseConfig()93 instance.Get<Srp::Server>().SetServiceHandler(aServiceHandler, aContext); in otSrpServerSetServiceUpdateHandler()100 instance.Get<Srp::Server>().HandleServiceUpdateResult(aId, aError); in otSrpServerHandleServiceUpdateResult()107 return instance.Get<Srp::Server>().GetNextHost(static_cast<const Srp::Server::Host *>(aHost)); in otSrpServerGetNextHost()112 return static_cast<const Srp::Server::Host *>(aHost)->IsDeleted(); in otSrpServerHostIsDeleted()[all …]
50 return instance.Get<Srp::Client>().Start(*static_cast<const Ip6::SockAddr *>(aServerSockAddr)); in otSrpClientStart()57 return instance.Get<Srp::Client>().Stop(); in otSrpClientStop()64 return instance.Get<Srp::Client>().IsRunning(); in otSrpClientIsRunning()71 return &instance.Get<Srp::Client>().GetServerAddress(); in otSrpClientGetServerAddress()78 instance.Get<Srp::Client>().SetCallback(aCallback, aContext); in otSrpClientSetCallback()86 instance.Get<Srp::Client>().EnableAutoStartMode(aCallback, aContext); in otSrpClientEnableAutoStartMode()93 instance.Get<Srp::Client>().DisableAutoStartMode(); in otSrpClientDisableAutoStartMode()100 return instance.Get<Srp::Client>().IsAutoStartModeEnabled(); in otSrpClientIsAutoStartModeEnabled()108 return instance.Get<Srp::Client>().GetLeaseInterval(); in otSrpClientGetLeaseInterval()115 return instance.Get<Srp::Client>().SetLeaseInterval(aInterval); in otSrpClientSetLeaseInterval()[all …]
357 const Srp::Server::Host * GetNextSrpHost(const Srp::Server::Host *aHost);358 static const Srp::Server::Service *GetNextSrpService(const Srp::Server::Host & aHost,359 const Srp::Server::Service *aService);
675 const Srp::Server::Host *host = nullptr; in ResolveQuestionBySrp()688 const Srp::Server::Service *service = nullptr; in ResolveQuestionBySrp()759 const Srp::Server::Host *Server::GetNextSrpHost(const Srp::Server::Host *aHost) in GetNextSrpHost()761 const Srp::Server::Host *host = Get<Srp::Server>().GetNextHost(aHost); in GetNextSrpHost()765 host = Get<Srp::Server>().GetNextHost(host); in GetNextSrpHost()771 const Srp::Server::Service *Server::GetNextSrpService(const Srp::Server::Host & aHost, in GetNextSrpService()772 const Srp::Server::Service *aService) in GetNextSrpService()774 return aHost.FindNextService(aService, Srp::Server::kFlagsAnyTypeActiveService); in GetNextSrpService()
93 namespace Srp { namespace105 friend class ot::Srp::Client;
56 namespace Srp { namespace
626 const Ip6::Address &srpServerAddr = Get<Srp::Client>().GetServerAddress().GetAddress(); in UpdateDefaultConfigAddress()628 if (!mUserDidSetDefaultAddress && Get<Srp::Client>().IsServerSelectedByAutoStart() && in UpdateDefaultConfigAddress()
71 namespace Srp { namespace
50 namespace Srp { namespace
47 namespace Srp { namespace
214 Srp::Client mSrpClient;292 Srp::Server mSrpServer;
678 Get<Srp::Server>().HandleNetDataPublisherEvent(aEvent); in Notify()
174 …void SetNext(ServiceEntry *aEntry) { mService.mNext = reinterpret_cast<Srp::Client::Service *>(aEn… in SetNext()
735 template <> inline Srp::Client &Instance::Get(void) in Get()946 template <> inline Srp::Server &Instance::Get(void) in Get()
190 Get<Srp::Client>().HandleNotifierEvents(events); in EmitEvents()