Home
last modified time | relevance | path

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

/openthread-latest/src/core/net/
Dmdns.hpp1322 struct Question : public Clearable<Question> struct in ot::Dns::Multicast::Core::RxMessage
1324 Question(void) { Clear(); } in Question() function
1340 void ProcessQuestion(Question &aQuestion);
1341 void AnswerQuestion(const Question &aQuestion, uint16_t aDelay);
1342 …void AnswerServiceTypeQuestion(const Question &aQuestion, const AnswerInfo &aInfo, ServiceEntry &a…
1346 bool ParseQuestionNameAsSubType(const Question &aQuestion,
1349 void AnswerAllServicesQuestion(const Question &aQuestion, const AnswerInfo &aInfo);
1350 … bool ShouldSuppressKnownAnswer(const Question &aQuestion, const ServiceType &aServiceType) const;
1363 Heap::Array<Question> mQuestions;
Ddns_types.hpp2660 class Question class
2666 Question(void) = default;
2671 explicit Question(uint16_t aType, uint16_t aClass = ResourceRecord::kClassInternet) in Question() function in ot::Dns::Question
2714 class Zone : public Question
2723 : Question(ResourceRecord::kTypeSoa, aClass) in Zone()
Dmdns.cpp1366 Question question; in AppendQuestionTo()
3222 offset += sizeof(ot::Dns::Question); in AddQuestionFrom()
3553 Question *question = mQuestions.PushBack(); in Init()
3554 ot::Dns::Question record; in Init()
3584 for (Question &question : mQuestions) in Init()
3613 for (Question &question : mQuestions) in ClearProcessState()
3627 for (Question &question : mQuestions) in ProcessQuery()
3672 for (const Question &question : mQuestions) in ProcessQuery()
3686 void Core::RxMessage::ProcessQuestion(Question &aQuestion) in ProcessQuestion()
3784 void Core::RxMessage::AnswerQuestion(const Question &aQuestion, uint16_t aDelay) in AnswerQuestion()
[all …]
Ddns_client.cpp392 offset += sizeof(Question); in PopulateFrom()
1132 … SuccessOrExit(error = message->Append(Question(kQuestionRecordTypes[aInfo.mQueryType][num]))); in SendQuery()
1387 offset += sizeof(Question); in ParseResponse()
Ddnssd_server.cpp300 Question question; in ParseQuestions()
392 Question question; in AddQuestionsFrom()
896 readOffset += sizeof(Question); in ShouldForwardToUpstream()
/openthread-latest/tests/unit/
Dtest_dns.cpp1205 SuccessOrQuit(message->Append(Dns::Question(Dns::ResourceRecord::kTypePtr))); in TestHeaderAndResourceRecords()
1291 VerifyOrQuit(message->Compare(offset, Dns::Question(Dns::ResourceRecord::kTypePtr))); in TestHeaderAndResourceRecords()
1292 offset += sizeof(Dns::Question); in TestHeaderAndResourceRecords()
Dtest_mdns.cpp170 Question question; in ParseFrom()
174 aOffset += sizeof(Question); in ParseFrom()
1120 SuccessOrQuit(message->Append(Question(aRecordType, aRecordClass))); in SendQuery()
1152 SuccessOrQuit(message->Append(Question(aRecordType1, ResourceRecord::kClassInternet))); in SendQueryForTwo()
1154 SuccessOrQuit(message->Append(Question(aRecordType2, ResourceRecord::kClassInternet))); in SendQueryForTwo()
1422 …SuccessOrQuit(message->Append(Question(ResourceRecord::kTypePtr, ResourceRecord::kClassInternet))); in SendPtrQueryWithKnownAnswers()