Home | History | Annotate | Download | only in libaltq

Lines Matching defs:weight

88 	int	weight = 0;		/* 0: use default */
113 } else if (EQUAL(*argv, "weight")) {
116 weight = (int)strtol(*argv, NULL, 0);
150 if (weight != 0) {
151 /* check if weight is power of 2 */
154 w = weight;
158 if (weight != w) {
159 LOG(LOG_ERR, 0, "weight %d: should be power of 2",
160 weight);
165 if (qcmd_red_add_if(ifname, bandwidth, weight, inv_pmax,
175 qcmd_red_add_if(const char *ifname, u_int bandwidth, int weight,
181 error = qop_red_add_if(NULL, ifname, bandwidth, weight, inv_pmax,
194 u_int bandwidth, int weight, int inv_pmax, int th_min,
203 red_ifinfo->weight = weight;
251 conf.red_weight = red_ifinfo->weight;