Home
last modified time | relevance | path

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

/f-stack/freebsd/netpfil/ipfw/
H A Ddn_aqm_pie.c219 pst->current_qdelay = ((uint64_t)pst->pq->ni.len_bytes * in calculate_drop_prob()
223 pst->current_qdelay = 0; in calculate_drop_prob()
227 ((int64_t)pst->current_qdelay - (int64_t)pprms->qdelay_ref); in calculate_drop_prob()
229 ((int64_t)pst->current_qdelay - (int64_t)pst->qdelay_old); in calculate_drop_prob()
290 if (pst->current_qdelay == 0 && pst->qdelay_old == 0) { in calculate_drop_prob()
303 pst->qdelay_old = pst->current_qdelay; in calculate_drop_prob()
466 pst->current_qdelay = now - pkt_ts; in aqm_pie_dequeue()
529 pst->current_qdelay < (pprms->qdelay_ref >> 1) && in aqm_pie_enqueue()
610 pst->current_qdelay = 0; in aqm_pie_init()
H A Ddn_sched_fq_pie.c391 pst->current_qdelay = ((uint64_t)q->stats.len_bytes * pst->avg_dq_time) in fq_calculate_drop_prob()
395 pst->current_qdelay = 0; in fq_calculate_drop_prob()
399 ((int64_t)pst->current_qdelay - (int64_t)pprms->qdelay_ref); in fq_calculate_drop_prob()
401 ((int64_t)pst->current_qdelay - (int64_t)pst->qdelay_old); in fq_calculate_drop_prob()
462 if (pst->current_qdelay == 0 && pst->qdelay_old == 0) { in fq_calculate_drop_prob()
475 pst->qdelay_old = pst->current_qdelay; in fq_calculate_drop_prob()
674 pst->current_qdelay = now - pkt_ts; in pie_dequeue()
720 if (pst->drop_prob == 0 && pst->current_qdelay < (pprms->qdelay_ref >> 1) in pie_enqueue()
H A Ddn_aqm_pie.h76 aqm_time_t current_qdelay; member