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

  /src/usr.sbin/altq/libaltq/
qop_red.h 35 int th_min; /* red min threshold */ member in struct:red_ifinfo
44 int inv_pmax, int th_min, int th_max, int qlimit,
47 u_int bandwidth, int weight, int inv_pmax, int th_min,
qop_red.c 90 int th_min = 0; /* 0: use default */ local
124 th_min = (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);
194 u_int bandwidth, int weight, int inv_pmax, int th_min,
205 red_ifinfo->th_min = th_min;
253 conf.red_thmin = red_ifinfo->th_min;
qop_rio.c 217 red_params[0].th_min = lo_th_min;
220 red_params[1].th_min = med_th_min;
223 red_params[2].th_min = hi_th_min;
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
949 th_min = (int)strtol(w, NULL, 0);
959 if (qop_red_set_defaults(th_min, th_max, inv_pmax) != 0) {
981 params[i].th_min = (int)strtol(w, NULL, 0);
qop.c 1353 qop_red_set_defaults(int th_min, int th_max, int inv_pmax)
1363 params.th_min = th_min;
1384 if (params[i].th_max > params[i-1].th_min)
  /src/usr.sbin/altq/altqstat/
qdisc_rio.c 82 rio_stats.q_params[0].th_min,
85 rio_stats.q_params[1].th_min,
88 rio_stats.q_params[2].th_min,
qdisc_red.c 76 red_stats.th_min, red_stats.th_max);
  /src/sys/altq/
altq_red.h 55 int th_min; member in struct:red_stats
89 int th_min; /* red min threshold */ member in struct:redparams
144 int red_thmin_s; /* th_min scaled by avgshift */
152 int red_old; /* avg is above th_min */
altq_rio.c 153 #define TH_MIN 5 /* min 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 */
265 if (params == NULL || params[i].th_min == 0)
266 prec->th_min = default_rio_params[i].th_min;
268 prec->th_min = params[i].th_min;
    [all...]
altq_rio.h 94 int th_min; /* red min threshold */ member in struct:rio::dropprec_state
98 int th_min_s; /* th_min scaled by avgshift */
107 int old; /* avg is above th_min */
altq_red.c 165 #define TH_MIN 5 /* min threshold */
200 static int default_th_min = TH_MIN;
231 red_alloc(int weight, int inv_pmax, int th_min, int th_max, int flags,
253 if (th_min == 0)
256 rp->red_thmin = th_min;
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
411 /* first exceeds th_min */
430 /* avg < th_min */
486 * prob = p_max * (avg - th_min) / (th_max - th_min
    [all...]

Completed in 29 milliseconds