Lines Matching defs:avpkt
31 fprintf(stderr, "Usage: ... red limit BYTES [min BYTES] [max BYTES] avpkt BYTES [burst PACKETS]\n");
40 unsigned avpkt = 0;
75 } else if (strcmp(*argv, "avpkt") == 0) {
77 if (get_size(&avpkt, *argv)) {
78 fprintf(stderr, "Illegal \"avpkt\"\n");
112 if (!opt.limit || !avpkt) {
113 fprintf(stderr, "RED: Required parameter (limit, avpkt) is missing\n");
125 burst = (2 * opt.qth_min + opt.qth_max) / (3 * avpkt);
130 if ((parm = tc_red_eval_ewma(opt.qth_min, burst, avpkt)) < 0) {
142 if ((parm = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf)) < 0) {