Home
last modified time | relevance | path

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

/openthread-2.7.6/src/core/thread/
Dnetwork_data_service.hpp196 class ServiceData class in ot::NetworkData::Service::DnsSrpAnycast
205 explicit ServiceData(uint8_t aSequenceNumber) in ServiceData() function in ot::NetworkData::Service::DnsSrpAnycast::ServiceData
218 uint8_t GetLength(void) const { return sizeof(ServiceData); } in GetLength()
267 class ServiceData class in ot::NetworkData::Service::DnsSrpUnicast
277 explicit ServiceData(const Ip6::Address &aAddress, uint16_t aPort) in ServiceData() function in ot::NetworkData::Service::DnsSrpUnicast::ServiceData
291 uint8_t GetLength(void) const { return sizeof(ServiceData); } in GetLength()
468 Error Add(const typename ServiceType::ServiceData &aServiceData, bool aServerStable = true) in Add()
511 …template <typename ServiceType> Error Remove(const typename ServiceType::ServiceData &aServiceData) in Remove()
Dnetwork_data_service.cpp165 } while (tlv->GetServiceDataLength() < sizeof(DnsSrpAnycast::ServiceData)); in GetNextDnsSrpAnycastInfo()
170 … reinterpret_cast<const DnsSrpAnycast::ServiceData *>(tlv->GetServiceData())->GetSequenceNumber(); in GetNextDnsSrpAnycastInfo()
240 if (aIterator.mServiceTlv->GetServiceDataLength() >= sizeof(DnsSrpUnicast::ServiceData)) in GetNextDnsSrpUnicastInfo()
244 const DnsSrpUnicast::ServiceData *serviceData; in GetNextDnsSrpUnicastInfo()
246 …serviceData = reinterpret_cast<const DnsSrpUnicast::ServiceData *>(aIterator.mServiceTlv->GetServi… in GetNextDnsSrpUnicastInfo()
Dnetwork_data_publisher.cpp620 Service::DnsSrpAnycast::ServiceData(mInfo.GetSequenceNumber()))); in Add()
625 Service::DnsSrpUnicast::ServiceData(mInfo.GetAddress(), mInfo.GetPort()))); in Add()
654 Service::DnsSrpAnycast::ServiceData(mInfo.GetSequenceNumber()))); in Remove()
659 Service::DnsSrpUnicast::ServiceData(mInfo.GetAddress(), mInfo.GetPort()))); in Remove()
730 Service::DnsSrpAnycast::ServiceData serviceData(mInfo.GetSequenceNumber()); in CountAnycastEntries()
768 if (serviceTlv->GetServiceDataLength() >= sizeof(Service::DnsSrpUnicast::ServiceData)) in CountUnicastEntries()