Home
last modified time | relevance | path

Searched refs:aRecord (Results 1 – 9 of 9) sorted by relevance

/openthread-3.5.0/src/core/net/
Ddns_types.hpp1400 RecordType &aRecord) in FindRecord() argument
1402 return FindRecord(aMessage, aOffset, aNumRecords, aIndex, aName, RecordType::kType, aRecord, in FindRecord()
1440 …ecordType> static Error ReadRecord(const Message &aMessage, uint16_t &aOffset, RecordType &aRecord) in ReadRecord() argument
1442 return ReadRecord(aMessage, aOffset, RecordType::kType, aRecord, sizeof(RecordType)); in ReadRecord()
1463 ResourceRecord &aRecord,
1469 ResourceRecord &aRecord,
Ddns_types.cpp777 ResourceRecord &aRecord, in FindRecord() argument
801 error = ReadRecord(aMessage, offset, aType, aRecord, aMinRecordSize); in FindRecord()
821 offset = static_cast<uint16_t>(recordOffset + aRecord.GetSize()); in FindRecord()
833 ResourceRecord &aRecord, in ReadRecord() argument
849 IgnoreError(aMessage.Read(aOffset, &aRecord, aMinRecordSize)); in ReadRecord()
Dsrp_client.cpp1480 void Client::UpdateRecordLengthInMessage(Dns::ResourceRecord &aRecord, uint16_t aOffset, Message &a… in UpdateRecordLengthInMessage() argument
1488 aRecord.SetLength(aMessage.GetLength() - aOffset - sizeof(Dns::ResourceRecord)); in UpdateRecordLengthInMessage()
1489 aMessage.Write(aOffset, aRecord); in UpdateRecordLengthInMessage()
1684 …lient::ReadResourceRecord(const Message &aMessage, uint16_t &aOffset, Dns::ResourceRecord &aRecord) in ReadResourceRecord() argument
1693 SuccessOrExit(error = aMessage.Read(aOffset, aRecord)); in ReadResourceRecord()
1694 VerifyOrExit(aOffset + aRecord.GetSize() <= aMessage.GetLength(), error = kErrorParse); in ReadResourceRecord()
1695 aOffset += static_cast<uint16_t>(aRecord.GetSize()); in ReadResourceRecord()
Dsrp_client.hpp1029 …void UpdateRecordLengthInMessage(Dns::ResourceRecord &aRecord, uint16_t aOffset, Message &…
1034 …Error ReadResourceRecord(const Message &aMessage, uint16_t &aOffset, Dns::ResourceRecord &aRecord);
Ddnssd_server.hpp365 void UpdateRecordLength(ResourceRecord &aRecord, uint16_t aOffset);
Ddns_client.cpp440 ARecord aRecord; in GetAddress() local
447 SuccessOrExit(error = FindARecord(section, name, aIndex, aRecord)); in GetAddress()
449 aAddress.SynthesizeFromIp4Address(nat64Prefix.GetPrefix(), aRecord.GetAddress()); in GetAddress()
450 aTtl = aRecord.GetTtl(); in GetAddress()
Ddnssd_server.cpp644 void Server::Response::UpdateRecordLength(ResourceRecord &aRecord, uint16_t aOffset) in UpdateRecordLength() argument
652 aRecord.SetLength(mMessage->GetLength() - aOffset - sizeof(Dns::ResourceRecord)); in UpdateRecordLength()
653 mMessage->Write(aOffset, aRecord); in UpdateRecordLength()
Dsrp_server.cpp1174 bool Server::IsValidDeleteAllRecord(const Dns::ResourceRecord &aRecord) in IsValidDeleteAllRecord() argument
1176 …return aRecord.GetClass() == Dns::ResourceRecord::kClassAny && aRecord.GetType() == Dns::ResourceR… in IsValidDeleteAllRecord()
1177 aRecord.GetTtl() == 0 && aRecord.GetLength() == 0; in IsValidDeleteAllRecord()
Dsrp_server.hpp986 static bool IsValidDeleteAllRecord(const Dns::ResourceRecord &aRecord);