Home
last modified time | relevance | path

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

/openthread-latest/src/core/net/
Ddns_client.cpp396 IgnoreError(ResourceRecord::ParseRecords(aMessage, offset, header.GetAnswerCount())); in PopulateFrom()
401 mAnswerRecordCount = header.GetAnswerCount(); in PopulateFrom()
1398 …essOrExit(error = ResourceRecord::ParseRecords(aResponseMessage, offset, header.GetAnswerCount())); in ParseResponse()
1590 VerifyOrExit(header.GetAnswerCount() == 0); in ReplaceWithIp4Query()
Ddns_types.hpp315 uint16_t GetAnswerCount(void) const { return BigEndian::HostSwap16(mAnCount); } in GetAnswerCount() function in ot::Dns::Header
413 uint16_t GetPrerequisiteRecordCount(void) const { return GetAnswerCount(); } in GetPrerequisiteRecordCount()
Ddnssd_server.cpp712 mHeader.SetAnswerCount(mHeader.GetAnswerCount() + 1); in IncResourceRecordCount()
830 VerifyOrExit(mHeader.GetAnswerCount() == 1); in ResolveBySrp()
Ddns_dso.cpp702 VerifyOrExit((header.GetQuestionCount() == 0) && (header.GetAnswerCount() == 0) && in HandleReceive()
Dmdns.cpp485 mCounts[kAnswerSection] = aHeader.GetAnswerCount(); in ReadFrom()
/openthread-latest/tests/unit/
Dtest_dns.cpp1284 VerifyOrQuit(header.GetAnswerCount() == kAnswerCount); in TestHeaderAndResourceRecords()
Dtest_mdns.cpp651 mHeader.GetQuestionCount(), mHeader.GetAnswerCount(), mHeader.GetAuthorityRecordCount(), in ParseFrom()
667 ParseRecords(aMessage, offset, mHeader.GetAnswerCount(), mAnswerRecords, "Answer"); in ParseFrom()
680 VerifyOrQuit(mHeader.GetAnswerCount() == aAnswerCount); in ValidateHeader()