/netbsd-current/usr.sbin/altq/libaltq/ |
H A D | qop_red.h | 34 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 D | qop_red.c | 89 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 D | qop_rio.c | 216 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 D | altq_qop.h | 183 int qop_red_set_defaults(int th_min, int th_max, int inv_pmax);
|
H A D | parser.c | 113 {"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 D | qop.c | 1353 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 D | qdisc_rio.c | 84 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 D | qdisc_red.c | 74 printf(" weight:%d inv_pmax:%d qthresh:(%d,%d)\n", 75 red_stats.weight, red_stats.inv_pmax,
|
/netbsd-current/sys/altq/ |
H A D | altq_red.h | 54 int inv_pmax; member in struct:red_stats 91 int inv_pmax; /* inverse of max drop probability */ member in struct:redparams
|
H A D | altq_rio.h | 93 int inv_pmax; /* inverse of max drop probability */ member in struct:rio::dropprec_state
|
H A D | altq_rio.c | 184 /* 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 D | altq_red.c | 231 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;
|