Home | History | Annotate | Download | only in tc

Lines Matching refs:DPs

45 	fprintf(stderr," gred setup DPs <num of DPs> default <default DP> "
55 int dps = 0;
60 if (strcmp(*argv, "DPs") == 0) {
63 dps = strtol(*argv, (char **)NULL, 10);
64 if (dps < 0 || dps >MAX_DPs) {
65 fprintf(stderr, "DPs =%d\n", dps);
66 fprintf(stderr, "Illegal \"DPs\"\n");
67 fprintf(stderr, "GRED: only %d DPs are "
74 if (dps == 0) {
76 "defined after DPs\n");
79 if (def_dp < 0 || def_dp > dps) {
82 opt.DPs);
98 if (!dps || def_dp == -1) {
104 opt.DPs = dps;
107 DPRINTF("TC_GRED: sending DPs=%d default=%d\n",opt.DPs,opt.def_DP);
168 fprintf(stderr, "GRED: only %d DPs are currently supported\n",MAX_DPs);