Lines Matching full:argv
34 static int fw_parse_opt(struct filter_util *qu, char *handle, int argc, char **argv, struct nlmsghdr *n)
71 if (matches(*argv, "classid") == 0 ||
72 matches(*argv, "flowid") == 0) {
75 if (get_tc_classid(&handle, *argv)) {
80 } else if (matches(*argv, "police") == 0) {
82 if (parse_police(&argc, &argv, TCA_FW_POLICE, n)) {
87 } else if (matches(*argv, "action") == 0) {
89 if (parse_action(&argc, &argv, TCA_FW_ACT, n)) {
94 } else if (strcmp(*argv, "indev") == 0) {
98 argv++;
103 strncpy(d, *argv, sizeof (d) - 1);
105 } else if (strcmp(*argv, "help") == 0) {
109 fprintf(stderr, "What is \"%s\"?\n", *argv);
113 argc--; argv++;