Home
last modified time | relevance | path

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

/openthread-3.6.0/src/core/net/
Ddns_types.hpp1524 RecordType &aRecord) in FindRecord() argument
1526 return FindRecord(aMessage, aOffset, aNumRecords, aIndex, aName, RecordType::kType, aRecord, in FindRecord()
1564 …ecordType> static Error ReadRecord(const Message &aMessage, uint16_t &aOffset, RecordType &aRecord) in ReadRecord() argument
1566 return ReadRecord(aMessage, aOffset, RecordType::kType, aRecord, sizeof(RecordType)); in ReadRecord()
1587 ResourceRecord &aRecord,
1593 ResourceRecord &aRecord,
Ddns_types.cpp859 ResourceRecord &aRecord, in FindRecord() argument
883 error = ReadRecord(aMessage, offset, aType, aRecord, aMinRecordSize); in FindRecord()
903 offset = static_cast<uint16_t>(recordOffset + aRecord.GetSize()); in FindRecord()
915 ResourceRecord &aRecord, in ReadRecord() argument
931 IgnoreError(aMessage.Read(aOffset, &aRecord, aMinRecordSize)); in ReadRecord()
Dsrp_client.cpp1543 void Client::UpdateRecordLengthInMessage(Dns::ResourceRecord &aRecord, uint16_t aOffset, Message &a… in UpdateRecordLengthInMessage() argument
1551 aRecord.SetLength(aMessage.GetLength() - aOffset - sizeof(Dns::ResourceRecord)); in UpdateRecordLengthInMessage()
1552 aMessage.Write(aOffset, aRecord); in UpdateRecordLengthInMessage()
1747 …lient::ReadResourceRecord(const Message &aMessage, uint16_t &aOffset, Dns::ResourceRecord &aRecord) in ReadResourceRecord() argument
1756 SuccessOrExit(error = aMessage.Read(aOffset, aRecord)); in ReadResourceRecord()
1757 VerifyOrExit(aOffset + aRecord.GetSize() <= aMessage.GetLength(), error = kErrorParse); in ReadResourceRecord()
1758 aOffset += static_cast<uint16_t>(aRecord.GetSize()); in ReadResourceRecord()
Dsrp_client.hpp1031 …void UpdateRecordLengthInMessage(Dns::ResourceRecord &aRecord, uint16_t aOffset, Message &…
1036 …Error ReadResourceRecord(const Message &aMessage, uint16_t &aOffset, Dns::ResourceRecord &aRecord);
Ddnssd_server.hpp363 void UpdateRecordLength(ResourceRecord &aRecord, uint16_t aOffset);
Ddns_client.cpp435 ARecord aRecord; in GetAddress() local
442 SuccessOrExit(error = FindARecord(section, name, aIndex, aRecord)); in GetAddress()
444 aAddress.SynthesizeFromIp4Address(nat64Prefix.GetPrefix(), aRecord.GetAddress()); in GetAddress()
445 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.cpp1172 bool Server::IsValidDeleteAllRecord(const Dns::ResourceRecord &aRecord) in IsValidDeleteAllRecord() argument
1174 …return aRecord.GetClass() == Dns::ResourceRecord::kClassAny && aRecord.GetType() == Dns::ResourceR… in IsValidDeleteAllRecord()
1175 aRecord.GetTtl() == 0 && aRecord.GetLength() == 0; in IsValidDeleteAllRecord()
Dsrp_server.hpp992 static bool IsValidDeleteAllRecord(const Dns::ResourceRecord &aRecord);