HomeSort by: relevance | last modified time | path
    Searched refs:th_max (Results 1 - 12 of 12) sorted by relevancy

  /src/usr.sbin/altq/libaltq/
qop_red.h 36 int th_max; /* red max threshold */ member in struct:red_ifinfo
44 int inv_pmax, int th_min, int th_max, int qlimit,
48 int th_max, int qlimit, int pkttime, int flags);
qop_red.c 91 int th_max = 0; /* 0: use default */ local
128 th_max = (int)strtol(*argv, NULL, 0);
166 th_min, th_max, qlimit, pkttime, flags) != 0)
176 int inv_pmax, int th_min, int th_max, int qlimit,
182 th_min, th_max, qlimit, pkttime, flags);
195 int th_max, int qlimit, int pkttime, int flags)
206 red_ifinfo->th_max = th_max;
254 conf.red_thmax = red_ifinfo->th_max;
qop_rio.c 218 red_params[0].th_max = lo_th_max;
221 red_params[1].th_max = med_th_max;
224 red_params[2].th_max = hi_th_max;
altq_qop.h 184 int qop_red_set_defaults(int th_min, int th_max, int inv_pmax);
parser.c 113 {"red", red_parser, "red th_min th_max inv_pmax"},
945 int th_min, th_max, inv_pmax; local
953 th_max = (int)strtol(w, NULL, 0);
959 if (qop_red_set_defaults(th_min, th_max, inv_pmax) != 0) {
985 params[i].th_max = (int)strtol(w, NULL, 0);
qop.c 1353 qop_red_set_defaults(int th_min, int th_max, int inv_pmax)
1364 params.th_max = th_max;
1384 if (params[i].th_max > params[i-1].th_min)
  /src/sys/altq/
altq_rio.c 154 #define TH_MAX 15 /* max threshold */
184 /* th_min, th_max, inv_pmax */
185 { TH_MAX * 2 + TH_MIN, TH_MAX * 3, INV_P_MAX }, /* low drop precedence */
186 { TH_MAX + TH_MIN, TH_MAX * 2, INV_P_MAX }, /* medium drop precedence */
187 { TH_MIN, TH_MAX, INV_P_MAX } /* high drop precedence */
269 if (params == NULL || params[i].th_max == 0)
270 prec->th_max = default_rio_params[i].th_max;
    [all...]
altq_red.h 56 int th_max; member in struct:red_stats
90 int th_max; /* red max threshold */ member in struct:redparams
145 int red_thmax_s; /* th_max scaled by avgshift */
altq_rio.h 95 int th_max; /* red max threshold */ member in struct:rio::dropprec_state
99 int th_max_s; /* th_max scaled by avgshift */
altq_red.c 166 #define TH_MAX 15 /* max threshold */
201 static int default_th_max = TH_MAX;
231 red_alloc(int weight, int inv_pmax, int th_min, int th_max, int flags,
257 if (th_max == 0)
260 rp->red_thmax = th_max;
295 * thmin_s and thmax_s are scaled versions of th_min and th_max
303 * probd = (2 * (TH_MAX-TH_MIN) / pmax) in fixed-point
408 /* avg >= th_max: forced drop */
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)
    [all...]
  /src/usr.sbin/altq/altqstat/
qdisc_rio.c 83 rio_stats.q_params[0].th_max,
86 rio_stats.q_params[1].th_max,
89 rio_stats.q_params[2].th_max,
qdisc_red.c 76 red_stats.th_min, red_stats.th_max);

Completed in 34 milliseconds