Searched refs:ThisQInterval (Results 1 - 5 of 5) sorted by relevance

/external/mdnsresponder/mDNSCore/
H A DuDNS.c226 q->ThisQInterval = 0; // Inactivate this question so that we dont bombard the network
243 q->ThisQInterval = InitialQuestionInterval;
244 q->LastQTime = m->timenow - q->ThisQInterval;
268 // Be careful not to touch the ThisQInterval here. For a normal question, when we answer the question
269 // in AnswerCurrentQuestionWithResourceRecord will set ThisQInterval to MaxQuestionInterval and hence
273 LogInfo("PenalizeDNSServer: Server for %p, %##s (%s) changed to NULL, Interval %d", q, q->qname.c, DNSTypeName(q->qtype), q->ThisQInterval);
692 q->ThisQInterval = INIT_UCAST_POLL_INTERVAL;
695 q->LastQTime = m->timenow - q->ThisQInterval + 1;
775 q->ThisQInterval = q->tcp ? 0 : (kLLQ_INIT_RESEND * q->ntries * mDNSPlatformOneSecond); // If using TCP, don't need to retransmit
797 q->ThisQInterval
[all...]
H A DmDNS.c388 if (m->CurrentQuestion == q) { q->ThisQInterval = 0; } // Deactivate this question
474 q->ThisQInterval = 0;
2810 if (TimeToSendThisQuestion(q, m->timenow + q->ThisQInterval/10))
2814 if (TimeToSendThisQuestion(q, m->timenow + q->ThisQInterval/2))
2825 rr->NextRequiredQuery - (m->timenow + q->ThisQInterval) > 0)// and we'll ask at least once again before NextRequiredQuery
2876 else if (!mDNSOpaque16IsZero(q->TargetQID)) { q->LastQTime = m->timenow - q->ThisQInterval; cr->UnansweredQueries++; }
2903 q->ThisQInterval *= QuestionIntervalStep;
2905 if (q->ThisQInterval > MaxQuestionInterval)
2906 q->ThisQInterval = MaxQuestionInterval;
2917 if (maxExistingQuestionInterval < q->ThisQInterval)
[all...]
H A DmDNSEmbeddedAPI.h1499 #define NextQSendTime(Q) ((Q)->LastQTime + (Q)->ThisQInterval)
1500 #define ActiveQuestion(Q) ((Q)->ThisQInterval > 0 && !(Q)->DuplicateOf)
1510 mDNSs32 ThisQInterval; // LastQTime + ThisQInterval is the next scheduled transmission of this Q member in struct:DNSQuestion_struct
1511 // ThisQInterval > 0 for an active question;
1512 // ThisQInterval = 0 for a suspended question that's still in the list
1513 // ThisQInterval = -1 for a cancelled question (should not still be in list)
/external/mdnsresponder/mDNSShared/
H A Ddnssd_clientshim.c435 if (x->qSRV.ThisQInterval >= 0) mDNS_StopQuery(&mDNSStorage, &x->qSRV);
436 if (x->qTXT.ThisQInterval >= 0) mDNS_StopQuery(&mDNSStorage, &x->qTXT);
502 x->qSRV.ThisQInterval = -1; // So that DNSServiceResolveDispose() knows whether to cancel this question
522 x->qTXT.ThisQInterval = -1; // So that DNSServiceResolveDispose() knows whether to cancel this question
610 if (x->q.ThisQInterval >= 0) mDNS_StopQuery(&mDNSStorage, &x->q);
652 x->q.ThisQInterval = -1; // So that DNSServiceResolveDispose() knows whether to cancel this question
H A Duds_daemon.c2726 question->ThisQInterval = 0;
4390 mDNSs32 i = q->ThisQInterval / mDNSPlatformOneSecond;
4394 if (q->ThisQInterval) CacheActive++;
4470 c->prefix, c->dstname.c, &c->loc_inner, &c->loc_outer, &c->loc_outer6, &c->rmt_inner, &c->rmt_outer, mDNSVal16(c->rmt_outer_port), &c->rmt_outer6, c->q.ThisQInterval);

Completed in 1029 milliseconds