Home
last modified time | relevance | path

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

/openthread-3.4.0/src/core/thread/
Dnetwork_data_leader_ftd.cpp767 ServiceTlv *dstService; in AddService() local
772 dstService = FindService(aService.GetEnterpriseNumber(), serviceData, kServiceExactMatch); in AddService()
774 if (dstService == nullptr) in AddService()
780 dstService = As<ServiceTlv>( in AddService()
782 VerifyOrExit(dstService != nullptr, error = kErrorNoBufs); in AddService()
784 dstService->Init(serviceId, aService.GetEnterpriseNumber(), serviceData); in AddService()
790 SuccessOrExit(error = AddServer(*server, *dstService, aChangedFlags)); in AddService()
793 if (dstService != nullptr) in AddService()
801 IgnoreReturnValue(UpdateService(*dstService)); in AddService()