Searched refs:aServiceTlv (Results 1 – 6 of 6) sorted by relevance
/openthread-2.7.6/src/core/thread/ |
D | network_data_types.cpp | 235 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()
|
D | network_data.cpp | 620 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()
|
D | network_data_types.hpp | 313 void SetFrom(const ServiceTlv &aServiceTlv, const ServerTlv &aServerTlv);
|
D | network_data_tlvs.hpp | 1588 explicit TlvIterator(const ServiceTlv &aServiceTlv) in TlvIterator() argument 1589 : TlvIterator(aServiceTlv.GetSubTlvs(), aServiceTlv.GetNext()) in TlvIterator()
|
D | network_data.hpp | 689 static bool MatchService(const ServiceTlv &aServiceTlv,
|
/openthread-2.7.6/tests/unit/ |
D | test_network_data.cpp | 238 …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()
|