Home
last modified time | relevance | path

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

/openthread-3.6.0/src/core/thread/
Dnetwork_data_leader_ftd.cpp738 ServiceTlv *dstService; in AddService() local
743 dstService = FindService(aService.GetEnterpriseNumber(), serviceData, kServiceExactMatch); in AddService()
745 if (dstService == nullptr) in AddService()
751 dstService = As<ServiceTlv>( in AddService()
753 VerifyOrExit(dstService != nullptr, error = kErrorNoBufs); in AddService()
755 dstService->Init(serviceId, aService.GetEnterpriseNumber(), serviceData); in AddService()
761 SuccessOrExit(error = AddServer(*server, *dstService, aChangedFlags)); in AddService()
764 if (dstService != nullptr) in AddService()
772 IgnoreReturnValue(UpdateService(*dstService)); in AddService()