Lines Matching refs:CHTSIZE
157 ** will be initialised to ConnectionRateWindowSize/CHTSIZE
163 #define CHTSIZE 6
198 CTime_T ch_Times[CHTSIZE];
237 ChtGran = ConnectionRateWindowSize / CHTSIZE;
392 CTime_T *ct = &chBest->ch_Times[ticks % CHTSIZE];
404 for (i = 0; i < CHTSIZE; ++i)
408 if (ct->ct_Ticks <= ticks && ct->ct_Ticks >= ticks - CHTSIZE)
414 "cln: cnt=(%d), CHTSIZE=(%d), ChtGran=(%d)",
415 cnt, CHTSIZE, ChtGran);
431 static CTime_T srv_Times[CHTSIZE];
445 ChtGran = ConnectionRateWindowSize / CHTSIZE;
458 ct = &srv_Times[ticks % CHTSIZE];
469 for (i = 0; i < CHTSIZE; ++i)
473 if (ct->ct_Ticks <= ticks && ct->ct_Ticks >= ticks - CHTSIZE)
479 "srv: cnt=(%d), CHTSIZE=(%d), ChtGran=(%d)",
480 cnt, CHTSIZE, ChtGran);