Lines Matching full:argv
34 static int choke_parse_opt(struct qdisc_util *qu, int argc, char **argv,
51 if (strcmp(*argv, "limit") == 0) {
53 if (get_unsigned(&opt.limit, *argv, 0)) {
57 } else if (strcmp(*argv, "bandwidth") == 0) {
59 if (get_rate(&rate, *argv)) {
63 } else if (strcmp(*argv, "ecn") == 0) {
65 } else if (strcmp(*argv, "min") == 0) {
67 if (get_unsigned(&opt.qth_min, *argv, 0)) {
71 } else if (strcmp(*argv, "max") == 0) {
73 if (get_unsigned(&opt.qth_max, *argv, 0)) {
77 } else if (strcmp(*argv, "burst") == 0) {
79 if (get_unsigned(&burst, *argv, 0)) {
83 } else if (strcmp(*argv, "avpkt") == 0) {
85 if (get_size(&avpkt, *argv)) {
89 } else if (strcmp(*argv, "probability") == 0) {
91 if (sscanf(*argv, "%lg", &probability) != 1) {
95 } else if (strcmp(*argv, "help") == 0) {
99 fprintf(stderr, "What is \"%s\"?\n", *argv);
103 argc--; argv++;