Home
last modified time | relevance | path

Searched refs:Srp (Results 1 – 15 of 15) sorted by relevance

/openthread-2.7.6/src/core/api/
Dsrp_server_api.cpp49 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 …]
Dsrp_client_api.cpp50 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 …]
/openthread-2.7.6/src/core/net/
Ddnssd_server.hpp357 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);
Ddnssd_server.cpp675 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()
Ddns_client.hpp93 namespace Srp { namespace
105 friend class ot::Srp::Client;
Dsrp_client.hpp56 namespace Srp { namespace
Ddns_client.cpp626 const Ip6::Address &srpServerAddr = Get<Srp::Client>().GetServerAddress().GetAddress(); in UpdateDefaultConfigAddress()
628 if (!mUserDidSetDefaultAddress && Get<Srp::Client>().IsServerSelectedByAutoStart() && in UpdateDefaultConfigAddress()
Dsrp_server.hpp71 namespace Srp { namespace
Dsrp_client.cpp50 namespace Srp { namespace
Dsrp_server.cpp47 namespace Srp { namespace
/openthread-2.7.6/src/core/thread/
Dthread_netif.hpp214 Srp::Client mSrpClient;
292 Srp::Server mSrpServer;
Dnetwork_data_publisher.cpp678 Get<Srp::Server>().HandleNetDataPublisherEvent(aEvent); in Notify()
/openthread-2.7.6/src/core/utils/
Dsrp_client_buffers.hpp174 …void SetNext(ServiceEntry *aEntry) { mService.mNext = reinterpret_cast<Srp::Client::Service *>(aEn… in SetNext()
/openthread-2.7.6/src/core/common/
Dinstance.hpp735 template <> inline Srp::Client &Instance::Get(void) in Get()
946 template <> inline Srp::Server &Instance::Get(void) in Get()
Dnotifier.cpp190 Get<Srp::Client>().HandleNotifierEvents(events); in EmitEvents()