Lines Matching refs:ServiceEntry

183     return Register<ServiceEntry>(aService, aRequestId, aCallback);  in RegisterService()
186 Error Core::UnregisterService(const Service &aService) { return Unregister<ServiceEntry>(aService);… in UnregisterService()
190 return IsKeyForService(aKey) ? Register<ServiceEntry>(aKey, aRequestId, aCallback) in RegisterKey()
196 return IsKeyForService(aKey) ? Unregister<ServiceEntry>(aKey) : Unregister<HostEntry>(aKey); in UnregisterKey()
320 for (ServiceEntry &entry : mServiceEntries) in HandleEntryTimer()
342 for (ServiceEntry &entry : mServiceEntries) in HandleEntryTimer()
386 for (ServiceEntry &entry : mServiceEntries) in HandleEntryTask()
1853 const uint8_t Core::ServiceEntry::kEmptyTxtData[] = {0};
1855 Core::ServiceEntry::ServiceEntry(void) in ServiceEntry() function in ot::Dns::Multicast::Core::ServiceEntry
1868 Error Core::ServiceEntry::Init(Instance &aInstance, const char *aServiceInstance, const char *aServ… in Init()
1881 Error Core::ServiceEntry::Init(Instance &aInstance, const Service &aService) in Init()
1886 Error Core::ServiceEntry::Init(Instance &aInstance, const Key &aKey) in Init()
1891 bool Core::ServiceEntry::Matches(const Name &aFullName) const in Matches()
1896 bool Core::ServiceEntry::MatchesServiceType(const Name &aServiceType) const in MatchesServiceType()
1904 bool Core::ServiceEntry::Matches(const Service &aService) const in Matches()
1909 bool Core::ServiceEntry::Matches(const Key &aKey) const in Matches()
1915 bool Core::ServiceEntry::IsEmpty(void) const { return !mPtrRecord.IsPresent() && !mKeyRecord.IsPres… in IsEmpty()
1917 bool Core::ServiceEntry::CanAnswerSubType(const char *aSubLabel) const in CanAnswerSubType()
1933 void Core::ServiceEntry::Register(const Service &aService, const Callback &aCallback) in Register()
2005 void Core::ServiceEntry::Register(const Key &aKey, const Callback &aCallback) in Register()
2013 void Core::ServiceEntry::Unregister(const Service &aService) in Unregister()
2052 void Core::ServiceEntry::Unregister(const Key &aKey) in Unregister()
2062 void Core::ServiceEntry::ClearService(void) in ClearService()
2072 void Core::ServiceEntry::ScheduleToRemoveIfEmpty(void) in ScheduleToRemoveIfEmpty()
2083 void Core::ServiceEntry::HandleConflict(void) in HandleConflict()
2097 void Core::ServiceEntry::AnswerServiceNameQuestion(const AnswerInfo &aInfo) in AnswerServiceNameQuestion()
2123 void Core::ServiceEntry::AnswerServiceTypeQuestion(const AnswerInfo &aInfo, const char *aSubLabel) in AnswerServiceTypeQuestion()
2146 bool Core::ServiceEntry::ShouldSuppressKnownAnswer(uint32_t aTtl, const char *aSubLabel) const in ShouldSuppressKnownAnswer()
2173 void Core::ServiceEntry::HandleTimer(EntryContext &aContext) { Entry::HandleTimer<ServiceEntry>(aCo… in HandleTimer()
2175 void Core::ServiceEntry::ClearAppendState(void) in ClearAppendState()
2198 void Core::ServiceEntry::PrepareProbe(TxMessage &aProbe) in PrepareProbe()
2224 void Core::ServiceEntry::StartAnnouncing(void) in StartAnnouncing()
2239 void Core::ServiceEntry::PrepareResponse(EntryContext &aContext) in PrepareResponse()
2255 void Core::ServiceEntry::PrepareResponseRecords(EntryContext &aContext) in PrepareResponseRecords()
2359 void Core::ServiceEntry::UpdateRecordsState(const TxMessage &aResponse) in UpdateRecordsState()
2380 void Core::ServiceEntry::DetermineNextFireTime(void) in DetermineNextFireTime()
2399 void Core::ServiceEntry::DetermineNextAggrTxTime(NextFireTime &aNextAggrTxTime) const in DetermineNextAggrTxTime()
2418 void Core::ServiceEntry::DiscoverOffsetsAndHost(HostEntry *&aHostEntry) in DiscoverOffsetsAndHost()
2436 for (ServiceEntry &other : Get<Core>().mServiceEntries) in DiscoverOffsetsAndHost()
2488 void Core::ServiceEntry::UpdateServiceTypes(void) in UpdateServiceTypes()
2541 void Core::ServiceEntry::AppendSrvRecordTo(TxMessage &aTxMessage, Section aSection) in AppendSrvRecordTo()
2576 void Core::ServiceEntry::AppendTxtRecordTo(TxMessage &aTxMessage, Section aSection) in AppendTxtRecordTo()
2602 void Core::ServiceEntry::AppendPtrRecordTo(TxMessage &aTxMessage, Section aSection, SubType *aSubTy… in AppendPtrRecordTo()
2641 void Core::ServiceEntry::AppendKeyRecordTo(TxMessage &aTxMessage, Section aSection) in AppendKeyRecordTo()
2646 void Core::ServiceEntry::AppendNsecRecordTo(TxMessage &aTxMessage, Section aSection) in AppendNsecRecordTo()
2671 void Core::ServiceEntry::AppendEntryName(Entry &aEntry, TxMessage &aTxMessage, Section aSection) in AppendEntryName()
2673 static_cast<ServiceEntry &>(aEntry).AppendServiceNameTo(aTxMessage, aSection); in AppendEntryName()
2676 void Core::ServiceEntry::AppendServiceNameTo(TxMessage &aTxMessage, Section aSection, bool aPerform… in AppendServiceNameTo()
2699 void Core::ServiceEntry::AppendServiceTypeTo(TxMessage &aTxMessage, Section aSection) in AppendServiceTypeTo()
2704 void Core::ServiceEntry::AppendSubServiceTypeTo(TxMessage &aTxMessage, Section aSection) in AppendSubServiceTypeTo()
2717 void Core::ServiceEntry::AppendSubServiceNameTo(TxMessage &aTxMessage, Section aSection, SubType &a… in AppendSubServiceNameTo()
2730 void Core::ServiceEntry::AppendHostNameTo(TxMessage &aTxMessage, Section aSection) in AppendHostNameTo()
2745 Error Core::ServiceEntry::CopyInfoTo(Service &aService, EntryState &aState, EntryIterator &aIterato… in CopyInfoTo()
2776 Error Core::ServiceEntry::CopyInfoTo(Key &aKey, EntryState &aState) const in CopyInfoTo()
2794 Error Core::ServiceEntry::SubType::Init(const char *aLabel) in Init()
2801 bool Core::ServiceEntry::SubType::Matches(const EmptyChecker &aChecker) const in Matches()
2808 bool Core::ServiceEntry::SubType::IsContainedIn(const Service &aService) const in IsContainedIn()
2920 for (const ServiceEntry &serviceEntry : Get<Core>().mServiceEntries) in PrepareResponseRecords()
3382 for (ServiceEntry &entry : Get<Core>().mServiceEntries) in Reinit()
3760 for (ServiceEntry &serviceEntry : Get<Core>().mServiceEntries) in ProcessQuestion()
3787 ServiceEntry *serviceEntry; in AnswerQuestion()
3806 … serviceEntry = aQuestion.mIsForService ? static_cast<ServiceEntry *>(aQuestion.mEntry) : nullptr; in AnswerQuestion()
3833 ServiceEntry &aFirstEntry) in AnswerServiceTypeQuestion()
3850 …for (ServiceEntry *serviceEntry = &aFirstEntry; serviceEntry != nullptr; serviceEntry = serviceEnt… in AnswerServiceTypeQuestion()
3885 const ServiceEntry &aServiceEntry) const in ShouldSuppressKnownAnswer()
4031 for (ServiceEntry &entry : Get<Core>().mServiceEntries) in SendUnicastResponse()
4130 ServiceEntry *serviceEntry; in ProcessRecordForConflict()