Home
last modified time | relevance | path

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

/openthread-latest/src/core/net/
Ddnssd_server.cpp299 uint16_t questionCount = mHeader.GetQuestionCount(); in ParseQuestions()
386 mHeader.SetQuestionCount(aRequest.mHeader.GetQuestionCount()); in AddQuestionsFrom()
390 for (uint16_t questionCount = 0; questionCount < mHeader.GetQuestionCount(); questionCount++) in AddQuestionsFrom()
893 for (uint16_t i = 0; i < aRequest.mHeader.GetQuestionCount(); i++) in ShouldForwardToUpstream()
Ddns_types.hpp301 uint16_t GetQuestionCount(void) const { return BigEndian::HostSwap16(mQdCount); } in GetQuestionCount() function in ot::Dns::Header
399 uint16_t GetZoneRecordCount(void) const { return GetQuestionCount(); } in GetZoneRecordCount()
Ddns_client.cpp389 for (uint16_t num = 0; num < header.GetQuestionCount(); num++) in PopulateFrom()
1382 if (header.GetQuestionCount() == kQuestionCount[info.mQueryType]) in ParseResponse()
1392 …yOrExit((header.GetResponseCode() != Header::kResponseSuccess) && (header.GetQuestionCount() == 0), in ParseResponse()
Ddns_dso.cpp702 VerifyOrExit((header.GetQuestionCount() == 0) && (header.GetAnswerCount() == 0) && in HandleReceive()
Dmdns.cpp484 mCounts[kQuestionSection] = aHeader.GetQuestionCount(); in ReadFrom()
3517 if (mIsQuery && header.GetQuestionCount() == 1) in Init()
/openthread-latest/tests/unit/
Dtest_mdns.cpp651 mHeader.GetQuestionCount(), mHeader.GetAnswerCount(), mHeader.GetAuthorityRecordCount(), in ParseFrom()
654 if (mHeader.GetQuestionCount() > 0) in ParseFrom()
659 for (uint16_t num = mHeader.GetQuestionCount(); num > 0; num--) in ParseFrom()
679 VerifyOrQuit(mHeader.GetQuestionCount() == aQuestionCount); in ValidateHeader()
Dtest_dns.cpp1283 VerifyOrQuit(header.GetQuestionCount() == kQuestionCount); in TestHeaderAndResourceRecords()