Home | History | Annotate | Download | only in tc

Lines Matching full:argv

38 static int sfq_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n)
48 if (strcmp(*argv, "quantum") == 0) {
50 if (get_size(&opt.v0.quantum, *argv)) {
55 } else if (strcmp(*argv, "perturb") == 0) {
57 if (get_integer(&opt.v0.perturb_period, *argv, 0)) {
62 } else if (strcmp(*argv, "limit") == 0) {
64 if (get_u32(&opt.v0.limit, *argv, 0)) {
73 } else if (strcmp(*argv, "divisor") == 0) {
75 if (get_u32(&opt.v0.divisor, *argv, 0)) {
80 } else if (strcmp(*argv, "flows") == 0) {
82 if (get_u32(&opt.v0.flows, *argv, 0)) {
87 } else if (strcmp(*argv, "depth") == 0) {
89 if (get_u32(&opt.depth, *argv, 0)) {
94 } else if (strcmp(*argv, "headdrop") == 0) {
97 } else if (strcmp(*argv, "redflowlimit") == 0) {
99 if (get_u32(&opt.limit, *argv, 0)) {
104 } else if (strcmp(*argv, "min") == 0) {
106 if (get_u32(&opt.qth_min, *argv, 0)) {
111 } else if (strcmp(*argv, "max") == 0) {
113 if (get_u32(&opt.qth_max, *argv, 0)) {
118 } else if (strcmp(*argv, "burst") == 0) {
120 if (get_unsigned(&burst, *argv, 0)) {
125 } else if (strcmp(*argv, "avpkt") == 0) {
127 if (get_size(&avpkt, *argv)) {
132 } else if (strcmp(*argv, "probability") == 0) {
134 if (sscanf(*argv, "%lg", &probability) != 1) {
139 } else if (strcmp(*argv, "ecn") == 0) {
142 } else if (strcmp(*argv, "harddrop") == 0) {
145 } else if (strcmp(*argv, "help") == 0) {
149 fprintf(stderr, "What is \"%s\"?\n", *argv);
153 argc--; argv++;