• Home
  • Raw
  • Download

Lines Matching refs:CurrentQuestion

382 …if (!m->CurrentQuestion) { LogMsg("GenerateNegativeResponse: ERROR!! CurrentQuestion not set"); re…  in GenerateNegativeResponse()
383 q = m->CurrentQuestion; in GenerateNegativeResponse()
388 if (m->CurrentQuestion == q) { q->ThisQInterval = 0; } // Deactivate this question in GenerateNegativeResponse()
444 DNSQuestion *q = m->CurrentQuestion; in AnswerLocalQuestionWithLocalAuthRecord()
481 if (followcname && m->CurrentQuestion == q) in AnswerLocalQuestionWithLocalAuthRecord()
493 if (m->CurrentQuestion) in AnswerInterfaceAnyQuestionsWithLocalAuthRecord()
495 m->CurrentQuestion->qname.c, DNSTypeName(m->CurrentQuestion->qtype)); in AnswerInterfaceAnyQuestionsWithLocalAuthRecord()
496 m->CurrentQuestion = m->Questions; in AnswerInterfaceAnyQuestionsWithLocalAuthRecord()
497 while (m->CurrentQuestion && m->CurrentQuestion != m->NewQuestions) in AnswerInterfaceAnyQuestionsWithLocalAuthRecord()
500 DNSQuestion *q = m->CurrentQuestion; in AnswerInterfaceAnyQuestionsWithLocalAuthRecord()
507 if (m->CurrentQuestion == q) // If m->CurrentQuestion was not auto-advanced, do it ourselves now in AnswerInterfaceAnyQuestionsWithLocalAuthRecord()
508 m->CurrentQuestion = q->next; in AnswerInterfaceAnyQuestionsWithLocalAuthRecord()
510 m->CurrentQuestion = mDNSNULL; in AnswerInterfaceAnyQuestionsWithLocalAuthRecord()
526 if (m->CurrentQuestion) in AnswerAllLocalQuestionsWithLocalAuthRecord()
528 m->CurrentQuestion->qname.c, DNSTypeName(m->CurrentQuestion->qtype)); in AnswerAllLocalQuestionsWithLocalAuthRecord()
530 m->CurrentQuestion = m->LocalOnlyQuestions; in AnswerAllLocalQuestionsWithLocalAuthRecord()
531 while (m->CurrentQuestion && m->CurrentQuestion != m->NewLocalOnlyQuestions) in AnswerAllLocalQuestionsWithLocalAuthRecord()
534 DNSQuestion *q = m->CurrentQuestion; in AnswerAllLocalQuestionsWithLocalAuthRecord()
542 if (m->CurrentQuestion == q) // If m->CurrentQuestion was not auto-advanced, do it ourselves now in AnswerAllLocalQuestionsWithLocalAuthRecord()
543 m->CurrentQuestion = q->next; in AnswerAllLocalQuestionsWithLocalAuthRecord()
546 m->CurrentQuestion = mDNSNULL; in AnswerAllLocalQuestionsWithLocalAuthRecord()
2885 if (m->CurrentQuestion) in SendQueries()
2886 … m->CurrentQuestion already set: %##s (%s)", m->CurrentQuestion->qname.c, DNSTypeName(m->CurrentQu… in SendQueries()
2887 m->CurrentQuestion = m->Questions; in SendQueries()
2888 while (m->CurrentQuestion && m->CurrentQuestion != m->NewQuestions) in SendQueries()
2890 q = m->CurrentQuestion; in SendQueries()
2923 if (q == m->CurrentQuestion) m->CurrentQuestion = m->CurrentQuestion->next; in SendQueries()
2925 while (m->CurrentQuestion) in SendQueries()
2927 …ion loop 1: Skipping NewQuestion %##s (%s)", m->CurrentQuestion->qname.c, DNSTypeName(m->CurrentQu… in SendQueries()
2928 m->CurrentQuestion = m->CurrentQuestion->next; in SendQueries()
2930 m->CurrentQuestion = mDNSNULL; in SendQueries()
3305 DNSQuestion *const q = m->CurrentQuestion; in AnswerCurrentQuestionWithResourceRecord()
3388 if (followcname && m->CurrentQuestion == q) in AnswerCurrentQuestionWithResourceRecord()
3417 if (m->CurrentQuestion) in AnswerQuestionsForDNSServerChanges()
3419 m->CurrentQuestion->qname.c, DNSTypeName(m->CurrentQuestion->qtype)); in AnswerQuestionsForDNSServerChanges()
3434 m->CurrentQuestion = q; in AnswerQuestionsForDNSServerChanges()
3461 if (m->CurrentQuestion != q) break; // If callback deleted q, then we're finished here in AnswerQuestionsForDNSServerChanges()
3465 m->CurrentQuestion = mDNSNULL; in AnswerQuestionsForDNSServerChanges()
3471 if (m->CurrentQuestion) in CacheRecordDeferredAdd()
3473 m->CurrentQuestion->qname.c, DNSTypeName(m->CurrentQuestion->qtype)); in CacheRecordDeferredAdd()
3474 m->CurrentQuestion = m->Questions; in CacheRecordDeferredAdd()
3475 while (m->CurrentQuestion && m->CurrentQuestion != m->NewQuestions) in CacheRecordDeferredAdd()
3477 DNSQuestion *q = m->CurrentQuestion; in CacheRecordDeferredAdd()
3480 if (m->CurrentQuestion == q) // If m->CurrentQuestion was not auto-advanced, do it ourselves now in CacheRecordDeferredAdd()
3481 m->CurrentQuestion = q->next; in CacheRecordDeferredAdd()
3483 m->CurrentQuestion = mDNSNULL; in CacheRecordDeferredAdd()
3560 if (m->CurrentQuestion) in CacheRecordAdd()
3561 … m->CurrentQuestion already set: %##s (%s)", m->CurrentQuestion->qname.c, DNSTypeName(m->CurrentQu… in CacheRecordAdd()
3562 m->CurrentQuestion = m->Questions; in CacheRecordAdd()
3563 while (m->CurrentQuestion && m->CurrentQuestion != m->NewQuestions) in CacheRecordAdd()
3565 q = m->CurrentQuestion; in CacheRecordAdd()
3568 if (m->CurrentQuestion == q) // If m->CurrentQuestion was not auto-advanced, do it ourselves now in CacheRecordAdd()
3569 m->CurrentQuestion = q->next; in CacheRecordAdd()
3571 m->CurrentQuestion = mDNSNULL; in CacheRecordAdd()
3590 if (m->CurrentQuestion) in NoCacheAnswer()
3591 … m->CurrentQuestion already set: %##s (%s)", m->CurrentQuestion->qname.c, DNSTypeName(m->CurrentQu… in NoCacheAnswer()
3592 m->CurrentQuestion = m->Questions; in NoCacheAnswer()
3595 while (m->CurrentQuestion) in NoCacheAnswer()
3597 DNSQuestion *q = m->CurrentQuestion; in NoCacheAnswer()
3600 if (m->CurrentQuestion == q) // If m->CurrentQuestion was not auto-advanced, do it ourselves now in NoCacheAnswer()
3601 m->CurrentQuestion = q->next; in NoCacheAnswer()
3603 m->CurrentQuestion = mDNSNULL; in NoCacheAnswer()
3617 if (m->CurrentQuestion) in CacheRecordRmv()
3619 m->CurrentQuestion->qname.c, DNSTypeName(m->CurrentQuestion->qtype)); in CacheRecordRmv()
3620 m->CurrentQuestion = m->Questions; in CacheRecordRmv()
3624 while (m->CurrentQuestion && m->CurrentQuestion != m->NewQuestions) in CacheRecordRmv()
3626 DNSQuestion *q = m->CurrentQuestion; in CacheRecordRmv()
3645 m->CurrentQuestion = q->next; in CacheRecordRmv()
3669 if (m->CurrentQuestion == q) // If m->CurrentQuestion was not auto-advanced, do it ourselves now in CacheRecordRmv()
3670 m->CurrentQuestion = q->next; in CacheRecordRmv()
3672 m->CurrentQuestion = mDNSNULL; in CacheRecordRmv()
3821 if (m->CurrentQuestion) in AnswerNewQuestion()
3823 m->CurrentQuestion->qname.c, DNSTypeName(m->CurrentQuestion->qtype)); in AnswerNewQuestion()
3824 …m->CurrentQuestion = q; // Indicate which question we're answering, so we'll know if it gets dele… in AnswerNewQuestion()
3833 if (m->CurrentQuestion == q) q->NoAnswer = NoAnswer_Fail; // Restore NoAnswer state in AnswerNewQuestion()
3836 …if (m->CurrentQuestion != q) { LogInfo("AnswerNewQuestion: Question deleted while generating NoAns… in AnswerNewQuestion()
3862 if (m->CurrentQuestion != q) break; // If callback deleted q, then we're finished here in AnswerNewQuestion()
3868 …if (m->CurrentQuestion != q) { LogInfo("AnswerNewQuestion: Question deleted while while giving Loc… in AnswerNewQuestion()
3925 if (m->CurrentQuestion != q) break; // If callback deleted q, then we're finished here in AnswerNewQuestion()
3932 …if (m->CurrentQuestion != q) { debugf("AnswerNewQuestion: Question deleted while giving cache answ… in AnswerNewQuestion()
3944 …if (m->CurrentQuestion != q) { debugf("AnswerNewQuestion: Question deleted while giving negative a… in AnswerNewQuestion()
3970 m->CurrentQuestion = mDNSNULL; in AnswerNewQuestion()
3985 if (m->CurrentQuestion) in AnswerNewLocalOnlyQuestion()
3987 m->CurrentQuestion->qname.c, DNSTypeName(m->CurrentQuestion->qtype)); in AnswerNewLocalOnlyQuestion()
3988 …m->CurrentQuestion = q; // Indicate which question we're answering, so we'll know if it gets dele… in AnswerNewLocalOnlyQuestion()
4008 if (m->CurrentQuestion != q) break; // If callback deleted q, then we're finished here in AnswerNewLocalOnlyQuestion()
4013 if (m->CurrentQuestion == q) in AnswerNewLocalOnlyQuestion()
4024 if (m->CurrentQuestion != q) break; // If callback deleted q, then we're finished here in AnswerNewLocalOnlyQuestion()
4029 m->CurrentQuestion = mDNSNULL; in AnswerNewLocalOnlyQuestion()
4259 if (m->CurrentQuestion) in TimeoutQuestions()
4260 …LogMsg("TimeoutQuestions ERROR m->CurrentQuestion already set: %##s (%s)", m->CurrentQuestion->qna… in TimeoutQuestions()
4261 DNSTypeName(m->CurrentQuestion->qtype)); in TimeoutQuestions()
4262 m->CurrentQuestion = m->Questions; in TimeoutQuestions()
4263 while (m->CurrentQuestion) in TimeoutQuestions()
4265 DNSQuestion *const q = m->CurrentQuestion; in TimeoutQuestions()
4272 if (m->CurrentQuestion == q) q->StopTime = 0; in TimeoutQuestions()
4283 if (m->CurrentQuestion == q) in TimeoutQuestions()
4284 m->CurrentQuestion = q->next; in TimeoutQuestions()
4286 m->CurrentQuestion = mDNSNULL; in TimeoutQuestions()
4302 if (m->CurrentQuestion) in mDNS_Execute()
4304 m->CurrentQuestion->qname.c, DNSTypeName(m->CurrentQuestion->qtype)); in mDNS_Execute()
4742 if (m->CurrentQuestion) in mDNSCoreRestartQueries()
4744 m->CurrentQuestion->qname.c, DNSTypeName(m->CurrentQuestion->qtype)); in mDNSCoreRestartQueries()
4745 m->CurrentQuestion = m->Questions; in mDNSCoreRestartQueries()
4746 while (m->CurrentQuestion) in mDNSCoreRestartQueries()
4748 q = m->CurrentQuestion; in mDNSCoreRestartQueries()
4749 m->CurrentQuestion = m->CurrentQuestion->next; in mDNSCoreRestartQueries()
7084 m->CurrentQuestion = qptr; in mDNSCoreReceiveResponse()
7086 m->CurrentQuestion = mDNSNULL; in mDNSCoreReceiveResponse()
8143 if (m->CurrentQuestion != q) break; // If callback deleted q, then we're finished here in CacheRecordRmvEventsForCurrentQuestion()
8162 if (m->CurrentQuestion) in LocalRecordRmvEventsForQuestion()
8164 m->CurrentQuestion->qname.c, DNSTypeName(m->CurrentQuestion->qtype)); in LocalRecordRmvEventsForQuestion()
8171 m->CurrentQuestion = q; in LocalRecordRmvEventsForQuestion()
8190 if (m->CurrentQuestion != q) { m->CurrentQuestion = mDNSNULL; return mDNSfalse; } in LocalRecordRmvEventsForQuestion()
8193 m->CurrentQuestion = mDNSNULL; in LocalRecordRmvEventsForQuestion()
8201 if (m->CurrentQuestion) in CacheRecordRmvEventsForQuestion()
8203 m->CurrentQuestion->qname.c, DNSTypeName(m->CurrentQuestion->qtype)); in CacheRecordRmvEventsForQuestion()
8209 m->CurrentQuestion = q; in CacheRecordRmvEventsForQuestion()
8211 if (m->CurrentQuestion != q) { m->CurrentQuestion = mDNSNULL; return mDNSfalse; } in CacheRecordRmvEventsForQuestion()
8212 m->CurrentQuestion = mDNSNULL; in CacheRecordRmvEventsForQuestion()
8591 if (m->CurrentQuestion == question) in mDNS_StopQuery_internal()
8595 m->CurrentQuestion = question->next; in mDNS_StopQuery_internal()
10672 m->CurrentQuestion = mDNSNULL; in mDNS_Init()