Home
last modified time | relevance | path

Searched refs:aServiceTlv (Results 1 – 6 of 6) sorted by relevance

/openthread-2.7.6/src/core/thread/
Dnetwork_data_types.cpp235 void ServiceConfig::SetFrom(const ServiceTlv &aServiceTlv, const ServerTlv &aServerTlv) in SetFrom() argument
239 mServiceId = aServiceTlv.GetServiceId(); in SetFrom()
240 mEnterpriseNumber = aServiceTlv.GetEnterpriseNumber(); in SetFrom()
241 mServiceDataLength = aServiceTlv.GetServiceDataLength(); in SetFrom()
242 memcpy(&mServiceData, aServiceTlv.GetServiceData(), mServiceDataLength); in SetFrom()
Dnetwork_data.cpp620 bool NetworkData::MatchService(const ServiceTlv &aServiceTlv, in MatchService() argument
628 VerifyOrExit(aServiceTlv.GetEnterpriseNumber() == aEnterpriseNumber && in MatchService()
629 aServiceTlv.GetServiceDataLength() >= aServiceDataLength); in MatchService()
634 VerifyOrExit(aServiceTlv.GetServiceDataLength() == aServiceDataLength); in MatchService()
638 VerifyOrExit(memcmp(aServiceTlv.GetServiceData(), aServiceData, aServiceDataLength) == 0); in MatchService()
Dnetwork_data_types.hpp313 void SetFrom(const ServiceTlv &aServiceTlv, const ServerTlv &aServerTlv);
Dnetwork_data_tlvs.hpp1588 explicit TlvIterator(const ServiceTlv &aServiceTlv) in TlvIterator() argument
1589 : TlvIterator(aServiceTlv.GetSubTlvs(), aServiceTlv.GetNext()) in TlvIterator()
Dnetwork_data.hpp689 static bool MatchService(const ServiceTlv &aServiceTlv,
/openthread-2.7.6/tests/unit/
Dtest_network_data.cpp238 …Error ValidateServiceData(const ServiceTlv *aServiceTlv, const uint8_t (&aServiceData)[kSize]) con… in ValidateServiceData() argument
242 ((aServiceTlv != nullptr) && (aServiceTlv->GetServiceDataLength() == kSize) && in ValidateServiceData()
243 (memcmp(aServiceTlv->GetServiceData(), aServiceData, kSize) == 0)) in ValidateServiceData()