Searched refs:th_max (Results 1 - 7 of 7) sorted by relevance

/freebsd-9.3-release/sys/contrib/altq/altq/
H A Daltq_rio.c179 /* th_min, th_max, inv_pmax */
265 if (params == NULL || params[i].th_max == 0)
266 prec->th_max = default_rio_params[i].th_max;
268 prec->th_max = params[i].th_max;
272 * and th_max to be compared with avg.
275 prec->th_max_s = prec->th_max << (rp->rio_wshift + FP_SHIFT);
281 prec->probd = (2 * (prec->th_max - prec->th_min)
394 /* avg >= th_max
[all...]
H A Daltq_red.h55 int th_max; member in struct:red_stats
89 int th_max; /* red max threshold */ member in struct:redparams
144 int red_thmax_s; /* th_max scaled by avgshift */
H A Daltq_rio.h94 int th_max; /* red max threshold */ member in struct:rio::dropprec_state
98 int th_max_s; /* th_max scaled by avgshift */
H A Daltq_red.c227 red_alloc(int weight, int inv_pmax, int th_min, int th_max, int flags, argument
254 if (th_max == 0)
257 rp->red_thmax = th_max;
292 * thmin_s and thmax_s are scaled versions of th_min and th_max
398 /* avg >= th_max: forced drop */
476 * prob = p_max * (avg - th_min) / (th_max - th_min)
478 * = (avg-th_min) / (2*(th_max-th_min)*inv_p_max - count*(avg-th_min))
495 * th_max-th_min=10 and p_max=1/30)
895 q_stats->th_max = rp->red_thmax;
974 default_th_max = rp->th_max;
[all...]
/freebsd-9.3-release/sys/netpfil/ipfw/test/
H A Dmain.c33 int th_min, th_max; member in struct:cfg_s
360 c->th_max = -20;/* 20 packets per flow */
398 DX(3, "setting max to %d", c->th_max);
401 DX(3, "setting max to %d", c->th_max);
403 c->th_max = getnum(av[1], NULL, av[0]);
404 DX(3, "setting max to %d", c->th_max);
434 if (c->th_max < 0)
435 c->th_max = c->flows * -c->th_max;
436 if (c->th_max <
[all...]
/freebsd-9.3-release/sbin/pfctl/missing/altq/
H A Daltq_red.h56 int th_max; member in struct:red_stats
90 int th_max; /* red max threshold */ member in struct:redparams
145 int red_thmax_s; /* th_max scaled by avgshift */
H A Daltq_rio.h95 int th_max; /* red max threshold */ member in struct:rio::dropprec_state
99 int th_max_s; /* th_max scaled by avgshift */

Completed in 118 milliseconds