Home
last modified time | relevance | path

Searched refs:aaaaRecord (Results 1 – 4 of 4) sorted by relevance

/external/openthread/tests/unit/
Dtest_dns.cpp819 Dns::AaaaRecord aaaaRecord; in TestHeaderAndResourceRecords() local
910 aaaaRecord.Init(); in TestHeaderAndResourceRecords()
911 aaaaRecord.SetTtl(kTtl); in TestHeaderAndResourceRecords()
912 aaaaRecord.SetAddress(hostAddress); in TestHeaderAndResourceRecords()
913 SuccessOrQuit(message->Append(aaaaRecord)); in TestHeaderAndResourceRecords()
1049 SuccessOrQuit(Dns::ResourceRecord::ReadRecord(*message, offset, aaaaRecord)); in TestHeaderAndResourceRecords()
1050 VerifyOrQuit(aaaaRecord.GetTtl() == kTtl); in TestHeaderAndResourceRecords()
1051 VerifyOrQuit(aaaaRecord.GetAddress() == hostAddress); in TestHeaderAndResourceRecords()
1052 printf(" \"%s\" AAAA %u %d \"%s\"\n", kHostName, aaaaRecord.GetTtl(), aaaaRecord.GetLength(), in TestHeaderAndResourceRecords()
1053 aaaaRecord.GetAddress().ToString().AsCString()); in TestHeaderAndResourceRecords()
/external/openthread/src/core/net/
Ddns_client.cpp188 AaaaRecord aaaaRecord; in FindHostAddress() local
193 …rExit(error = ResourceRecord::FindRecord(*mMessage, offset, numRecords, aIndex, name, aaaaRecord)); in FindHostAddress()
194 aAddress = aaaaRecord.GetAddress(); in FindHostAddress()
195 aTtl = aaaaRecord.GetTtl(); in FindHostAddress()
Ddnssd_server.cpp392 AaaaRecord aaaaRecord; in AppendAaaaRecord() local
395 aaaaRecord.Init(); in AppendAaaaRecord()
396 aaaaRecord.SetTtl(aTtl); in AppendAaaaRecord()
397 aaaaRecord.SetAddress(aAddress); in AppendAaaaRecord()
400 error = aMessage.Append(aaaaRecord); in AppendAaaaRecord()
Dsrp_server.cpp831 Dns::AaaaRecord aaaaRecord; in ProcessHostDescriptionInstruction() local
839 SuccessOrExit(error = aMessage.Read(offset, aaaaRecord)); in ProcessHostDescriptionInstruction()
840 VerifyOrExit(aaaaRecord.IsValid(), error = kErrorParse); in ProcessHostDescriptionInstruction()
843 … VerifyOrExit(aHost.AddIp6Address(aaaaRecord.GetAddress()) != kErrorNoBufs, error = kErrorNoBufs); in ProcessHostDescriptionInstruction()