Home
last modified time | relevance | path

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

/freebsd/sys/netpfil/ipfw/
H A Ddn_aqm_codel.h82 struct dn_aqm_codel_parms *cprms; in codel_dodequeue() local
97 cprms = q->fs->aqmcfg; in codel_dodequeue()
113 if (sojourn_time < cprms->target || q->ni.len_bytes <= cst->maxpkt_size) { in codel_dodequeue()
120 cst->first_above_time = now + cprms->interval; in codel_dodequeue()
135 struct dn_aqm_codel_parms *cprms; in codel_dequeue() local
141 cprms = q->fs->aqmcfg; in codel_dequeue()
159 if (cprms->flags & CODEL_ECN_ENABLED && ecn_mark(m)) { in codel_dequeue()
162 cst->drop_next_time = control_law(cst, cprms, in codel_dequeue()
178 cst->drop_next_time = control_law(cst, cprms, in codel_dequeue()
190 if (!(cprms->flags & CODEL_ECN_ENABLED) || !ecn_mark(m)) { in codel_dequeue()
[all …]
H A Ddn_sched_fq_codel_helper.h101 struct dn_aqm_codel_parms *cprms; in fqc_codel_dequeue() local
108 cprms = &schk->cfg.ccfg; in fqc_codel_dequeue()
127 if (cprms->flags & CODEL_ECN_ENABLED && ecn_mark(m)) { in fqc_codel_dequeue()
130 cst->drop_next_time = control_law(cst, cprms, cst->drop_next_time); in fqc_codel_dequeue()
145 cst->drop_next_time = control_law(cst, cprms, cst->drop_next_time); in fqc_codel_dequeue()
156 if (!(cprms->flags & CODEL_ECN_ENABLED) || !ecn_mark(m)) { in fqc_codel_dequeue()
173 (aqm_stime_t)cst->drop_next_time) < 8* cprms->interval)? cst->count - 2 : 1; in fqc_codel_dequeue()
177 cst->drop_next_time = control_law(cst, cprms, now); in fqc_codel_dequeue()
H A Ddn_aqm_codel.c141 control_law(struct codel_status *cst, struct dn_aqm_codel_parms *cprms, in control_law() argument
153 return t + cprms->interval; in control_law()
181 return t + ((cprms->interval * temp) >> FIX_POINT_BITS); in control_law()