Home
last modified time | relevance | path

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

/xnu-11417.140.69/bsd/net/classq/
H A Dclassq_subr.c657 tbr->tbr_token = tbr->tbr_depth; in ifclassq_tbr_dequeue_common()
660 if (tbr->tbr_token > tbr->tbr_depth) { in ifclassq_tbr_dequeue_common()
661 tbr->tbr_token = tbr->tbr_depth; in ifclassq_tbr_dequeue_common()
795 tbr->tbr_depth = TBR_SCALE(profile->depth); in ifclassq_tbr_set()
796 if (tbr->tbr_depth == 0) { in ifclassq_tbr_set()
799 tbr->tbr_depth = idepth + (idepth >> 3); in ifclassq_tbr_set()
801 tbr->tbr_filluptime = tbr->tbr_depth / tbr->tbr_rate; in ifclassq_tbr_set()
804 tbr->tbr_depth = TBR_SCALE(profile->depth); in ifclassq_tbr_set()
807 tbr->tbr_token = tbr->tbr_depth; in ifclassq_tbr_set()
H A Dif_classq.h84 int64_t tbr_depth; /* (scaled) token bucket depth */ member