Home
last modified time | relevance | path

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

/openthread-2.7.6/src/core/net/
Ddns_types.hpp1376 RecordType & aRecord) in FindRecord() argument
1378 return FindRecord(aMessage, aOffset, aNumRecords, aIndex, aName, RecordType::kType, aRecord, in FindRecord()
1416 …ecordType> static Error ReadRecord(const Message &aMessage, uint16_t &aOffset, RecordType &aRecord) in ReadRecord() argument
1418 return ReadRecord(aMessage, aOffset, RecordType::kType, aRecord, sizeof(RecordType)); in ReadRecord()
1439 ResourceRecord &aRecord,
1445 ResourceRecord &aRecord,
Ddns_client.cpp328 ARecord aRecord; in GetAddress() local
334 SuccessOrExit(error = FindARecord(section, name, aIndex, aRecord)); in GetAddress()
336 aAddress.SynthesizeFromIp4Address(nat64Prefix, aRecord.GetAddress()); in GetAddress()
337 aTtl = aRecord.GetTtl(); in GetAddress()
1006 ARecord aRecord; in ParseResponse() local
1019 …se.FindARecord(Response::kAdditionalDataSection, queryName, /* aIndex */ 0, aRecord) == kErrorNone) in ParseResponse()
Ddns_types.cpp716 ResourceRecord &aRecord, in FindRecord() argument
740 error = ReadRecord(aMessage, offset, aType, aRecord, aMinRecordSize); in FindRecord()
760 offset = static_cast<uint16_t>(recordOffset + aRecord.GetSize()); in FindRecord()
772 ResourceRecord &aRecord, in ReadRecord() argument
788 IgnoreError(aMessage.Read(aOffset, &aRecord, aMinRecordSize)); in ReadRecord()
Dsrp_client.hpp825 …void UpdateRecordLengthInMessage(Dns::ResourceRecord &aRecord, uint16_t aOffset, Message &…
830 …Error ReadResourceRecord(const Message &aMessage, uint16_t &aOffset, Dns::ResourceRecord &aRecord);
Dsrp_client.cpp1155 void Client::UpdateRecordLengthInMessage(Dns::ResourceRecord &aRecord, uint16_t aOffset, Message &a… in UpdateRecordLengthInMessage() argument
1163 aRecord.SetLength(aMessage.GetLength() - aOffset - sizeof(Dns::ResourceRecord)); in UpdateRecordLengthInMessage()
1164 aMessage.Write(aOffset, aRecord); in UpdateRecordLengthInMessage()
1380 …lient::ReadResourceRecord(const Message &aMessage, uint16_t &aOffset, Dns::ResourceRecord &aRecord) in ReadResourceRecord() argument
1389 SuccessOrExit(error = aMessage.Read(aOffset, aRecord)); in ReadResourceRecord()
1390 VerifyOrExit(aOffset + aRecord.GetSize() <= aMessage.GetLength(), error = kErrorParse); in ReadResourceRecord()
1391 aOffset += static_cast<uint16_t>(aRecord.GetSize()); in ReadResourceRecord()
Dsrp_server.cpp869 bool Server::IsValidDeleteAllRecord(const Dns::ResourceRecord &aRecord) in IsValidDeleteAllRecord() argument
871 …return aRecord.GetClass() == Dns::ResourceRecord::kClassAny && aRecord.GetType() == Dns::ResourceR… in IsValidDeleteAllRecord()
872 aRecord.GetTtl() == 0 && aRecord.GetLength() == 0; in IsValidDeleteAllRecord()
Dsrp_server.hpp762 static bool IsValidDeleteAllRecord(const Dns::ResourceRecord &aRecord);