Home | History | Annotate | Download | only in tc

Lines Matching refs:argv

74 	char **argv = *argv_p;
76 if (matches(*argv, "reclassify") == 0) {
78 } else if (matches(*argv, "drop") == 0 || matches(*argv, "shot") == 0) {
80 } else if (matches(*argv, "continue") == 0) {
82 } else if (matches(*argv, "pipe") == 0) {
84 } else if (matches(*argv, "pass") == 0 || matches(*argv, "ok") == 0) {
87 fprintf(stderr,"bad action type %s\n",*argv);
96 char **argv = *argv_p;
113 if (matches(*argv, "gact") == 0) {
116 action = get_act(&argv);
128 argv++;
133 if (matches(*argv, "random") == 0) {
136 if (matches(*argv, "netrand") == 0) {
139 } else if (matches(*argv, "determ") == 0) {
147 action = get_act(&argv);
155 argv++;
156 if (get_u16(&pp.pval, *argv, 10)) {
165 argv++;
166 } else if (matches(*argv, "help") == 0) {
173 if (matches(*argv, "index") == 0) {
175 if (get_u32(&p.index, *argv, 10)) {
180 argv++;
182 } else if (matches(*argv, "help") == 0) {
201 *argv_p = argv;