Home
last modified time | relevance | path

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

/openthread-3.6.0/src/core/net/
Ddns_client.cpp404 IgnoreError(ResourceRecord::ParseRecords(aMessage, offset, header.GetAnswerCount())); in PopulateFrom()
409 mAnswerRecordCount = header.GetAnswerCount(); in PopulateFrom()
1398 …essOrExit(error = ResourceRecord::ParseRecords(aResponseMessage, offset, header.GetAnswerCount())); in ParseResponse()
Ddns_types.hpp347 uint16_t GetAnswerCount(void) const { return BigEndian::HostSwap16(mAnCount); } in GetAnswerCount() function in ot::Dns::Header
455 uint16_t GetPrerequisiteRecordCount(void) const { return GetAnswerCount(); } in GetPrerequisiteRecordCount()
Ddnssd_server.cpp661 mHeader.SetAnswerCount(mHeader.GetAnswerCount() + 1); in IncResourceRecordCount()
777 VerifyOrExit(mHeader.GetAnswerCount() == 1); in ResolveBySrp()
Ddns_dso.cpp715 VerifyOrExit((header.GetQuestionCount() == 0) && (header.GetAnswerCount() == 0) && in HandleReceive()
/openthread-3.6.0/tests/unit/
Dtest_dns.cpp1207 VerifyOrQuit(header.GetAnswerCount() == kAnswerCount); in TestHeaderAndResourceRecords()