Home | History | Annotate | Download | only in tc

Lines Matching refs:DPs

46 	fprintf(stderr," gred setup DPs <num of DPs> default <default DP> "
56 int dps = 0;
61 if (strcmp(*argv, "DPs") == 0) {
64 dps = strtol(*argv, (char **)NULL, 10);
65 if (dps < 0 || dps >MAX_DPs) {
66 fprintf(stderr, "DPs =%d\n", dps);
67 fprintf(stderr, "Illegal \"DPs\"\n");
68 fprintf(stderr, "GRED: only %d DPs are "
75 if (dps == 0) {
77 "defined after DPs\n");
80 if (def_dp < 0 || def_dp > dps) {
83 opt.DPs);
99 if (!dps || def_dp == -1) {
104 opt.DPs = dps;
107 DPRINTF("TC_GRED: sending DPs=%d default=%d\n",opt.DPs,opt.def_DP);
169 fprintf(stderr, "GRED: only %d DPs are currently supported\n",MAX_DPs);