Home
last modified time | relevance | path

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

/f-stack/freebsd/net/altq/
H A Daltq_rio.c239 if (params == NULL || params[i].th_min == 0) in rio_alloc()
240 prec->th_min = default_rio_params[i].th_min; in rio_alloc()
242 prec->th_min = params[i].th_min; in rio_alloc()
252 prec->th_min_s = prec->th_min << (rp->rio_wshift + FP_SHIFT); in rio_alloc()
259 prec->probd = (2 * (prec->th_max - prec->th_min) in rio_alloc()
H A Daltq_rio.h54 int th_min; /* red min threshold */ member
H A Daltq_red.c174 red_alloc(int weight, int inv_pmax, int th_min, int th_max, int flags, in red_alloc() argument
204 if (th_min == 0) in red_alloc()
207 rp->red_thmin = th_min; in red_alloc()
H A Daltq_red.h46 int th_min; /* red min threshold */ member
/f-stack/freebsd/netpfil/ipfw/test/
H A Dmain.c31 int32_t th_min, th_max; /* thresholds for hysteresis; negative means per flow */ member
445 c->th_min = -1; /* 1 packet per flow */ in init()
492 c->th_min = getnum(av[1], NULL, av[0]); in init()
493 DX(3, "setting min to %d", c->th_min); in init()
520 if (c->th_min < 0) in init()
521 c->th_min = c->flows * -c->th_min; 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()
655 else if (c->state == 1 && c->pending <= (uint32_t)c->th_min) in controller()