Home
last modified time | relevance | path

Searched refs:th_max (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/net/altq/
H A Daltq_rio.c242 if (params == NULL || params[i].th_max == 0) in rio_alloc()
243 prec->th_max = default_rio_params[i].th_max; in rio_alloc()
245 prec->th_max = params[i].th_max; in rio_alloc()
252 prec->th_max_s = prec->th_max << (rp->rio_wshift + FP_SHIFT); in rio_alloc()
258 prec->probd = (2 * (prec->th_max - prec->th_min) in rio_alloc()
H A Daltq_red.c173 red_alloc(int weight, int inv_pmax, int th_min, int th_max, int flags, in red_alloc() argument
207 if (th_max == 0) in red_alloc()
210 rp->red_thmax = th_max; in red_alloc()
H A Daltq_rio.h54 int th_max; /* red max threshold */ member
H A Daltq_red.h46 int th_max; /* red max threshold */ member
/freebsd/sys/netpfil/ipfw/test/
H A Dmain.c30 int32_t th_min, th_max; /* thresholds for hysteresis; negative means per flow */ member
445 c->th_max = -20;/* 20 packets per flow */ in init()
481 DX(3, "setting max to %d", c->th_max); in init()
485 DX(3, "setting max to %d", c->th_max); in init()
488 c->th_max = getnum(av[1], NULL, av[0]); in init()
489 DX(3, "setting max to %d", c->th_max); in init()
521 if (c->th_max < 0) in init()
522 c->th_max = c->flows * -c->th_max; in init()
523 if (c->th_max <= c->th_min) in init()
524 c->th_max = c->th_min + 1; in init()
[all …]