Home
last modified time | relevance | path

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

/external/openscreen/discovery/mdns/
Dmdns_trackers.cc165 const MdnsRecord& new_record) { in Update() argument
167 const bool has_same_rdata = record_.dns_type() == new_record.dns_type() && in Update()
168 record_.rdata() == new_record.rdata(); in Update()
169 const bool new_is_negative_response = new_record.dns_type() == DnsType::kNSEC; in Update()
173 if ((record_.dns_class() != new_record.dns_class()) || in Update()
174 (record_.name() != new_record.name())) { in Update()
180 if ((!new_is_negative_response && new_record.dns_type() != dns_type_) || in Update()
182 !IsNegativeResponseForType(new_record, dns_type_))) { in Update()
191 IsGoodbyeRecord(new_record) && !has_same_rdata) { in Update()
197 if (IsGoodbyeRecord(new_record)) { in Update()
[all …]
Dmdns_publisher.cc111 const MdnsRecord& new_record) { in UpdateRegisteredRecord() argument
114 if (!CanBePublished(new_record.dns_type())) { in UpdateRegisteredRecord()
123 if (old_record.name() != new_record.name() || in UpdateRegisteredRecord()
124 old_record.dns_type() != new_record.dns_type() || in UpdateRegisteredRecord()
125 old_record.dns_class() != new_record.dns_class() || in UpdateRegisteredRecord()
126 old_record.record_type() != new_record.record_type()) { in UpdateRegisteredRecord()
130 OSP_DVLOG << "Updating record of type '" << new_record.dns_type() << "'"; in UpdateRegisteredRecord()
142 return RegisterRecord(new_record); in UpdateRegisteredRecord()
Dmdns_service_impl.cc136 const MdnsRecord& new_record) { in UpdateRegisteredRecord() argument
137 return publisher_->UpdateRegisteredRecord(old_record, new_record); in UpdateRegisteredRecord()
Dmdns_service_impl.h62 const MdnsRecord& new_record) override;
Dmdns_publisher.h73 const MdnsRecord& new_record);
Dmdns_trackers.h132 ErrorOr<UpdateType> Update(const MdnsRecord& new_record);
/external/openscreen/discovery/mdns/public/
Dmdns_service.h80 const MdnsRecord& new_record) = 0;