Lines Matching refs:cst
65 q->cst.first_above_time= 0;
83 if (sojourn_time < schk->cfg.ccfg.target || q->stats.len_bytes <= q->cst.maxpkt_size) {
85 q->cst.first_above_time = 0;
87 if (q->cst.first_above_time == 0) {
90 q->cst.first_above_time = now + schk->cfg.ccfg.interval;
91 } else if (now >= q->cst.first_above_time) {
104 struct codel_status *cst;
109 cst = &q->cst;
115 if (cst->dropping) {
118 cst->dropping = false;
127 while (now >= cst->drop_next_time && cst->dropping) {
131 cst->count++;
133 cst->drop_next_time = control_law(cst, cprms, cst->drop_next_time);
144 cst->dropping = false;
146 cst->count++;
148 cst->drop_next_time = control_law(cst, cprms, cst->drop_next_time);
166 cst->dropping = true;
176 cst->count = (cst->count > 2 && ((aqm_stime_t)now -
177 (aqm_stime_t)cst->drop_next_time) < 8* cprms->interval)? cst->count - 2 : 1;
181 cst->drop_next_time = control_law(cst, cprms, now);