Searched refs:rdata_ (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/p2p/base/ |
D | mdns_message.cc | 245 return buf->ReadString(&rdata_, 4); in ReadARData() 250 return buf->ReadString(&rdata_, 16); in ReadQuadARData() 275 buf->WriteString(rdata_); in WriteARData() 279 buf->WriteString(rdata_); in WriteQuadARData() 293 rdata_ = std::string(out, rdlength_); in SetIPAddressInRecordData() 303 if (rdata_.size() != 4 && rdata_.size() != 16) { in GetIPAddressFromRecordData() 308 if (!rtc::inet_ntop(af, rdata_.data(), out, sizeof(out))) { in GetIPAddressFromRecordData()
|
D | mdns_message.h | 144 std::string rdata_; variable
|
/external/openscreen/discovery/mdns/ |
D | mdns_records.cc | 189 : rdata_(std::move(rdata)) { in RawRecordRdata() 191 OSP_DCHECK(rdata_.size() <= kMaxRawRecordSize); in RawRecordRdata() 206 return rdata_ == rhs.rdata_; in operator ==() 215 return sizeof(uint16_t) + rdata_.size(); in MaxWireSize() 568 rdata_(std::move(rdata)) { in MdnsRecord() 569 OSP_DCHECK(IsValidConfig(name_, dns_type, ttl_, rdata_)); in MdnsRecord() 658 rdata_ == rhs.rdata_; in IsReannouncementOf() 664 return name_.MaxWireSize() + absl::visit(wire_size_visitor, rdata_) + 8; in MaxWireSize() 673 const DomainName& target = absl::get<PtrRecordRdata>(rdata_).ptr_domain(); in ToString() 676 const DomainName& target = absl::get<SrvRecordRdata>(rdata_).target(); in ToString() [all …]
|
D | mdns_records.h | 124 uint16_t size() const { return rdata_.size(); } in size() 125 const uint8_t* data() const { return rdata_.data(); } in data() 129 return H::combine(std::move(h), rdata.rdata_); in AbslHashValue() 133 std::vector<uint8_t> rdata_; 487 const Rdata& rdata() const { return rdata_; } in rdata() 493 record.ttl_.count(), record.rdata_); in AbslHashValue() 511 Rdata rdata_; variable
|