Home
last modified time | relevance | path

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

/external/openscreen/discovery/mdns/
Dmdns_records.cc89 return IsGreaterThan<NsecRecordRdata>(lhs, rhs); in IsGreaterThan()
393 NsecRecordRdata::NsecRecordRdata() = default;
395 NsecRecordRdata::NsecRecordRdata(DomainName next_domain_name, in NsecRecordRdata() function in openscreen::discovery::NsecRecordRdata
442 NsecRecordRdata::NsecRecordRdata(const NsecRecordRdata& other) = default;
444 NsecRecordRdata::NsecRecordRdata(NsecRecordRdata&& other) noexcept = default;
446 NsecRecordRdata& NsecRecordRdata::operator=(const NsecRecordRdata& rhs) =
449 NsecRecordRdata& NsecRecordRdata::operator=(NsecRecordRdata&& rhs) = default;
451 bool NsecRecordRdata::operator==(const NsecRecordRdata& rhs) const { in operator ==()
455 bool NsecRecordRdata::operator!=(const NsecRecordRdata& rhs) const { in operator !=()
459 size_t NsecRecordRdata::MaxWireSize() const { in MaxWireSize()
[all …]
Dmdns_records.h324 class NsecRecordRdata {
326 NsecRecordRdata();
333 NsecRecordRdata(DomainName next_domain_name, Types... types) in NsecRecordRdata() function
334 : NsecRecordRdata(std::move(next_domain_name), in NsecRecordRdata()
336 NsecRecordRdata(DomainName next_domain_name, std::vector<DnsType> types);
337 NsecRecordRdata(const NsecRecordRdata& other);
338 NsecRecordRdata(NsecRecordRdata&& other) noexcept;
340 NsecRecordRdata& operator=(const NsecRecordRdata& rhs);
341 NsecRecordRdata& operator=(NsecRecordRdata&& rhs);
342 bool operator==(const NsecRecordRdata& rhs) const;
[all …]
Dmdns_records_unittest.cc334 NsecRecordRdata rdata(domain); in TEST()
338 rdata = NsecRecordRdata(domain, DnsType::kA); in TEST()
361 rdata = NsecRecordRdata(domain, DnsType::kTXT); in TEST()
376 rdata = NsecRecordRdata(domain, DnsType::kSRV); in TEST()
391 rdata = NsecRecordRdata(domain, DnsType::kNSEC); in TEST()
404 rdata = NsecRecordRdata(domain, DnsType::kANY); in TEST()
428 rdata = NsecRecordRdata(domain, DnsType::kA, DnsType::kTXT, DnsType::kSRV, in TEST()
439 const NsecRecordRdata rdata1(domain, DnsType::kA, DnsType::kSRV); in TEST()
440 const NsecRecordRdata rdata2(domain, DnsType::kSRV, DnsType::kA); in TEST()
441 const NsecRecordRdata rdata3(domain, DnsType::kSRV, DnsType::kA, in TEST()
[all …]
Dmdns_querier.cc34 const NsecRecordRdata& nsec = absl::get<NsecRecordRdata>(record.rdata()); in IsNegativeResponseFor()
171 const NsecRecordRdata& nsec_rdata = absl::get<NsecRecordRdata>(it->rdata()); in RemoveInvalidNsecFlags()
187 types.Insert(absl::get<NsecRecordRdata>(it->rdata()).types()); in RemoveInvalidNsecFlags()
202 NsecRecordRdata new_rdata(nsec_rdata.next_domain_name(), in RemoveInvalidNsecFlags()
600 const auto& nsec_rdata = absl::get<NsecRecordRdata>(answer.rdata()); in ShouldAnswerRecordBeProcessed()
650 const auto& nsec_rdata = absl::get<NsecRecordRdata>(record.rdata()); in ProcessRecord()
Dmdns_writer_unittest.cc259 NsecRecordRdata(DomainName{"mydevice", "testing", "local"}, DnsType::kA, in TEST()
286 NsecRecordRdata(DomainName{"mydevice", "testing", "local"}, DnsType::kA, in TEST()
293 NsecRecordRdata(DomainName{"mydevice", "testing", "local"}, DnsType::kA, in TEST()
Dmdns_writer.h36 bool Write(const NsecRecordRdata& rdata);
Dmdns_trackers_unittest.cc93 NsecRecordRdata(DomainName{"testing", "local"}, DnsType::kA)) {}
374 NsecRecordRdata(DomainName{"testing", "local"}, DnsType::kAAAA)); in TEST_F()
388 NsecRecordRdata(DomainName{"testing", "local"}, DnsType::kA, in TEST_F()
400 NsecRecordRdata(DomainName{"testing", "local"}, DnsType::kAAAA)); in TEST_F()
Dmdns_reader.cc245 bool MdnsReader::Read(NsecRecordRdata* out) { in Read()
272 *out = NsecRecordRdata(std::move(next_record_name), std::move(types)); in Read()
386 return Read<NsecRecordRdata>(out); in Read()
Dmdns_reader_unittest.cc436 NsecRecordRdata(DomainName{"mydevice", "testing", "local"}, DnsType::kA, in TEST()
451 TestReadEntryFails<NsecRecordRdata>(kNsecRecordRdata, in TEST()
466 TestReadEntryFails<NsecRecordRdata>(kNsecRecordRdata, in TEST()
Dmdns_reader.h38 bool Read(NsecRecordRdata* out);
Dmdns_querier_unittest.cc102 NsecRecordRdata(DomainName{"testing", "local"}, DnsType::kA)) {
115 NsecRecordRdata rdata(name, types...); in CreateNsec()
745 NsecRecordRdata(nsec_record_created_.name(), DnsType::kA, in TEST_F()
765 NsecRecordRdata(nsec_record_created_.name(), DnsType::kANY)); in TEST_F()
852 NsecRecordRdata(nsec_record_created_.name(), DnsType::kA, in TEST_F()
Dmdns_responder_unittest.cc37 const NsecRecordRdata& rdata = absl::get<NsecRecordRdata>(record.rdata()); in CheckSingleNsecRecordType()
58 const NsecRecordRdata& rdata = in ExpectContainsNsecRecordType()
59 absl::get<NsecRecordRdata>(record.rdata()); in ExpectContainsNsecRecordType()
Dmdns_writer.cc199 bool MdnsWriter::Write(const NsecRecordRdata& rdata) { in Write()
Dmdns_trackers.cc50 const auto& nsec_types = absl::get<NsecRecordRdata>(record.rdata()).types(); in IsNegativeResponseForType()
Dmdns_responder.cc62 auto rdata = NsecRecordRdata(target_name, target_type); in CreateNsecRecord()