Searched refs:inv_pmax (Results 1 - 12 of 12) sorted by relevance

/netbsd-current/usr.sbin/altq/libaltq/
H A Dqop_red.h34 int inv_pmax; /* inverse of max drop probability */ 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,
H A Dqop_red.c89 int inv_pmax = 0; /* 0: use default */ local
132 inv_pmax = (int)strtol(*argv, NULL, 0);
165 if (qcmd_red_add_if(ifname, bandwidth, weight, inv_pmax,
176 int inv_pmax, int th_min, int th_max, int qlimit,
181 error = qop_red_add_if(NULL, ifname, bandwidth, weight, inv_pmax,
194 u_int bandwidth, int weight, int inv_pmax, int th_min,
204 red_ifinfo->inv_pmax = inv_pmax;
252 conf.red_inv_pmax = red_ifinfo->inv_pmax;
175 qcmd_red_add_if(const char *ifname, u_int bandwidth, int weight, int inv_pmax, int th_min, int th_max, int qlimit, int pkttime, int flags) argument
193 qop_red_add_if(struct ifinfo **rp, const char *ifname, u_int bandwidth, int weight, int inv_pmax, int th_min, int th_max, int qlimit, int pkttime, int flags) argument
H A Dqop_rio.c216 red_params[0].inv_pmax = lo_inv_pmax;
219 red_params[1].inv_pmax = med_inv_pmax;
222 red_params[2].inv_pmax = hi_inv_pmax;
H A Daltq_qop.h183 int qop_red_set_defaults(int th_min, int th_max, int inv_pmax);
H A Dparser.c113 {"red", red_parser, "red th_min th_max inv_pmax"},
945 int th_min, th_max, inv_pmax; local
957 inv_pmax = (int)strtol(w, NULL, 0);
959 if (qop_red_set_defaults(th_min, th_max, inv_pmax) != 0) {
989 params[i].inv_pmax = (int)strtol(w, NULL, 0);
H A Dqop.c1353 qop_red_set_defaults(int th_min, int th_max, int inv_pmax) argument
1365 params.inv_pmax = inv_pmax;
/netbsd-current/usr.sbin/altq/altqstat/
H A Dqdisc_rio.c84 rio_stats.q_params[0].inv_pmax,
87 rio_stats.q_params[1].inv_pmax,
90 rio_stats.q_params[2].inv_pmax);
H A Dqdisc_red.c74 printf(" weight:%d inv_pmax:%d qthresh:(%d,%d)\n",
75 red_stats.weight, red_stats.inv_pmax,
/netbsd-current/sys/altq/
H A Daltq_red.h54 int inv_pmax; member in struct:red_stats
91 int inv_pmax; /* inverse of max drop probability */ member in struct:redparams
H A Daltq_rio.h93 int inv_pmax; /* inverse of max drop probability */ member in struct:rio::dropprec_state
H A Daltq_rio.c184 /* th_min, th_max, inv_pmax */
261 if (params == NULL || params[i].inv_pmax == 0)
262 prec->inv_pmax = default_rio_params[i].inv_pmax;
264 prec->inv_pmax = params[i].inv_pmax;
286 * prec->inv_pmax) << FP_SHIFT;
619 q_stats->q_params[i].inv_pmax
620 = rp->rio_precstate[i].inv_pmax;
664 fc->q_params[i].inv_pmax
[all...]
H A Daltq_red.c231 red_alloc(int weight, int inv_pmax, int th_min, int th_max, int flags, argument
249 if (inv_pmax == 0)
252 rp->red_inv_pmax = inv_pmax;
883 q_stats->inv_pmax = rp->red_inv_pmax;
961 default_inv_pmax = rp->inv_pmax;

Completed in 388 milliseconds