Searched refs:new_record (Results 1 – 7 of 7) sorted by relevance
165 const MdnsRecord& new_record) { in Update() argument167 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 …]
111 const MdnsRecord& new_record) { in UpdateRegisteredRecord() argument114 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()
136 const MdnsRecord& new_record) { in UpdateRegisteredRecord() argument137 return publisher_->UpdateRegisteredRecord(old_record, new_record); in UpdateRegisteredRecord()
62 const MdnsRecord& new_record) override;
73 const MdnsRecord& new_record);
132 ErrorOr<UpdateType> Update(const MdnsRecord& new_record);
80 const MdnsRecord& new_record) = 0;