Lines Matching refs:argv
36 static int fw_parse_opt(struct filter_util *qu, char *handle, int argc, char **argv, struct nlmsghdr *n)
73 if (matches(*argv, "classid") == 0 ||
74 matches(*argv, "flowid") == 0) {
77 if (get_tc_classid(&handle, *argv)) {
82 } else if (matches(*argv, "police") == 0) {
84 if (parse_police(&argc, &argv, TCA_FW_POLICE, n)) {
89 } else if (matches(*argv, "action") == 0) {
91 if (parse_action(&argc, &argv, TCA_FW_ACT, n)) {
96 } else if (strcmp(*argv, "indev") == 0) {
100 argv++;
105 strncpy(d, *argv, sizeof (d) - 1);
107 } else if (strcmp(*argv, "help") == 0) {
111 fprintf(stderr, "What is \"%s\"?\n", *argv);
115 argc--; argv++;