Lines Matching full:argv
36 static int red_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n)
51 if (strcmp(*argv, "limit") == 0) {
53 if (get_size(&opt.limit, *argv)) {
57 } else if (strcmp(*argv, "min") == 0) {
59 if (get_size(&opt.qth_min, *argv)) {
63 } else if (strcmp(*argv, "max") == 0) {
65 if (get_size(&opt.qth_max, *argv)) {
69 } else if (strcmp(*argv, "burst") == 0) {
71 if (get_unsigned(&burst, *argv, 0)) {
75 } else if (strcmp(*argv, "avpkt") == 0) {
77 if (get_size(&avpkt, *argv)) {
81 } else if (strcmp(*argv, "probability") == 0) {
83 if (sscanf(*argv, "%lg", &probability) != 1) {
87 } else if (strcmp(*argv, "bandwidth") == 0) {
89 if (get_rate(&rate, *argv)) {
93 } else if (strcmp(*argv, "ecn") == 0) {
95 } else if (strcmp(*argv, "harddrop") == 0) {
97 } else if (strcmp(*argv, "adaptative") == 0) {
99 } else if (strcmp(*argv, "adaptive") == 0) {
101 } else if (strcmp(*argv, "help") == 0) {
105 fprintf(stderr, "What is \"%s\"?\n", *argv);
109 argc--; argv++;