Home
last modified time | relevance | path

Searched refs:UpdateCredits (Results 1 – 2 of 2) sorted by relevance

/external/mdnsresponder/mDNSCore/
DmDNS.c1158 rr->UpdateCredits = kMaxUpdateCredits; in mDNS_Register_internal()
2021 if (++rr->UpdateCredits >= kMaxUpdateCredits) rr->NextUpdateCredit = 0; in GrantUpdateCredit()
9126 if (!rr->UpdateBlocked && rr->UpdateCredits) rr->UpdateCredits--; in mDNS_Update()
9128 …if (rr->AnnounceCount > rr->UpdateCredits + 1) rr->AnnounceCount = (mDNSu8)(rr->UpdateCredits + 1); in mDNS_Update()
9129 if (rr->UpdateCredits <= 5) in mDNS_Update()
9131 …mDNSu32 delay = 6 - rr->UpdateCredits; // Delay 1 second, then 2, then 3, etc. up to 6 seconds ma… in mDNS_Update()
DmDNSEmbeddedAPI.h1241 mDNSu32 UpdateCredits; // Token-bucket rate limiting of excessive updates member