Home
last modified time | relevance | path

Searched refs:aEnterpriseNumber (Results 1 – 10 of 10) sorted by relevance

/openthread-3.4.0/src/core/thread/
Dnetwork_data_tlvs.cpp94 void ServiceTlv::Init(uint8_t aServiceId, uint32_t aEnterpriseNumber, const ServiceData &aServiceDa… in Init() argument
99 mFlagsServiceId = (aEnterpriseNumber == kThreadEnterpriseNumber) ? kThreadEnterpriseFlag : 0; in Init()
102 if (aEnterpriseNumber != kThreadEnterpriseNumber) in Init()
104 mShared.mEnterpriseNumber = HostSwap32(aEnterpriseNumber); in Init()
Dnetwork_data_local.cpp178 Error Local::AddService(uint32_t aEnterpriseNumber, in AddService() argument
186 …uint16_t serviceTlvSize = ServiceTlv::CalculateSize(aEnterpriseNumber, aServiceData.GetLength()… in AddService()
189 IgnoreError(RemoveService(aEnterpriseNumber, aServiceData)); in AddService()
196 serviceTlv->Init(/* aServiceId */ 0, aEnterpriseNumber, aServiceData); in AddService()
217 Error Local::RemoveService(uint32_t aEnterpriseNumber, const ServiceData &aServiceData) in RemoveService() argument
222 … VerifyOrExit((tlv = FindService(aEnterpriseNumber, aServiceData, kServiceExactMatch)) != nullptr, in RemoveService()
Dnetwork_data_local.hpp151 Error AddService(uint32_t aEnterpriseNumber,
166 Error RemoveService(uint32_t aEnterpriseNumber, const ServiceData &aServiceData);
Dnetwork_data.hpp461 const ServiceTlv *FindService(uint32_t aEnterpriseNumber,
481 uint32_t aEnterpriseNumber,
578 uint32_t aEnterpriseNumber,
704 ServiceTlv *FindService(uint32_t aEnterpriseNumber, in FindService() argument
708 … return AsNonConst(AsConst(this)->FindService(aEnterpriseNumber, aServiceData, aServiceMatchMode)); in FindService()
Dnetwork_data.cpp568 const ServiceTlv *NetworkData::FindService(uint32_t aEnterpriseNumber, in FindService() argument
577 if (MatchService(*serviceTlv, aEnterpriseNumber, aServiceData, aServiceMatchMode)) in FindService()
587 uint32_t aEnterpriseNumber, in FindNextService() argument
605 …return NetworkData(GetInstance(), tlvs, length).FindService(aEnterpriseNumber, aServiceData, aServ… in FindNextService()
616 uint32_t aEnterpriseNumber, in MatchService() argument
623 VerifyOrExit(aServiceTlv.GetEnterpriseNumber() == aEnterpriseNumber); in MatchService()
Dnetwork_data_leader.hpp281 Error GetServiceId(uint32_t aEnterpriseNumber,
Dnetwork_data_tlvs.hpp1306 void Init(uint8_t aServiceId, uint32_t aEnterpriseNumber, const ServiceData &aServiceData);
1415 static uint16_t CalculateSize(uint32_t aEnterpriseNumber, uint8_t aServiceDataLength) in CalculateSize() argument
1418 … ((aEnterpriseNumber == kThreadEnterpriseNumber) ? 0 : sizeof(uint32_t) /* mEnterpriseNumber */); in CalculateSize()
Dnetwork_data_leader.cpp66 Error LeaderBase::GetServiceId(uint32_t aEnterpriseNumber, in GetServiceId() argument
80 if (aEnterpriseNumber == serviceConfig.mEnterpriseNumber && aServiceData == serviceData && in GetServiceId()
/openthread-3.4.0/src/core/api/
Dserver_api.cpp64 uint32_t aEnterpriseNumber, in otServerRemoveService() argument
72 …return AsCoreType(aInstance).Get<NetworkData::Local>().RemoveService(aEnterpriseNumber, serviceDat… in otServerRemoveService()
/openthread-3.4.0/include/openthread/
Dserver.h98 uint32_t aEnterpriseNumber,