Lines Matching refs:fprintf
32 fprintf(stderr, "Usage: tc class [ add | del | change | replace | show ] dev STRING\n");
33 fprintf(stderr, " [ classid CLASSID ] [ root | parent CLASSID ]\n");
34 fprintf(stderr, " [ [ QDISC_KIND ] [ help | OPTIONS ] ]\n");
35 fprintf(stderr, "\n");
36 fprintf(stderr, " tc class show [ dev STRING ] [ root | parent CLASSID ]\n");
37 fprintf(stderr, "Where:\n");
38 fprintf(stderr, "QDISC_KIND := { prio | cbq | etc. }\n");
39 fprintf(stderr, "OPTIONS := ... try tc class add <desired QDISC_KIND> help\n");
80 fprintf(stderr, "Error: try \"classid\" instead of \"handle\"\n");
84 fprintf(stderr, "Error: \"root\" is duplicate parent ID.\n");
118 fprintf(stderr, "Error: Qdisc \"%s\" is classless.\n", k);
127 fprintf(stderr, "Garbage instead of arguments \"%s ...\". Try \"tc class help\".", *argv);
136 fprintf(stderr, "Cannot find device \"%s\"\n", d);
162 fprintf(stderr, "Not a class\n");
167 fprintf(stderr, "Wrong len %d\n", len);
180 fprintf(stderr, "print_class: NULL kind\n");
185 fprintf(fp, "deleted ");
194 fprintf(fp, "class %s %s ", (char*)RTA_DATA(tb[TCA_KIND]), abuf);
197 fprintf(fp, "dev %s ", ll_index_to_name(t->tcm_ifindex));
200 fprintf(fp, "root ");
206 fprintf(fp, "parent %s ", abuf);
209 fprintf(fp, "leaf %x: ", t->tcm_info>>16);
215 fprintf(fp, "[cannot parse class parameters]");
217 fprintf(fp, "\n");
223 fprintf(fp, "\n");
227 fprintf(fp, "\n");
264 fprintf(stderr, "Error: \"root\" is duplicate parent ID\n");
279 fprintf(stderr, "What is \"%s\"? Try \"tc class help\".\n", *argv);
290 fprintf(stderr, "Cannot find device \"%s\"\n", d);
302 fprintf(stderr, "Dump terminated\n");
332 fprintf(stderr, "Command \"%s\" is unknown, try \"tc class help\".\n", *argv);