Home
last modified time | relevance | path

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

/freebsd/contrib/unbound/services/cache/
H A Dinfra.h176 #define RATE_WINDOW 2 macro
187 int qps[RATE_WINDOW];
190 time_t timestamp[RATE_WINDOW];
H A Dinfra.c1010 for(i=0; i<RATE_WINDOW; i++) { in infra_rate_find_second_or_none()
1017 for(i=0; i<RATE_WINDOW; i++) { in infra_rate_find_second_or_none()
1044 for(i=0; i<RATE_WINDOW; i++) { in infra_rate_max()
1046 if(now-d->timestamp[i] <= RATE_WINDOW && in infra_rate_max()