/openthread-latest/src/core/net/ |
D | srp_advertising_proxy.hpp | 73 typedef Server::Service Service; ///< An SRP server service registration. typedef in ot::Srp::AdvertisingProxy 156 void AdvertiseRemovalOf(Service &aService); 268 bool CompareAndUpdateService(Service &aService, Service &aExistingService); 271 void RegisterService(Service &aService); 272 void UnregisterService(Service &aService); 274 void RegisterKey(Service &aService); 280 void UnregisterKey(Service &aService);
|
D | srp_client.hpp | 77 using DnsSrpUnicastInfo = NetworkData::Service::DnsSrpUnicastInfo; 78 using DnsSrpUnicastType = NetworkData::Service::DnsSrpUnicastType; 79 using DnsSrpAnycastInfo = NetworkData::Service::DnsSrpAnycastInfo; 171 class Service : public otSrpClientService, public LinkedListEntry<Service> class in ot::Srp::Client 174 friend class LinkedList<Service>; 291 bool Matches(const Service &aOther) const; 582 Error AddService(Service &aService); 595 Error RemoveService(Service &aService); 610 Error ClearService(Service &aService); 617 const LinkedList<Service> &GetServices(void) const { return mServices; } in GetServices() [all …]
|
D | srp_advertising_proxy.cpp | 113 for (Service &service : host.mServices) in Stop() 170 for (const Service &service : aHost.mServices) in UpdateAdvIdRangeOn() 200 template <> void AdvertisingProxy::UpdateAdvIdRangeOn(Service &aService) in UpdateAdvIdRangeOn() 218 for (Service &service : aHost.mServices) in AdvertiseRemovalOf() 240 for (Service &advService : advHost.mServices) in AdvertiseRemovalOf() 242 Service *service; in AdvertiseRemovalOf() 287 for (Service &service : aHost.mServices) in AdvertiseRemovalOf() 314 void AdvertisingProxy::AdvertiseRemovalOf(Service &aService) in AdvertiseRemovalOf() 330 const Service *advService; in AdvertiseRemovalOf() 480 for (Service &service : aHost.mServices) in Advertise() [all …]
|
D | srp_server.hpp | 114 friend class Service; 181 class Service : public otSrpServerService, class in ot::Srp::Server 182 public LinkedListEntry<Service>, 183 private Heap::Allocatable<Service>, 187 friend class LinkedList<Service>; 188 friend class LinkedListEntry<Service>; 189 friend class Heap::Allocatable<Service>; 397 Service *mNext; 530 const LinkedList<Service> &GetServices(void) const { return mServices; } in GetServices() 539 const Service *GetNextService(const Service *aPrevService) const; [all …]
|
D | srp_server.cpp | 359 for (const Service &service : aHost.mServices) in HasNameConflictsWith() 487 for (Service &service : aHost.mServices) in CommitSrpUpdate() 496 Service::Action action = Service::kAddNew; in CommitSrpUpdate() 500 action = Service::kRemoveButRetainName; in CommitSrpUpdate() 504 action = Service::kUpdateExisting; in CommitSrpUpdate() 517 Service *existingService; in CommitSrpUpdate() 539 existingService->Log(Service::kRemoveButRetainName); in CommitSrpUpdate() 543 existingService->Log(Service::kKeepUnchanged); in CommitSrpUpdate() 998 Service *service; in ProcessServiceDiscoveryInstructions() 1087 for (const Service &service : aHost.mServices) in ProcessServiceDiscoveryInstructions() [all …]
|
D | dnssd.hpp | 107 class Service : public otPlatDnssdService, public Clearable<Service> ///< Service information. class in ot::Dnssd 222 void RegisterService(const Service &aService, RequestId aRequestId, RegisterCallback aCallback); 234 … void UnregisterService(const Service &aService, RequestId aRequestId, RegisterCallback aCallback); 423 DefineCoreType(otPlatDnssdService, Dnssd::Service);
|
D | srp_client.cpp | 104 Error Client::Service::Init(void) in Init() 122 bool Client::Service::SetState(ItemState aState) in SetState() 160 bool Client::Service::Matches(const Service &aOther) const in Matches() 778 Error Client::AddService(Service &aService) in AddService() 794 Error Client::RemoveService(Service &aService) in RemoveService() 797 LinkedList<Service> removedServices; in RemoveService() 808 void Client::UpdateServiceStateToRemove(Service &aService) in UpdateServiceStateToRemove() 816 Error Client::ClearService(Service &aService) in ClearService() 846 for (Service &service : mServices) in RemoveHostAndServices() 932 for (Service &service : mServices) in ChangeHostAndServiceStates() [all …]
|
D | mdns.hpp | 105 typedef otMdnsService Service; ///< Service information. typedef in ot::Dns::Multicast::Core 291 … Error RegisterService(const Service &aService, RequestId aRequestId, RegisterCallback aCallback); 314 Error UnregisterService(const Service &aService); 597 Error GetNextService(Iterator &aIterator, Service &aService, EntryState &aState) const; 1091 Error Init(Instance &aInstance, const Service &aService); 1095 bool Matches(const Service &aService) const; 1101 void Register(const Service &aService, const Callback &aCallback); 1103 void Unregister(const Service &aService); 1114 Error CopyInfoTo(Service &aService, EntryState &aState, EntryIterator &aIterator) const; 1125 bool IsContainedIn(const Service &aService) const; [all …]
|
D | dnssd_server.hpp | 423 bool QueryNameMatchesService(const Srp::Server::Service &aService) const; 424 Error AppendSrvRecord(const Srp::Server::Service &aService); 425 Error AppendTxtRecord(const Srp::Server::Service &aService);
|
D | dnssd.cpp | 118 void Dnssd::RegisterService(const Service &aService, RequestId aRequestId, RegisterCallback aCallba… in RegisterService() 140 void Dnssd::UnregisterService(const Service &aService, RequestId aRequestId, RegisterCallback aCall… in UnregisterService()
|
/openthread-latest/src/core/thread/ |
D | network_data_publisher.cpp | 572 …SuccessOrExit(Get<Service::Manager>().AddDnsSrpAnycastService(mInfo.GetSequenceNumber(), mInfo.Get… in Add() 576 SuccessOrExit(Get<Service::Manager>().AddDnsSrpUnicastServiceWithAddrInServiceData( in Add() 581 SuccessOrExit(Get<Service::Manager>().AddDnsSrpUnicastServiceWithAddrInServerData( in Add() 603 … SuccessOrExit(Get<Service::Manager>().RemoveDnsSrpAnycastService(mInfo.GetSequenceNumber())); in Remove() 607 SuccessOrExit(Get<Service::Manager>().RemoveDnsSrpUnicastServiceWithAddrInServiceData( in Remove() 612 SuccessOrExit(Get<Service::Manager>().RemoveDnsSrpUnicastServiceWithAddrInServerData()); in Remove() 656 CountUnicastEntries(Service::kAddrInServerData, numEntries, numPreferredEntries); in Process() 673 CountUnicastEntries(Service::kAddrInServiceData, numEntries, numPreferredEntries); in Process() 693 Service::Manager::Iterator iterator; in CountAnycastEntries() 694 Service::DnsSrpAnycastInfo anycastInfo; in CountAnycastEntries() [all …]
|
D | network_data.hpp | 80 namespace Service { namespace 112 friend class Service::Manager; 561 friend class Service::Manager;
|
D | address_resolver.cpp | 590 NetworkData::Service::Manager::Iterator iterator; in ResolveUsingNetDataServices() 591 NetworkData::Service::DnsSrpUnicastInfo unicastInfo; in ResolveUsingNetDataServices() 592 NetworkData::Service::DnsSrpUnicastType type = NetworkData::Service::kAddrInServerData; in ResolveUsingNetDataServices() 596 …while (Get<NetworkData::Service::Manager>().GetNextDnsSrpUnicastInfo(iterator, type, unicastInfo) … in ResolveUsingNetDataServices()
|
/openthread-latest/tests/unit/ |
D | test_network_data.cpp | 641 bool Matches(Service::DnsSrpAnycastInfo aInfo) const in TestNetworkDataDsnSrpServices() 658 bool Matches(const Service::DnsSrpUnicastInfo &aInfo) const in TestNetworkDataDsnSrpServices() 717 Service::Manager &manager = instance->Get<Service::Manager>(); in TestNetworkDataDsnSrpServices() 718 Service::Manager::Iterator iterator; in TestNetworkDataDsnSrpServices() 719 Service::DnsSrpAnycastInfo anycastInfo; in TestNetworkDataDsnSrpServices() 720 Service::DnsSrpUnicastInfo unicastInfo; in TestNetworkDataDsnSrpServices() 721 Service::DnsSrpUnicastType type; in TestNetworkDataDsnSrpServices() 775 type = Service::kAddrInServerData; in TestNetworkDataDsnSrpServices() 793 type = Service::kAddrInServiceData; in TestNetworkDataDsnSrpServices() 1014 Service::Manager &manager = instance->Get<Service::Manager>(); in TestNetworkDataDsnSrpAnycastSeqNumSelection() [all …]
|
D | test_srp_server.cpp | 294 void PrepareService1(Srp::Client::Service &aService) in PrepareService1() 325 void PrepareService2(Srp::Client::Service &aService) in PrepareService2() 372 Srp::Client::Service service1; in TestSrpServerBase() 373 Srp::Client::Service service2; in TestSrpServerBase() 497 Srp::Client::Service service1; in TestSrpServerReject() 498 Srp::Client::Service service2; in TestSrpServerReject() 609 Srp::Client::Service service1; in TestSrpServerIgnore() 610 Srp::Client::Service service2; in TestSrpServerIgnore() 721 Srp::Client::Service service1; in TestSrpServerClientRemove() 722 Srp::Client::Service service2; in TestSrpServerClientRemove() [all …]
|
D | test_srp_adv_proxy.cpp | 184 for (const Srp::Client::Service &service : srpClient.GetServices()) in otPlatDnssdRegisterService() 232 for (const Srp::Client::Service &service : srpClient.GetServices()) in otPlatDnssdUnregisterService() 336 … for (const Srp::Client::Service &service : AsCoreType(aInstance).Get<Srp::Client>().GetServices()) in otPlatDnssdRegisterKey() 378 … for (const Srp::Client::Service &service : AsCoreType(aInstance).Get<Srp::Client>().GetServices()) in otPlatDnssdUnregisterKey() 592 void PrepareService1(Srp::Client::Service &aService) in PrepareService1() 623 void PrepareService2(Srp::Client::Service &aService) in PrepareService2() 779 Srp::Client::Service service1; in TestSrpAdvProxy() 780 Srp::Client::Service service2; in TestSrpAdvProxy() 1151 Srp::Client::Service service1; in TestSrpAdvProxyDnssdStateChange() 1152 Srp::Client::Service service2; in TestSrpAdvProxyDnssdStateChange() [all …]
|
D | test_dns_client.cpp | 255 void PrepareService1(Srp::Client::Service &aService) in PrepareService1() 284 void PrepareService2(Srp::Client::Service &aService) in PrepareService2() 565 Srp::Client::Service service1; in TestDnsClient() 566 Srp::Client::Service service2; in TestDnsClient()
|
D | test_mdns.cpp | 444 const Core::Service &aService, in ContainsSrv() 475 const Core::Service &aService, in ContainsTxt() 746 void ValidateAsProbeFor(const Core::Service &aService, bool aUnicastResponse) const in ValidateAsProbeFor() 800 void Validate(const Core::Service &aService, in Validate() 872 …void ValidateSubType(const char *aSubLabel, const Core::Service &aService, GoodBye aIsGoodBye = kN… in ValidateSubType() 2195 Core::Service service; in TestServiceReg() 2486 Core::Service service; in TestUnregisterBeforeProbeFinished() 2621 Core::Service service; in TestServiceSubTypeReg() 2952 Core::Service service; in TestHostOrServiceAndKeyReg() 3306 Core::Service service1; in TestQuery() [all …]
|
/openthread-latest/src/cli/ |
D | README_NETDATA.md | 245 The Network Data Publisher provides mechanisms to limit the number of similar Service and/or Prefix… 257 - `netdata publish dnssrp anycast <seq-num> [<version>]` to publish "DNS/SRP Service Anycast Addres… 258 …ish "DNS/SRP Service Unicast Address" with given address, port number and version info. The addres… 259 - `netdata publish dnssrp unicast <port> [<version>]` to publish "DNS/SRP Service Unicast Address" … 261 …st|unicast] [...]` command will remove and replace any previous "DNS/SRP Service" entry that was b… 369 Service entries are listed under `Services` header: 372 - Service data (as hex bytes) 377 - Service ID 476 Unpublishes DNS/SRP Service entry (available when `OPENTHREAD_CONFIG_TMF_NETDATA_SERVICE_ENABLE` is… 478 - `netdata unpublish dnssrp` to unpublish "DNS/SRP Service" entry (anycast or unciast).
|
D | README_SRP_CLIENT.md | 102 Service list: 113 Service list: 125 Service list: 383 KEY record is optional in Service Description Instruction (it is required and always included in th…
|
/openthread-latest/tests/scripts/thread-cert/ |
D | test_network_data.py | 893 service = network_data.Service( 913 service = network_data.Service( 933 service = network_data.Service( 953 service = network_data.Service( 973 service = network_data.Service( 993 service = network_data.Service( 1013 service = network_data.Service( 1063 network_data.Service( 1080 self.assertTrue(isinstance(actual_service, network_data.Service))
|
D | network_data.py | 406 class Service(NetworkData): class 418 super(Service, self).__init__(stable) 494 return Service(
|
/openthread-latest/src/core/backbone_router/ |
D | bbr_leader.cpp | 77 error = Get<NetworkData::Service::Manager>().GetBackboneRouterServiceId(aServiceId); in GetServiceId() 157 Get<NetworkData::Service::Manager>().GetBackboneRouterPrimary(config); in UpdateBackboneRouterPrimary()
|
D | bbr_local.cpp | 185 SuccessOrExit(error = Get<NetworkData::Service::Manager>().AddBackboneRouterService( in AddService() 200 SuccessOrExit(error = Get<NetworkData::Service::Manager>().RemoveBackboneRouterService()); in RemoveService()
|
/openthread-latest/src/core/utils/ |
D | srp_client_buffers.hpp | 163 …void SetNext(ServiceEntry *aEntry) { mService.mNext = reinterpret_cast<Srp::Client::Service *>(aEn… in SetNext()
|