Lines Matching refs:AnnounceCount
597 #define TimeToAnnounceThisRecord(RR,time) ((RR)->AnnounceCount && (time) - ((RR)->LastAPTime + (RR)->ThisAPInterval) >= 0)
693 else if (rr->AnnounceCount && (ResourceRecordIsValidAnswer(rr) || rr->resrec.RecordType == kDNSRecordTypeDeregistering))
851 rr->AnnounceCount = InitialAnnounceCount;
919 rr->AnnounceCount = 0;
969 (*rp)->AnnounceCount = 0;
1137 rr->AnnounceCount = InitialAnnounceCount;
1163 if (rr->WakeUp.HMAC.l[0] && !rr->AddressProxy.type) rr->AnnounceCount = 2;
1258 rr->AnnounceCount = 0;
1268 rr->AnnounceCount = 0;
1276 if (r->resrec.RecordType == kDNSRecordTypeDeregistering) r->AnnounceCount = 0;
1418 dup->AnnounceCount = rr->AnnounceCount;
1527 rr->AnnounceCount = rr->WakeUp.HMAC.l[0] ? WakeupCount : (drt == mDNS_Dereg_rapid) ? 1 : GoodbyeCount;
2082 if (rr->AnnounceCount) rr->ImmedAnswer = mDNSInterfaceMark; // Send goodbye packet on all interfaces
2086 LogSPS("SendResponses: Sending wakeup %2d for %.6a %s", rr->AnnounceCount-3, &rr->WakeUp.IMAC, ARDisplayString(m, rr));
2089 if (r2->AnnounceCount && r2->resrec.InterfaceID == rr->resrec.InterfaceID && mDNSSameEthAddress(&r2->WakeUp.IMAC, &rr->WakeUp.IMAC))
2093 if (r2->AddressProxy.type == mDNSAddrType_IPv6 && r2->AnnounceCount == WakeupCount)
2096 r2->AnnounceCount-3, &r2->WakeUp.HMAC, &r2->WakeUp.IMAC, ARDisplayString(m,r2));
2101 if (--r2->AnnounceCount <= GoodbyeCount) r2->WakeUp.HMAC = zeroEthAddr;
2109 rr->AnnounceCount--;
2115 rr->AnnounceCount, &rr->WakeUp.HMAC, &rr->WakeUp.IMAC, ARDisplayString(m,rr));
2121 rr->AnnounceCount, &rr->WakeUp.HMAC, &rr->WakeUp.IMAC, ARDisplayString(m,rr));
2210 rr->AnnounceCount--;
2214 debugf("Announcing %##s (%s) %d", rr->resrec.name->c, DNSTypeName(rr->resrec.rrtype), rr->AnnounceCount);
2463 if (rr->resrec.RecordType == kDNSRecordTypeDeregistering && rr->AnnounceCount == 0)
5236 rr->AnnounceCount = InitialAnnounceCount;
5628 our->AnnounceCount = InitialAnnounceCount;
5714 m->ProxyRecords, rr->AnnounceCount, rr->resrec.RecordType,
6750 rr->AnnounceCount = InitialAnnounceCount;
9123 rr->AnnounceCount = InitialAnnounceCount;
9128 if (rr->AnnounceCount > rr->UpdateCredits + 1) rr->AnnounceCount = (mDNSu8)(rr->UpdateCredits + 1);
9549 if (rr->AnnounceCount < numannounce) rr->AnnounceCount = numannounce;
10178 if (rr->AnnounceCount == InitialAnnounceCount && m->timenow - rr->LastAPTime >= 0)
10182 rr->AnnounceCount = InitialAnnounceCount;
10217 (rr->AnnounceCount == InitialAnnounceCount) ? msg2 :
10301 (rr->AnnounceCount == InitialAnnounceCount) ? msg2 :
11319 else if (rr->AnnounceCount > 1)
11321 rr->AnnounceCount = 1;