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

/freebsd-12-stable/sys/net/altq/
H A Daltq_red.h55 int th_min; member in struct:red_stats
89 int th_min; /* red min threshold */ member in struct:redparams
144 int red_thmin_s; /* th_min scaled by avgshift */
152 int red_old; /* avg is above th_min */
H A Daltq_rio.c177 /* th_min, th_max, inv_pmax */
258 if (params == NULL || params[i].th_min == 0)
259 prec->th_min = default_rio_params[i].th_min;
261 prec->th_min = params[i].th_min;
268 * th_min_s and th_max_s are scaled versions of th_min
271 prec->th_min_s = prec->th_min << (rp->rio_wshift + FP_SHIFT);
278 prec->probd = (2 * (prec->th_max - prec->th_min)
394 /* first exceeds th_min */
[all...]
H A Daltq_rio.h94 int th_min; /* red min threshold */ member in struct:rio::dropprec_state
98 int th_min_s; /* th_min scaled by avgshift */
107 int old; /* avg is above th_min */
H A Daltq_red.c226 red_alloc(int weight, int inv_pmax, int th_min, int th_max, int flags, argument
256 if (th_min == 0)
259 rp->red_thmin = th_min;
298 * thmin_s and thmax_s are scaled versions of th_min and th_max
404 /* first exceeds th_min */
423 /* avg < th_min */
479 * prob = p_max * (avg - th_min) / (th_max - th_min)
481 * = (avg-th_min) / (2*(th_max-th_min)*inv_p_ma
[all...]
/freebsd-12-stable/sys/netpfil/ipfw/test/
H A Dmain.c31 int32_t th_min, th_max; /* thresholds for hysteresis; negative means per flow */ member in struct:cfg_s
447 c->th_min = -1; /* 1 packet per flow */
494 c->th_min = getnum(av[1], NULL, av[0]);
495 DX(3, "setting min to %d", c->th_min);
522 if (c->th_min < 0)
523 c->th_min = c->flows * -c->th_min;
526 if (c->th_max <= c->th_min)
527 c->th_max = c->th_min + 1;
616 D("th_min
[all...]

Completed in 113 milliseconds