Searched refs:th_min (Results 1 - 5 of 5) sorted by relevance
/freebsd-12-stable/sys/net/altq/ |
H A D | altq_red.h | 55 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 D | altq_rio.c | 177 /* 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 D | altq_rio.h | 94 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 D | altq_red.c | 226 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 D | main.c | 31 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