Home | History | Annotate | Download | only in tc

Lines Matching full:argv

69 	char **argv = *argv_p;
80 if (matches(*argv, "action") == 0) {
82 } else if (matches(*argv, "egress") == 0) {
88 if (matches(*argv, "index") == 0) {
90 if (get_u32(&p.index, *argv, 10)) {
97 argv++;
101 fprintf(stderr, "was expecting egress (%s)\n", *argv);
104 } else if (!mirror && matches(*argv, "mirror") == 0) {
113 } else if (!redir && matches(*argv, "redirect") == 0) {
122 } else if ((redir || mirror) && matches(*argv, "dev") == 0) {
125 duparg("dev", *argv);
127 strncpy(d, *argv, sizeof(d)-1);
129 argv++;
160 if (matches(*argv, "reclassify") == 0) {
163 } else if (matches(*argv, "pipe") == 0) {
166 } else if (matches(*argv, "drop") == 0 ||
167 matches(*argv, "shot") == 0) {
170 } else if (matches(*argv, "continue") == 0) {
173 } else if (matches(*argv, "pass") == 0) {
181 if (iok && matches(*argv, "index") == 0) {
185 if (matches(*argv, "index") == 0) {
187 if (get_u32(&p.index, *argv, 10)) {
192 argv++;
203 *argv_p = argv;
213 char **argv = *argv_p;
220 if (matches(*argv, "mirred") == 0) {
223 fprintf(stderr,"mirred bad arguement %s\n", *argv);
228 if (matches(*argv, "egress") == 0 || matches(*argv, "index") == 0) {
229 int ret = parse_egress(a, &argc, &argv, tca_id, n);
232 *argv_p = argv;
236 } else if (matches(*argv, "ingress") == 0) {
238 } else if (matches(*argv, "help") == 0) {
241 fprintf(stderr,"mirred option not supported %s\n", *argv);