Lines Matching full:argv
37 static int route_parse_opt(struct filter_util *qu, char *handle, int argc, char **argv, struct nlmsghdr *n)
61 if (matches(*argv, "to") == 0) {
64 if (rtnl_rtrealm_a2n(&id, *argv)) {
71 } else if (matches(*argv, "from") == 0) {
74 if (rtnl_rtrealm_a2n(&id, *argv)) {
81 } else if (matches(*argv, "fromif") == 0) {
85 if ((id=ll_name_to_index(*argv)) <= 0) {
92 } else if (matches(*argv, "classid") == 0 ||
93 strcmp(*argv, "flowid") == 0) {
96 if (get_tc_classid(&handle, *argv)) {
101 } else if (matches(*argv, "police") == 0) {
103 if (parse_police(&argc, &argv, TCA_ROUTE4_POLICE, n)) {
108 } else if (matches(*argv, "order") == 0) {
110 if (get_u32(&order, *argv, 0)) {
114 } else if (strcmp(*argv, "help") == 0) {
118 fprintf(stderr, "What is \"%s\"?\n", *argv);
122 argc--; argv++;