Searched refs:th_max (Results 1 - 4 of 4) sorted by relevance
/darwin-on-arm/xnu/bsd/net/classq/ |
H A D | classq_red.h | 76 int th_max; /* red max threshold */ member in struct:redparams 122 int red_thmax_s; /* th_max scaled by avgshift */
|
H A D | classq_rio.h | 92 int th_max; /* red max threshold */ member in struct:rio::dropprec_state 96 int th_max_s; /* th_max scaled by avgshift */
|
H A D | classq_rio.c | 171 /* th_min, th_max, inv_pmax */ 279 if (params == NULL || params[i].th_max == 0) 280 prec->th_max = default_rio_params[i].th_max; 282 prec->th_max = params[i].th_max; 286 * and th_max to be compared with avg. 289 prec->th_max_s = prec->th_max << (rp->rio_wshift + FP_SHIFT); 295 prec->probd = (2 * (prec->th_max - prec->th_min) * 409 /* avg >= th_max [all...] |
H A D | classq_red.c | 216 int th_max, int flags, int pkttime) 244 if (th_max == 0) 247 rp->red_thmax = th_max; 283 * thmin_s and thmax_s are scaled versions of th_min and th_max 376 /* avg >= th_max: forced drop */ 438 * prob = p_max * (avg - th_min) / (th_max - th_min) 440 * = (avg-th_min) / (2*(th_max-th_min)*inv_p_max - count*(avg-th_min)) 457 * th_max-th_min=10 and p_max=1/30) 215 red_alloc(struct ifnet *ifp, int weight, int inv_pmax, int th_min, int th_max, int flags, int pkttime) argument
|
Completed in 13 milliseconds