| /netbsd-src/usr.sbin/altq/libaltq/ |
| H A D | qop_red.c | 91 int th_max = 0; /* 0: use default */ in red_interface_parser() local 128 th_max = (int)strtol(*argv, NULL, 0); in red_interface_parser() 166 th_min, th_max, qlimit, pkttime, flags) != 0) in red_interface_parser() 176 int inv_pmax, int th_min, int th_max, int qlimit, in qcmd_red_add_if() argument 182 th_min, th_max, qlimit, pkttime, flags); in qcmd_red_add_if() 195 int th_max, int qlimit, int pkttime, int flags) in qop_red_add_if() argument 206 red_ifinfo->th_max = th_max; in qop_red_add_if() 254 conf.red_thmax = red_ifinfo->th_max; in red_attach()
|
| H A D | qop_red.h | 36 int th_max; /* red max threshold */ member 44 int inv_pmax, int th_min, int th_max, int qlimit, 48 int th_max, int qlimit, int pkttime, int flags);
|
| H A D | qop_rio.c | 218 red_params[0].th_max = lo_th_max; in qcmd_rio_add_if() 221 red_params[1].th_max = med_th_max; in qcmd_rio_add_if() 224 red_params[2].th_max = hi_th_max; in qcmd_rio_add_if()
|
| H A D | parser.c | 945 int th_min, th_max, inv_pmax; in red_parser() local 953 th_max = (int)strtol(w, NULL, 0); in red_parser() 959 if (qop_red_set_defaults(th_min, th_max, inv_pmax) != 0) { in red_parser() 985 params[i].th_max = (int)strtol(w, NULL, 0); in rio_parser()
|
| H A D | qop.c | 1353 qop_red_set_defaults(int th_min, int th_max, int inv_pmax) in qop_red_set_defaults() argument 1364 params.th_max = th_max; in qop_red_set_defaults() 1384 if (params[i].th_max > params[i-1].th_min) in qop_rio_set_defaults()
|
| H A D | altq_qop.h | 184 int qop_red_set_defaults(int th_min, int th_max, int inv_pmax);
|
| /netbsd-src/sys/altq/ |
| H A D | altq_rio.c | 184 /* th_min, th_max, inv_pmax */ 269 if (params == NULL || params[i].th_max == 0) in rio_alloc() 270 prec->th_max = default_rio_params[i].th_max; in rio_alloc() 272 prec->th_max = params[i].th_max; in rio_alloc() 276 * and th_max to be compared with avg. in rio_alloc() 279 prec->th_max_s = prec->th_max << (rp->rio_wshift + FP_SHIFT); in rio_alloc() 285 prec->probd = (2 * (prec->th_max - prec->th_min) in rio_alloc() 385 /* avg >= th_max in rio_addq() [all...] |
| H A D | altq_red.h | 56 int th_max; member 90 int th_max; /* red max threshold */ member
|
| H A D | altq_red.c | 231 red_alloc(int weight, int inv_pmax, int th_min, int th_max, int flags, in red_alloc() argument 257 if (th_max == 0) in red_alloc() 260 rp->red_thmax = th_max; in red_alloc() 295 * thmin_s and thmax_s are scaled versions of th_min and th_max in red_alloc() 408 /* avg >= th_max: forced drop */ in red_addq() 486 * prob = p_max * (avg - th_min) / (th_max - th_min) 488 * = (avg-th_min) / (2*(th_max-th_min)*inv_p_max - count*(avg-th_min)) 505 * th_max-th_min=10 and p_max=1/30) in drop_early() 885 q_stats->th_max = rp->red_thmax; in redioctl() 960 default_th_max = rp->th_max; in redioctl() [all...] |
| H A D | altq_rio.h | 95 int th_max; /* red max threshold */ member
|
| /netbsd-src/usr.sbin/altq/altqstat/ |
| H A D | qdisc_rio.c | 83 rio_stats.q_params[0].th_max, in rio_stat_loop() 86 rio_stats.q_params[1].th_max, in rio_stat_loop() 89 rio_stats.q_params[2].th_max, in rio_stat_loop()
|
| H A D | qdisc_red.c | 76 red_stats.th_min, red_stats.th_max); in red_stat_loop()
|