Home | History | Annotate | Download | only in tc

Lines Matching full:argv

70 	char **argv = *argv_p;
78 if (matches(*argv, "action") == 0) {
80 } else if (!egress && matches(*argv, "egress") == 0) {
89 } else if (!ingress && matches(*argv, "ingress") == 0) {
100 if (matches(*argv, "index") == 0) {
102 if (get_u32(&p.index, *argv, 10)) {
109 argv++;
113 fprintf(stderr, "was expecting egress or ingress (%s)\n", *argv);
116 } else if (!mirror && matches(*argv, "mirror") == 0) {
126 } else if (!redir && matches(*argv, "redirect") == 0) {
136 } else if ((redir || mirror) && matches(*argv, "dev") == 0) {
139 duparg("dev", *argv);
141 strncpy(d, *argv, sizeof(d)-1);
143 argv++;
174 parse_action_control(&argc, &argv, &p.action, false);
177 if (iok && matches(*argv, "index") == 0) {
181 if (matches(*argv, "index") == 0) {
183 if (get_u32(&p.index, *argv, 10)) {
188 argv++;
199 *argv_p = argv;
210 char **argv = *argv_p;
217 if (matches(*argv, "mirred") == 0) {
220 fprintf(stderr, "mirred bad argument %s\n", *argv);
225 if (matches(*argv, "egress") == 0 || matches(*argv, "ingress") == 0 ||
226 matches(*argv, "index") == 0) {
227 int ret = parse_direction(a, &argc, &argv, tca_id, n);
231 *argv_p = argv;
235 } else if (matches(*argv, "help") == 0) {
238 fprintf(stderr, "mirred option not supported %s\n", *argv);