Home
last modified time | relevance | path

Searched refs:peak_tb (Results 1 – 2 of 2) sorted by relevance

/freebsd-12-stable/sys/net/altq/
Daltq_cdnr.c633 tb_import_profile(&tcm->peak_tb, peak_profile);
705 if (tcm->peak_tb.token < len) {
706 interval = now - tcm->peak_tb.last;
707 if (interval >= tcm->peak_tb.filluptime)
708 tcm->peak_tb.token = tcm->peak_tb.depth;
710 tcm->peak_tb.token += interval * tcm->peak_tb.rate;
711 if (tcm->peak_tb.token > tcm->peak_tb.depth)
712 tcm->peak_tb.token = tcm->peak_tb.depth;
714 tcm->peak_tb.last = now;
717 if (color == tcm->red_dscp || tcm->peak_tb.token < len) {
[all …]
Daltq_cdnr.h300 struct tbe peak_tb; /* peak tb profile */ member