Lines Matching refs:allot
31 fprintf(stderr, " [ allot BYTES ] [ mpu BYTES ] [ weight RATE ]\n");
55 unsigned mpu=0, avpkt=0, allot=0;
109 } else if (strcmp(*argv, "allot") == 0) {
111 /* Accept and ignore "allot" for backward compatibility */
112 if (get_size(&allot, *argv)) {
113 explain1("allot");
137 if (allot < (avpkt*3)/2)
138 allot = (avpkt*3)/2;
140 if ((cell_log = tc_calc_rtable(r.rate, rtab, cell_log, allot, mpu)) < 0) {
277 } else if (strcmp(*argv, "allot") == 0) {
279 if (get_size(&wrr.allot, *argv)) {
280 explain1("allot");
336 unsigned pktsize = wrr.allot;
337 if (wrr.allot < (lss.avpkt*3)/2)
338 wrr.allot = (lss.avpkt*3)/2;
362 if (wrr.allot == 0)
363 wrr.allot = (lss.avpkt*3)/2;
368 if (wrr.allot == 0) {
369 fprintf(stderr, "CBQ: \"allot\" is required to set WRR parameters.\n");
496 if (wrr->allot)
497 fprintf(f, "allot %ub ", wrr->allot);