/openthread-2.7.6/src/core/api/ |
D | srp_server_api.cpp | 128 const otSrpServerService *aService) in otSrpServerHostGetNextService() argument 132 return host->FindNextService(static_cast<const Srp::Server::Service *>(aService), in otSrpServerHostGetNextService() 148 bool otSrpServerServiceIsDeleted(const otSrpServerService *aService) in otSrpServerServiceIsDeleted() argument 150 return static_cast<const Srp::Server::Service *>(aService)->IsDeleted(); in otSrpServerServiceIsDeleted() 153 bool otSrpServerServiceIsSubType(const otSrpServerService *aService) in otSrpServerServiceIsSubType() argument 155 return static_cast<const Srp::Server::Service *>(aService)->IsSubType(); in otSrpServerServiceIsSubType() 158 const char *otSrpServerServiceGetFullName(const otSrpServerService *aService) in otSrpServerServiceGetFullName() argument 160 return static_cast<const Srp::Server::Service *>(aService)->GetInstanceName(); in otSrpServerServiceGetFullName() 163 const char *otSrpServerServiceGetInstanceName(const otSrpServerService *aService) in otSrpServerServiceGetInstanceName() argument 165 return static_cast<const Srp::Server::Service *>(aService)->GetInstanceName(); in otSrpServerServiceGetInstanceName() [all …]
|
D | srp_client_api.cpp | 154 otError otSrpClientAddService(otInstance *aInstance, otSrpClientService *aService) in otSrpClientAddService() argument 158 return instance.Get<Srp::Client>().AddService(*static_cast<Srp::Client::Service *>(aService)); in otSrpClientAddService() 161 otError otSrpClientRemoveService(otInstance *aInstance, otSrpClientService *aService) in otSrpClientRemoveService() argument 165 … return instance.Get<Srp::Client>().RemoveService(*static_cast<Srp::Client::Service *>(aService)); in otSrpClientRemoveService() 168 otError otSrpClientClearService(otInstance *aInstance, otSrpClientService *aService) in otSrpClientClearService() argument 172 return instance.Get<Srp::Client>().ClearService(*static_cast<Srp::Client::Service *>(aService)); in otSrpClientClearService()
|
D | srp_client_buffers_api.cpp | 67 void otSrpClientBuffersFreeService(otInstance *aInstance, otSrpClientBuffersServiceEntry *aService) in otSrpClientBuffersFreeService() argument 72 *static_cast<Utils::SrpClientBuffers::ServiceEntry *>(aService)); in otSrpClientBuffersFreeService()
|
/openthread-2.7.6/include/openthread/ |
D | srp_server.h | 356 const otSrpServerService *aService); 408 bool otSrpServerServiceIsDeleted(const otSrpServerService *aService); 418 bool otSrpServerServiceIsSubType(const otSrpServerService *aService); 431 const char *otSrpServerServiceGetFullName(const otSrpServerService *aService); 441 const char *otSrpServerServiceGetInstanceName(const otSrpServerService *aService); 451 const char *otSrpServerServiceGetServiceName(const otSrpServerService *aService); 474 otError otSrpServerServiceGetServiceSubTypeLabel(const otSrpServerService *aService, char *aLabel, … 484 uint16_t otSrpServerServiceGetPort(const otSrpServerService *aService); 494 uint16_t otSrpServerServiceGetWeight(const otSrpServerService *aService); 504 uint16_t otSrpServerServiceGetPriority(const otSrpServerService *aService); [all …]
|
D | srp_client.h | 454 otError otSrpClientAddService(otInstance *aInstance, otSrpClientService *aService); 475 otError otSrpClientRemoveService(otInstance *aInstance, otSrpClientService *aService); 495 otError otSrpClientClearService(otInstance *aInstance, otSrpClientService *aService);
|
D | srp_client_buffers.h | 127 void otSrpClientBuffersFreeService(otInstance *aInstance, otSrpClientBuffersServiceEntry *aService);
|
/openthread-2.7.6/src/core/net/ |
D | srp_client.cpp | 438 Error Client::AddService(Service &aService) in AddService() argument 442 VerifyOrExit(mServices.FindMatching(aService) == nullptr, error = kErrorAlready); in AddService() 444 SuccessOrExit(error = aService.Init()); in AddService() 445 mServices.Push(aService); in AddService() 447 aService.SetState(kToAdd); in AddService() 454 Error Client::RemoveService(Service &aService) in RemoveService() argument 459 VerifyOrExit(mServices.Contains(aService), error = kErrorNotFound); in RemoveService() 461 UpdateServiceStateToRemove(aService); in RemoveService() 478 void Client::UpdateServiceStateToRemove(Service &aService) in UpdateServiceStateToRemove() argument 480 if (aService.GetState() == kToAdd) in UpdateServiceStateToRemove() [all …]
|
D | srp_client.hpp | 516 Error AddService(Service &aService); 530 Error RemoveService(Service &aService); 546 Error ClearService(Service &aService); 808 void UpdateServiceStateToRemove(Service &aService); 818 Error AppendServiceInstructions(Service &aService, Message &aMessage, Info &aInfo); 837 bool ShouldRenewEarly(const Service &aService) const;
|
D | srp_server.cpp | 1671 void Server::Host::RemoveService(Service *aService, bool aRetainName, bool aNotifyServiceHandler) in RemoveService() argument 1675 VerifyOrExit(aService != nullptr); in RemoveService() 1677 aService->mIsDeleted = true; in RemoveService() 1679 aService->Log(aRetainName ? Service::kRemoveButRetainName : Service::kFullyRemove); in RemoveService() 1694 IgnoreError(mServices.Remove(*aService)); in RemoveService() 1695 aService->Free(); in RemoveService()
|
D | dnssd_server.hpp | 359 const Srp::Server::Service *aService);
|
D | srp_server.hpp | 478 …void RemoveService(Service *aService, bool aRetainName, bool aNotifyService…
|
D | dnssd_server.cpp | 772 const Srp::Server::Service *aService) in GetNextSrpService() argument 774 return aHost.FindNextService(aService, Srp::Server::kFlagsAnyTypeActiveService); in GetNextSrpService()
|
/openthread-2.7.6/src/core/thread/ |
D | network_data_leader_ftd.cpp | 533 Error Leader::ValidateService(const ServiceTlv &aService, uint16_t aRloc16) in ValidateService() argument 539 const NetworkDataTlv *subEnd = aService.GetNext(); in ValidateService() 542 …for (const NetworkDataTlv *subCur = aService.GetSubTlvs(); subCur < subEnd; subCur = subCur->GetNe… in ValidateService() 632 bool Leader::ContainsMatchingServer(const ServiceTlv *aService, const ServerTlv &aServer) in ContainsMatchingServer() argument 639 if (aService != nullptr) in ContainsMatchingServer() 642 TlvIterator subTlvIterator(*aService); in ContainsMatchingServer() 662 Leader::UpdateStatus Leader::UpdateService(ServiceTlv &aService) in UpdateService() argument 664 return UpdateTlv(aService, aService.GetSubTlvs()); in UpdateService() 787 Error Leader::AddService(const ServiceTlv &aService, ChangedFlags &aChangedFlags) in AddService() argument 790 …ServiceTlv * dstService = FindService(aService.GetEnterpriseNumber(), aService.GetServiceData(… in AddService() [all …]
|
D | network_data_leader_ftd.hpp | 217 Error AddService(const ServiceTlv &aService, ChangedFlags &aChangedFlags); 243 void RemoveRlocInService(ServiceTlv & aService, 265 static Error ValidateService(const ServiceTlv &aService, uint16_t aRloc16); 271 static bool ContainsMatchingServer(const ServiceTlv *aService, const ServerTlv &aServer); 274 UpdateStatus UpdateService(ServiceTlv &aService);
|
D | network_data.cpp | 510 void NetworkData::RemoveTemporaryData(uint8_t *aData, uint8_t &aDataLength, ServiceTlv &aService) in RemoveTemporaryData() argument 512 NetworkDataTlv *cur = aService.GetSubTlvs(); in RemoveTemporaryData() 514 while (cur < aService.GetNext()) in RemoveTemporaryData() 523 server->SetServer16(Mle::Mle::ServiceAlocFromId(aService.GetServiceId())); in RemoveTemporaryData() 539 aService.SetSubTlvsLength(aService.GetSubTlvsLength() - subTlvSize); in RemoveTemporaryData()
|
D | network_data_local.cpp | 249 void Local::UpdateRloc(ServiceTlv &aService) in UpdateRloc() argument 253 … for (NetworkDataTlv *cur = aService.GetSubTlvs(); cur < aService.GetNext(); cur = cur->GetNext()) in UpdateRloc()
|
D | network_data_local.hpp | 181 void UpdateRloc(ServiceTlv &aService);
|
D | network_data.hpp | 684 static void RemoveTemporaryData(uint8_t *aData, uint8_t &aDataLength, ServiceTlv &aService);
|
/openthread-2.7.6/src/cli/ |
D | cli_srp_client.cpp | 518 void SrpClient::OutputService(uint8_t aIndentSize, const otSrpClientService &aService) in OutputService() argument 520 …ter.OutputFormat(aIndentSize, "instance:\"%s\", name:\"%s", aService.mInstanceName, aService.mName… in OutputService() 522 if (aService.mSubTypeLabels != nullptr) in OutputService() 524 for (uint16_t index = 0; aService.mSubTypeLabels[index] != nullptr; index++) in OutputService() 526 mInterpreter.OutputFormat(",%s", aService.mSubTypeLabels[index]); in OutputService() 531 … otSrpClientItemStateToString(aService.mState), aService.mPort, aService.mPriority, in OutputService() 532 aService.mWeight); in OutputService()
|
D | cli_srp_client.hpp | 106 void OutputService(uint8_t aIndentSize, const otSrpClientService &aService);
|