Lines Matching refs:ThisQInterval
388 if (m->CurrentQuestion == q) { q->ThisQInterval = 0; } // Deactivate this question in GenerateNegativeResponse()
474 q->ThisQInterval = 0; in AnswerLocalQuestionWithLocalAuthRecord()
2810 if (TimeToSendThisQuestion(q, m->timenow + q->ThisQInterval/10)) in AccelerateThisQuery()
2814 if (TimeToSendThisQuestion(q, m->timenow + q->ThisQInterval/2)) in AccelerateThisQuery()
2825 …rr->NextRequiredQuery - (m->timenow + q->ThisQInterval) > 0)// and we'll ask at least once again b… in AccelerateThisQuery()
2876 …else if (!mDNSOpaque16IsZero(q->TargetQID)) { q->LastQTime = m->timenow - q->ThisQInterval; cr… in SendQueries()
2903 q->ThisQInterval *= QuestionIntervalStep; in SendQueries()
2905 if (q->ThisQInterval > MaxQuestionInterval) in SendQueries()
2906 q->ThisQInterval = MaxQuestionInterval; in SendQueries()
2917 if (maxExistingQuestionInterval < q->ThisQInterval) in SendQueries()
2918 maxExistingQuestionInterval = q->ThisQInterval; in SendQueries()
2942 …(!q->Target.type && ActiveQuestion(q) && q->ThisQInterval <= maxExistingQuestionInterval && Accele… in SendQueries()
2947 if (m->timenow - (q->LastQTime + (q->ThisQInterval/2)) >= 0) in SendQueries()
2952 … q->qname.c, DNSTypeName(q->qtype), q->ThisQInterval / InitialQuestionInterval, q->RequestUnicast); in SendQueries()
2953 q->ThisQInterval *= QuestionIntervalStep; in SendQueries()
2954 if (q->ThisQInterval > MaxQuestionInterval) in SendQueries()
2955 q->ThisQInterval = MaxQuestionInterval; in SendQueries()
2956 …else if (q->CurrentAnswers == 0 && q->ThisQInterval == InitialQuestionInterval * QuestionIntervalS… in SendQueries()
2981 ExpireDupSuppressInfo(q->DupSuppress, m->timenow - q->ThisQInterval/2); in SendQueries()
3360 q->ThisQInterval = MaxQuestionInterval; in AnswerCurrentQuestionWithResourceRecord()
3529 …q->ThisQInterval > InitialQuestionInterval * QuestionIntervalStep3 && m->timenow - q->LastQTxTime … in CacheRecordAdd()
3532 q->qname.c, DNSTypeName(q->qtype), q->RecentAnswerPkts, q->ThisQInterval); in CacheRecordAdd()
3534 q->ThisQInterval = InitialQuestionInterval; in CacheRecordAdd()
3739 q->ThisQInterval = InitialQuestionInterval; in CheckCacheExpiration()
3740 q->LastQTime = m->timenow - q->ThisQInterval; in CheckCacheExpiration()
3951 q->ThisQInterval = InitialQuestionInterval; in AnswerNewQuestion()
3952 q->LastQTime = m->timenow - q->ThisQInterval; in AnswerNewQuestion()
4620 question->ThisQInterval = InitialQuestionInterval; in ActivateUnicastQuery()
4621 question->LastQTime = m->timenow - question->ThisQInterval; in ActivateUnicastQuery()
4758 q->ThisQInterval = InitialQuestionInterval; // MUST be > zero for an active question in mDNSCoreRestartQueries()
4760 q->LastQTime = m->timenow - q->ThisQInterval; in mDNSCoreRestartQueries()
4915 …r && intf->SPSAddr[sps].type == mDNSAddrType_IPv6 && intf->NetWakeResolve[sps].ThisQInterval == -1) in SendSPSRegistrationForOwner()
5009 question->ThisQInterval = -1; in NetWakeResolve()
5028 question->ThisQInterval = -1; in NetWakeResolve()
5092 …e, &intf->ip, NextQSendTime(&intf->NetWakeBrowse) - m->timenow, intf->NetWakeBrowse.ThisQInterval); in BeginSleepProcessing()
5105 if (intf->NetWakeResolve[i].ThisQInterval >= 0) in BeginSleepProcessing()
5106 …esolve[i].ThisQInterval %d", intf->ifname, i, intf->NetWakeResolve[i].ThisQInterval); *(long*)0 = … in BeginSleepProcessing()
5109 if (intf->NetWakeResolve[i].ThisQInterval >= 0) mDNS_StopQuery(m, &intf->NetWakeResolve[i]); in BeginSleepProcessing()
5110 intf->NetWakeResolve[i].ThisQInterval = -1; in BeginSleepProcessing()
5291 if (intf->NetWakeResolve[sps].ThisQInterval >= 0) in mDNSCoreReadyForSleep()
5336 if (intf->NetWakeBrowse.ThisQInterval >= 0) in mDNSCoreReadyForSleep()
6883 q->ThisQInterval = MaxQuestionInterval; in mDNSCoreReceiveResponse()
7655 q->ThisQInterval = question->ThisQInterval; in UpdateQuestionDuplicates()
8377 …question->ThisQInterval = InitialQuestionInterval; // MUST be > zero for an active question in mDNS_StartQuery_internal()
8530 if (nta->question.ThisQInterval != -1) in CancelGetZoneData()
8533 if (nta->question.ThisQInterval != -1) in CancelGetZoneData()
8534 … %d not -1", nta->question.qname.c, DNSTypeName(nta->question.qtype), nta->question.ThisQInterval); in CancelGetZoneData()
8554 if (question->ThisQInterval >= 0) // Only log error message if the query was supposed to be active in mDNS_StopQuery_internal()
8567 question->ThisQInterval = -1; in mDNS_StopQuery_internal()
8813 if (query->qAv6.ThisQInterval >= 0) mDNS_StopQuery(m, &query->qAv6); in FoundServiceInfoSRV()
8923 …query->qSRV.ThisQInterval = -1; // So that mDNS_StopResolveService() knows whether to cance… in mDNS_StartResolveService()
8943 …query->qTXT.ThisQInterval = -1; // So that mDNS_StopResolveService() knows whether to cance… in mDNS_StartResolveService()
8963 …query->qAv4.ThisQInterval = -1; // So that mDNS_StopResolveService() knows whether to cance… in mDNS_StartResolveService()
8983 …query->qAv6.ThisQInterval = -1; // So that mDNS_StopResolveService() knows whether to cance… in mDNS_StartResolveService()
9031 if (q->qSRV.ThisQInterval >= 0) mDNS_StopQuery_internal(m, &q->qSRV); in mDNS_StopResolveService()
9032 if (q->qTXT.ThisQInterval >= 0) mDNS_StopQuery_internal(m, &q->qTXT); in mDNS_StopResolveService()
9033 if (q->qAv4.ThisQInterval >= 0) mDNS_StopQuery_internal(m, &q->qAv4); in mDNS_StopResolveService()
9034 if (q->qAv6.ThisQInterval >= 0) mDNS_StopQuery_internal(m, &q->qAv6); in mDNS_StopResolveService()
9370 set->NetWakeBrowse.ThisQInterval = -1; in InitializeNetWakeState()
9373 set->NetWakeResolve[i].ThisQInterval = -1; in InitializeNetWakeState()
9399 if (set->NetWakeBrowse.ThisQInterval >= 0) in mDNS_DeactivateNetWake_internal()
9406 …for (i=0; i<3; i++) if (set->NetWakeResolve[i].ThisQInterval >= 0) mDNS_StopQuery_internal(m, &set… in mDNS_DeactivateNetWake_internal()
9531 if (!q->ThisQInterval || q->ThisQInterval > initial) in mDNS_RegisterInterface()
9533 q->ThisQInterval = initial; in mDNS_RegisterInterface()
9536 q->LastQTime = m->timenow - q->ThisQInterval + qdelay; in mDNS_RegisterInterface()
9632 if (q->InterfaceID == set->InterfaceID) q->ThisQInterval = 0; in mDNS_DeregisterInterface()
10722 m->ReverseMap.ThisQInterval = -1; in mDNS_Init()