Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/
H A DmDNS.c1697 rr->UpdateCredits = kMaxUpdateCredits; in mDNS_Register_internal()
2655 if (++rr->UpdateCredits >= kMaxUpdateCredits) rr->NextUpdateCredit = 0; in GrantUpdateCredit()
12536 if (!rr->UpdateBlocked && rr->UpdateCredits) rr->UpdateCredits--; in mDNS_Update()
12538 …if (rr->AnnounceCount > rr->UpdateCredits + 1) rr->AnnounceCount = (mDNSu8)(rr->UpdateCredits + 1); in mDNS_Update()
12539 if (rr->UpdateCredits <= 5) in mDNS_Update()
12541 …mDNSu32 delay = 6 - rr->UpdateCredits; // Delay 1 second, then 2, then 3, etc. up to 6 second… in mDNS_Update()
H A DmDNSEmbeddedAPI.h1464 mDNSu32 UpdateCredits; // Token-bucket rate limiting of excessive updates member