Searched refs:th_max (Results 1 – 5 of 5) sorted by relevance
| /freebsd-12.1/sys/net/altq/ |
| H A D | altq_rio.c | 262 if (params == NULL || params[i].th_max == 0) in rio_alloc() 263 prec->th_max = default_rio_params[i].th_max; in rio_alloc() 265 prec->th_max = params[i].th_max; in rio_alloc() 272 prec->th_max_s = prec->th_max << (rp->rio_wshift + FP_SHIFT); in rio_alloc() 278 prec->probd = (2 * (prec->th_max - prec->th_min) in rio_alloc() 657 q_stats->q_params[i].th_max 658 = rp->rio_precstate[i].th_max; 686 if (limit < fc->q_params[RIO_NDROPPREC-1].th_max) 687 limit = fc->q_params[RIO_NDROPPREC-1].th_max; 702 fc->q_params[i].th_max = [all …]
|
| H A D | altq_red.h | 56 int th_max; member 90 int th_max; /* red max threshold */ member
|
| H A D | altq_rio.h | 95 int th_max; /* red max threshold */ member
|
| H A D | altq_red.c | 226 red_alloc(int weight, int inv_pmax, int th_min, int th_max, int flags, in red_alloc() argument 260 if (th_max == 0) in red_alloc() 263 rp->red_thmax = th_max; in red_alloc() 897 q_stats->th_max = rp->red_thmax; 972 default_th_max = rp->th_max;
|
| /freebsd-12.1/sys/netpfil/ipfw/test/ |
| H A D | main.c | 448 c->th_max = -20;/* 20 packets per flow */ in init() 484 DX(3, "setting max to %d", c->th_max); in init() 488 DX(3, "setting max to %d", c->th_max); in init() 491 c->th_max = getnum(av[1], NULL, av[0]); in init() 492 DX(3, "setting max to %d", c->th_max); in init() 524 if (c->th_max < 0) in init() 525 c->th_max = c->flows * -c->th_max; in init() 526 if (c->th_max <= c->th_min) in init() 527 c->th_max = c->th_min + 1; in init() 616 D("th_min %d th_max %d", c.th_min, c.th_max); in main() [all …]
|