Home
last modified time | relevance | path

Searched refs:pprms (Results 1 – 3 of 3) sorted by relevance

/src/sys/netpfil/ipfw/
H A Ddn_aqm_pie.c205 struct dn_aqm_pie_parms *pprms; in calculate_drop_prob() local
209 pprms = pst->parms; in calculate_drop_prob()
216 if (pprms->flags & PIE_DEPRATEEST_ENABLED) in calculate_drop_prob()
224 p = (int64_t)pprms->alpha * in calculate_drop_prob()
225 ((int64_t)pst->current_qdelay - (int64_t)pprms->qdelay_ref); in calculate_drop_prob()
226 p +=(int64_t) pprms->beta * in calculate_drop_prob()
266 if ((pprms->flags & PIE_CAPDROP_ENABLED) && in calculate_drop_prob()
306 if (pst->burst_allowance > pprms->tupdate ) in calculate_drop_prob()
307 pst->burst_allowance -= pprms->tupdate; in calculate_drop_prob()
315 (uint64_t)pprms->tupdate * SBT_1US, 0, calculate_drop_prob, pst, 0); in calculate_drop_prob()
[all …]
H A Ddn_sched_fq_pie.c381 struct dn_aqm_pie_parms *pprms; in fq_calculate_drop_prob() local
385 pprms = pst->parms; in fq_calculate_drop_prob()
392 if (pprms->flags & PIE_DEPRATEEST_ENABLED) in fq_calculate_drop_prob()
400 p = (int64_t)pprms->alpha * in fq_calculate_drop_prob()
401 ((int64_t)pst->current_qdelay - (int64_t)pprms->qdelay_ref); in fq_calculate_drop_prob()
402 p +=(int64_t) pprms->beta * in fq_calculate_drop_prob()
442 if ((pprms->flags & PIE_CAPDROP_ENABLED) && in fq_calculate_drop_prob()
481 if (pst->burst_allowance > pprms->tupdate) in fq_calculate_drop_prob()
482 pst->burst_allowance -= pprms->tupdate; in fq_calculate_drop_prob()
489 (uint64_t)pprms->tupdate * SBT_1US, in fq_calculate_drop_prob()
[all …]
H A Ddn_aqm_pie.h109 struct dn_aqm_pie_parms *pprms; in drop_early() local
111 pprms = pst->parms; in drop_early()
115 if ((pst->qdelay_old < (pprms->qdelay_ref >> 1) in drop_early()
124 if (pprms->flags & PIE_DERAND_ENABLED) in drop_early()
134 if (pprms->flags & PIE_DERAND_ENABLED) { in drop_early()