Searched refs:th_max (Results 1 – 5 of 5) sorted by relevance
| /f-stack/freebsd/net/altq/ |
| H A D | altq_rio.c | 243 if (params == NULL || params[i].th_max == 0) in rio_alloc() 244 prec->th_max = default_rio_params[i].th_max; in rio_alloc() 246 prec->th_max = params[i].th_max; in rio_alloc() 253 prec->th_max_s = prec->th_max << (rp->rio_wshift + FP_SHIFT); in rio_alloc() 259 prec->probd = (2 * (prec->th_max - prec->th_min) in rio_alloc()
|
| H A D | altq_rio.h | 55 int th_max; /* red max threshold */ member
|
| H A D | altq_red.c | 174 red_alloc(int weight, int inv_pmax, int th_min, int th_max, int flags, in red_alloc() argument 208 if (th_max == 0) in red_alloc() 211 rp->red_thmax = th_max; in red_alloc()
|
| H A D | altq_red.h | 47 int th_max; /* red max threshold */ member
|
| /f-stack/freebsd/netpfil/ipfw/test/ |
| H A D | main.c | 446 c->th_max = -20;/* 20 packets per flow */ in init() 482 DX(3, "setting max to %d", c->th_max); in init() 486 DX(3, "setting max to %d", c->th_max); in init() 489 c->th_max = getnum(av[1], NULL, av[0]); in init() 490 DX(3, "setting max to %d", c->th_max); in init() 522 if (c->th_max < 0) in init() 523 c->th_max = c->flows * -c->th_max; in init() 524 if (c->th_max <= c->th_min) in init() 525 c->th_max = c->th_min + 1; in init() 613 D("th_min %d th_max %d", c.th_min, c.th_max); in main() [all …]
|