Searched refs:th_min (Results 1 - 4 of 4) sorted by relevance

/xnu-2422.115.4/bsd/net/classq/
H A Dclassq_red.h75 int th_min; /* red min threshold */ member in struct:redparams
121 int red_thmin_s; /* th_min scaled by avgshift */
129 int red_old; /* avg is above th_min */
H A Dclassq_rio.h91 int th_min; /* red min threshold */ member in struct:rio::dropprec_state
95 int th_min_s; /* th_min scaled by avgshift */
104 int old; /* avg is above th_min */
H A Dclassq_rio.c173 /* th_min, th_max, inv_pmax */
289 if (params == NULL || params[i].th_min == 0)
290 prec->th_min = default_rio_params[i].th_min;
292 prec->th_min = params[i].th_min;
299 * th_min_s and th_max_s are scaled versions of th_min
302 prec->th_min_s = prec->th_min << (rp->rio_wshift + FP_SHIFT);
309 prec->probd = (2 * (prec->th_max - prec->th_min) *
436 /* first exceeds th_min */
[all...]
H A Dclassq_red.c217 red_alloc(struct ifnet *ifp, int weight, int inv_pmax, int th_min, argument
242 if (th_min == 0)
245 rp->red_thmin = th_min;
292 * thmin_s and thmax_s are scaled versions of th_min and th_max
391 /* first exceeds th_min */
412 /* avg < th_min */
453 * prob = p_max * (avg - th_min) / (th_max - th_min)
455 * = (avg-th_min) / (2*(th_max-th_min)*inv_p_ma
[all...]

Completed in 603 milliseconds