Lines Matching refs:fprintf
30 fprintf(stderr, "Usage: ... sfq [ limit NUMBER ] [ perturb SECS ] [ quantum BYTES ]\n"); in explain()
31 fprintf(stderr, " [ divisor NUMBER ] [ flows NUMBER] [ depth NUMBER ]\n"); in explain()
32 fprintf(stderr, " [ headdrop ]\n"); in explain()
33 fprintf(stderr, " [ redflowlimit BYTES ] [ min BYTES ] [ max BYTES ]\n"); in explain()
34 fprintf(stderr, " [ avpkt BYTES ] [ burst PACKETS ] [ probability P ]\n"); in explain()
35 fprintf(stderr, " [ ecn ] [ harddrop ]\n"); in explain()
53 fprintf(stderr, "Illegal \"limit\"\n"); in sfq_parse_opt()
60 fprintf(stderr, "Illegal \"perturb\"\n"); in sfq_parse_opt()
67 fprintf(stderr, "Illegal \"limit\"\n"); in sfq_parse_opt()
71 fprintf(stderr, "Illegal \"limit\", must be > 1\n"); in sfq_parse_opt()
78 fprintf(stderr, "Illegal \"divisor\"\n"); in sfq_parse_opt()
85 fprintf(stderr, "Illegal \"flows\"\n"); in sfq_parse_opt()
92 fprintf(stderr, "Illegal \"flows\"\n"); in sfq_parse_opt()
102 fprintf(stderr, "Illegal \"redflowlimit\"\n"); in sfq_parse_opt()
109 fprintf(stderr, "Illegal \"min\"\n"); in sfq_parse_opt()
116 fprintf(stderr, "Illegal \"max\"\n"); in sfq_parse_opt()
123 fprintf(stderr, "Illegal \"burst\"\n"); in sfq_parse_opt()
130 fprintf(stderr, "Illegal \"avpkt\"\n"); in sfq_parse_opt()
137 fprintf(stderr, "Illegal \"probability\"\n"); in sfq_parse_opt()
151 fprintf(stderr, "What is \"%s\"?\n", *argv); in sfq_parse_opt()
159 fprintf(stderr, "Required parameter (redflowlimit) is missing\n"); in sfq_parse_opt()
174 fprintf(stderr, "\"max\" is larger than \"limit\"\n"); in sfq_parse_opt()
179 fprintf(stderr, "\"min\" is not smaller than \"max\"\n"); in sfq_parse_opt()
185 fprintf(stderr, "SFQ: failed to calculate EWMA constant.\n"); in sfq_parse_opt()
189 fprintf(stderr, "SFQ: WARNING. Burst %u seems to be too large.\n", burst); in sfq_parse_opt()
194 fprintf(stderr, "SFQ: failed to calculate probability.\n"); in sfq_parse_opt()
221 fprintf(f, "limit %up ", qopt->limit); in sfq_print_opt()
222 fprintf(f, "quantum %s ", sprint_size(qopt->quantum, b1)); in sfq_print_opt()
224 fprintf(f, "depth %u ", qopt_ext->depth); in sfq_print_opt()
226 fprintf(f, "headdrop "); in sfq_print_opt()
229 fprintf(f, "flows %u/%u ", qopt->flows, qopt->divisor); in sfq_print_opt()
231 fprintf(f, "divisor %u ", qopt->divisor); in sfq_print_opt()
233 fprintf(f, "perturb %dsec ", qopt->perturb_period); in sfq_print_opt()
235 fprintf(f, "\n ewma %u ", qopt_ext->Wlog); in sfq_print_opt()
236 fprintf(f, "min %s max %s probability %g ", in sfq_print_opt()
241 fprintf(f, "ecn "); in sfq_print_opt()
243 fprintf(f, "\n prob_mark %u prob_mark_head %u prob_drop %u", in sfq_print_opt()
247 fprintf(f, "\n forced_mark %u forced_mark_head %u forced_drop %u", in sfq_print_opt()
267 fprintf(f, " allot %d ", st->allot); in sfq_print_xstats()
268 fprintf(f, "\n"); in sfq_print_xstats()