Searched refs:th_min (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/net/altq/ |
H A D | altq_rio.c | 238 if (params == NULL || params[i].th_min == 0) in rio_alloc() 239 prec->th_min = default_rio_params[i].th_min; in rio_alloc() 241 prec->th_min = params[i].th_min; in rio_alloc() 251 prec->th_min_s = prec->th_min << (rp->rio_wshift + FP_SHIFT); in rio_alloc() 258 prec->probd = (2 * (prec->th_max - prec->th_min) in rio_alloc()
|
H A D | altq_red.c | 173 red_alloc(int weight, int inv_pmax, int th_min, int th_max, int flags, in red_alloc() argument 203 if (th_min == 0) in red_alloc() 206 rp->red_thmin = th_min; in red_alloc()
|
H A D | altq_rio.h | 53 int th_min; /* red min threshold */ member
|
H A D | altq_red.h | 45 int th_min; /* red min threshold */ member
|
/freebsd/sys/netpfil/ipfw/test/ |
H A D | main.c | 30 int32_t th_min, th_max; /* thresholds for hysteresis; negative means per flow */ member 444 c->th_min = -1; /* 1 packet per flow */ in init() 491 c->th_min = getnum(av[1], NULL, av[0]); in init() 492 DX(3, "setting min to %d", c->th_min); in init() 519 if (c->th_min < 0) in init() 520 c->th_min = c->flows * -c->th_min; in init() 523 if (c->th_max <= c->th_min) in init() 524 c->th_max = c->th_min + 1; in init() 612 D("th_min %d th_max %d", c.th_min, c.th_max); in main() 654 else if (c->state == 1 && c->pending <= (uint32_t)c->th_min) in controller()
|