Searched refs:GetQuestionCount (Results 1 – 5 of 5) sorted by relevance
300 uint16_t questionCount = mHeader.GetQuestionCount(); in ParseQuestions()381 mHeader.SetQuestionCount(aRequest.mHeader.GetQuestionCount()); in AddQuestionsFrom()385 for (uint16_t questionCount = 0; questionCount < mHeader.GetQuestionCount(); questionCount++) in AddQuestionsFrom()840 for (uint16_t i = 0; i < aRequest.mHeader.GetQuestionCount(); i++) in ShouldForwardToUpstream()
334 uint16_t GetQuestionCount(void) const { return HostSwap16(mQdCount); } in GetQuestionCount() function in ot::Dns::Header442 uint16_t GetZoneRecordCount(void) const { return GetQuestionCount(); } in GetZoneRecordCount()
402 for (uint16_t num = 0; num < header.GetQuestionCount(); num++) in PopulateFrom()1387 if (header.GetQuestionCount() == kQuestionCount[info.mQueryType]) in ParseResponse()1397 …yOrExit((header.GetResponseCode() != Header::kResponseSuccess) && (header.GetQuestionCount() == 0), in ParseResponse()
715 VerifyOrExit((header.GetQuestionCount() == 0) && (header.GetAnswerCount() == 0) && in HandleReceive()
1029 VerifyOrQuit(header.GetQuestionCount() == kQuestionCount); in TestHeaderAndResourceRecords()