Searched refs:numRecords (Results 1 – 3 of 3) sorted by relevance
/openthread-2.7.6/src/core/net/ |
D | dns_client.cpp | 144 uint16_t numRecords; in CheckForHostNameAlias() local 149 SelectSection(aSection, offset, numRecords); in CheckForHostNameAlias() 150 …error = ResourceRecord::FindRecord(*mMessage, offset, numRecords, /* aIndex */ 0, aHostName, cname… in CheckForHostNameAlias() 182 uint16_t numRecords; in FindHostAddress() local 188 SelectSection(aSection, offset, numRecords); in FindHostAddress() 189 …SuccessOrExit(error = ResourceRecord::FindRecord(*mMessage, offset, numRecords, aIndex, name, aaaa… in FindHostAddress() 203 uint16_t numRecords; in FindARecord() local 208 SelectSection(aSection, offset, numRecords); in FindARecord() 209 error = ResourceRecord::FindRecord(*mMessage, offset, numRecords, aIndex, name, aARecord); in FindARecord() 231 uint16_t numRecords; in FindServiceInfo() local [all …]
|
D | srp_server.cpp | 638 for (uint16_t numRecords = aDnsHeader.GetUpdateRecordCount(); numRecords > 0; numRecords--) in ProcessHostDescriptionInstruction() local 713 for (uint16_t numRecords = aDnsHeader.GetUpdateRecordCount(); numRecords > 0; numRecords--) in ProcessServiceDiscoveryInstructions() local 783 for (uint16_t numRecords = aDnsHeader.GetUpdateRecordCount(); numRecords > 0; numRecords--) in ProcessServiceDescriptionInstructions() local
|
/openthread-2.7.6/tests/unit/ |
D | test_dns.cpp | 765 uint16_t numRecords; in TestHeaderAndResourceRecords() local 931 numRecords = kAnswerCount; in TestHeaderAndResourceRecords() 933 while (numRecords > 0) in TestHeaderAndResourceRecords() 935 uint16_t prevNumRecords = numRecords; in TestHeaderAndResourceRecords() 937 …SuccessOrQuit(Dns::ResourceRecord::FindRecord(*message, offset, numRecords, Dns::Name(kServiceName… in TestHeaderAndResourceRecords() 938 VerifyOrQuit(numRecords == prevNumRecords - 1, "Incorrect num records"); in TestHeaderAndResourceRecords() 947 …VerifyOrQuit(Dns::ResourceRecord::FindRecord(*message, offset, numRecords, Dns::Name(kServiceName)… in TestHeaderAndResourceRecords() 954 numRecords = kAnswerCount; in TestHeaderAndResourceRecords() 956 while (numRecords > 0) in TestHeaderAndResourceRecords() 958 …SuccessOrQuit(Dns::ResourceRecord::FindRecord(*message, offset, numRecords, Dns::Name(kServiceName… in TestHeaderAndResourceRecords() [all …]
|