Searched refs:ServiceTlv (Results 1 – 14 of 14) sorted by relevance
/openthread-3.4.0/src/core/thread/ |
D | network_data_leader_ftd.hpp | 165 const ServiceTlv *FindServiceById(uint8_t aServiceId) const; 270 Error AddService(const ServiceTlv &aService, ChangedFlags &aChangedFlags); 271 Error AddServer(const ServerTlv &aServer, ServiceTlv &aDstService, ChangedFlags &aChangedFlags); 290 void RemoveRlocInService(ServiceTlv &aService, 293 const ServiceTlv *aExcludeService, 312 static Error ValidateService(const ServiceTlv &aService, uint16_t aRloc16); 318 static bool ContainsMatchingServer(const ServiceTlv *aService, const ServerTlv &aServer); 321 UpdateStatus UpdateService(ServiceTlv &aService);
|
D | network_data.hpp | 461 const ServiceTlv *FindService(uint32_t aEnterpriseNumber, 480 const ServiceTlv *FindNextService(const ServiceTlv *aPrevServiceTlv, 499 const ServiceTlv *FindNextThreadService(const ServiceTlv *aPrevServiceTlv, 577 static bool MatchService(const ServiceTlv &aServiceTlv, 704 ServiceTlv *FindService(uint32_t aEnterpriseNumber, in FindService() 771 void RemoveTemporaryDataIn(ServiceTlv &aService);
|
D | network_data_local.cpp | 184 ServiceTlv *serviceTlv; in AddService() 186 …uint16_t serviceTlvSize = ServiceTlv::CalculateSize(aEnterpriseNumber, aServiceData.GetLength()… in AddService() 193 serviceTlv = As<ServiceTlv>(AppendTlv(serviceTlvSize)); in AddService() 220 ServiceTlv *tlv; in RemoveService() 231 void Local::UpdateRloc(ServiceTlv &aService) in UpdateRloc() 266 UpdateRloc(*As<ServiceTlv>(cur)); in UpdateRloc()
|
D | network_data.cpp | 179 subTlvs = As<ServiceTlv>(cur)->GetSubTlvs(); in Iterate() 284 const ServiceTlv *service = As<ServiceTlv>(cur); in Iterate() 430 ServiceTlv *service = As<ServiceTlv>(cur); in RemoveTemporaryData() 521 void MutableNetworkData::RemoveTemporaryDataIn(ServiceTlv &aService) in RemoveTemporaryDataIn() 568 const ServiceTlv *NetworkData::FindService(uint32_t aEnterpriseNumber, in FindService() 573 const ServiceTlv *serviceTlv; in FindService() 575 while ((serviceTlv = tlvIterator.Iterate<ServiceTlv>()) != nullptr) in FindService() 586 const ServiceTlv *NetworkData::FindNextService(const ServiceTlv *aPrevServiceTlv, in FindNextService() 608 const ServiceTlv *NetworkData::FindNextThreadService(const ServiceTlv *aPrevServiceTlv, in FindNextThreadService() 612 …return FindNextService(aPrevServiceTlv, ServiceTlv::kThreadEnterpriseNumber, aServiceData, aServic… in FindNextThreadService() [all …]
|
D | network_data_leader_ftd.cpp | 412 const ServiceTlv *service = As<ServiceTlv>(cur); in Validate() 519 Error Leader::ValidateService(const ServiceTlv &aService, uint16_t aRloc16) in ValidateService() 618 bool Leader::ContainsMatchingServer(const ServiceTlv *aService, const ServerTlv &aServer) in ContainsMatchingServer() 645 Leader::UpdateStatus Leader::UpdateService(ServiceTlv &aService) { return UpdateTlv(aService, aServ… in UpdateService() 700 SuccessOrExit(error = AddService(*As<ServiceTlv>(cur), flags)); in RegisterNetworkData() 764 Error Leader::AddService(const ServiceTlv &aService, ChangedFlags &aChangedFlags) in AddService() 767 ServiceTlv *dstService; in AddService() 780 dstService = As<ServiceTlv>( in AddService() 781 … AppendTlv(ServiceTlv::CalculateSize(aService.GetEnterpriseNumber(), serviceData.GetLength()))); in AddService() 912 Error Leader::AddServer(const ServerTlv &aServer, ServiceTlv &aDstService, ChangedFlags &aChangedFl… in AddServer() [all …]
|
D | network_data_types.hpp | 69 class ServiceTlv; 395 void SetFrom(const ServiceTlv &aServiceTlv, const ServerTlv &aServerTlv);
|
D | network_data_service.hpp | 56 const uint32_t kThreadEnterpriseNumber = ServiceTlv::kThreadEnterpriseNumber; ///< Thread enterpris… 407 const ServiceTlv *mServiceTlv;
|
D | network_data_local.hpp | 179 void UpdateRloc(ServiceTlv &aService);
|
D | network_data_tlvs.cpp | 94 void ServiceTlv::Init(uint8_t aServiceId, uint32_t aEnterpriseNumber, const ServiceData &aServiceDa… in Init()
|
D | network_data_service.cpp | 101 const ServiceTlv *serviceTlv = nullptr; in GetBackboneRouterPrimary() 173 const ServiceTlv *tlv = aIterator.mServiceTlv; in GetNextDnsSrpAnycastInfo()
|
D | network_data_types.cpp | 238 void ServiceConfig::SetFrom(const ServiceTlv &aServiceTlv, const ServerTlv &aServerTlv) in SetFrom()
|
D | network_data_tlvs.hpp | 1291 class ServiceTlv : public NetworkDataTlv class 1607 explicit TlvIterator(const ServiceTlv &aServiceTlv) in TlvIterator()
|
D | network_data_publisher.cpp | 682 const ServiceTlv *serviceTlv = nullptr; in CountAnycastEntries() 710 const ServiceTlv *serviceTlv = nullptr; in CountUnicastEntries()
|
/openthread-3.4.0/tests/unit/ |
D | test_network_data.cpp | 504 … return Local::AddService(ServiceTlv::kThreadEnterpriseNumber, aServiceData, true, ServerData()); in AddService() 507 Error ValidateServiceData(const ServiceTlv *aServiceTlv, const ServiceData &aServiceData) const in ValidateServiceData() 530 const ServiceTlv *tlv; in Test() 553 …tlv = FindNextService(tlv, ServiceTlv::kThreadEnterpriseNumber, serviceData1, kServicePrefixMatch); in Test() 555 …tlv = FindNextService(tlv, ServiceTlv::kThreadEnterpriseNumber, serviceData1, kServicePrefixMatch); in Test() 557 …tlv = FindNextService(tlv, ServiceTlv::kThreadEnterpriseNumber, serviceData1, kServicePrefixMatch); in Test() 559 …tlv = FindNextService(tlv, ServiceTlv::kThreadEnterpriseNumber, serviceData1, kServicePrefixMatch); in Test() 564 …tlv = FindNextService(tlv, ServiceTlv::kThreadEnterpriseNumber, serviceData2, kServicePrefixMatch); in Test() 566 …tlv = FindNextService(tlv, ServiceTlv::kThreadEnterpriseNumber, serviceData2, kServicePrefixMatch); in Test() 568 …tlv = FindNextService(tlv, ServiceTlv::kThreadEnterpriseNumber, serviceData2, kServicePrefixMatch); in Test() [all …]
|