Lines Matching full:argv
51 static int sfb_parse_opt(struct qdisc_util *qu, int argc, char **argv,
66 if (strcmp(*argv, "rehash") == 0) {
68 if (get_u32(&opt.rehash_interval, *argv, 0)) {
72 } else if (strcmp(*argv, "db") == 0) {
74 if (get_u32(&opt.warmup_time, *argv, 0)) {
78 } else if (strcmp(*argv, "limit") == 0) {
80 if (get_u32(&opt.limit, *argv, 0)) {
84 } else if (strcmp(*argv, "max") == 0) {
86 if (get_u32(&opt.max, *argv, 0)) {
90 } else if (strcmp(*argv, "target") == 0) {
92 if (get_u32(&opt.bin_size, *argv, 0)) {
96 } else if (strcmp(*argv, "increment") == 0) {
98 if (get_prob(&opt.increment, *argv)) {
102 } else if (strcmp(*argv, "decrement") == 0) {
104 if (get_prob(&opt.decrement, *argv)) {
108 } else if (strcmp(*argv, "penalty_rate") == 0) {
110 if (get_u32(&opt.penalty_rate, *argv, 0)) {
114 } else if (strcmp(*argv, "penalty_burst") == 0) {
116 if (get_u32(&opt.penalty_burst, *argv, 0)) {
121 fprintf(stderr, "What is \"%s\"?\n", *argv);
125 argc--; argv++;