Home | History | Annotate | Download | only in tc

Lines Matching refs:allot

31 	fprintf(stderr, "               [ allot BYTES ] [ mpu BYTES ] [ weight RATE ]\n");
55 unsigned mpu=0, avpkt=0, allot=0;
111 } else if (matches(*argv, "allot") == 0) {
113 /* Accept and ignore "allot" for backward compatibility */
114 if (get_size(&allot, *argv)) {
115 explain1("allot");
149 if (allot < (avpkt*3)/2)
150 allot = (avpkt*3)/2;
154 if (tc_calc_rtable(&r, rtab, cell_log, allot, linklayer) < 0) {
291 } else if (matches(*argv, "allot") == 0) {
293 if (get_size(&wrr.allot, *argv)) {
294 explain1("allot");
360 unsigned pktsize = wrr.allot;
361 if (wrr.allot < (lss.avpkt*3)/2)
362 wrr.allot = (lss.avpkt*3)/2;
386 if (wrr.allot == 0)
387 wrr.allot = (lss.avpkt*3)/2;
392 if (wrr.allot == 0) {
393 fprintf(stderr, "CBQ: \"allot\" is required to set WRR parameters.\n");
523 if (wrr->allot)
524 fprintf(f, "allot %ub ", wrr->allot);