HomeSort by: relevance | last modified time | path
    Searched defs:avg_rate (Results 1 - 2 of 2) sorted by relevancy

  /src/sys/altq/
altq_cdnr.c 750 tsw->avg_rate = 0;
777 u_int32_t avg_rate; local in function:tswtcm_input
792 * note: when avg_rate (bytes/sec) and timewin (machclk unit) are
796 tmp = ((u_int64_t)tsw->avg_rate * tsw->timewin
798 tsw->avg_rate = avg_rate = (u_int32_t)tmp;
804 if (avg_rate > tsw->cmtd_rate) {
805 u_int32_t randval = cprng_fast32() % avg_rate;
807 if (avg_rate > tsw->peak_rate) {
808 if (randval < avg_rate - tsw->peak_rate)
    [all...]
altq_cdnr.h 317 u_int32_t avg_rate; /* average rate (bytes/sec) */ member in struct:tswtcm

Completed in 28 milliseconds