Lines Matching refs:argv
128 char **argv = *argv_p;
153 if (matches(*argv, "index") == 0) {
155 if (get_u32(&p.index, *argv, 10)) {
159 } else if (matches(*argv, "burst") == 0 ||
160 strcmp(*argv, "buffer") == 0 ||
161 strcmp(*argv, "maxburst") == 0) {
167 if (get_size_and_cell(&buffer, &Rcell_log, *argv) < 0) {
171 } else if (strcmp(*argv, "mtu") == 0 ||
172 strcmp(*argv, "minburst") == 0) {
178 if (get_size_and_cell(&mtu, &Pcell_log, *argv) < 0) {
182 } else if (strcmp(*argv, "mpu") == 0) {
188 if (get_size(&mpu, *argv)) {
192 } else if (strcmp(*argv, "rate") == 0) {
198 if (get_rate(&p.rate.rate, *argv)) {
202 } else if (strcmp(*argv, "avrate") == 0) {
208 if (get_rate(&avrate, *argv)) {
212 } else if (matches(*argv, "peakrate") == 0) {
218 if (get_rate(&p.peakrate.rate, *argv)) {
222 } else if (matches(*argv, "reclassify") == 0) {
224 } else if (matches(*argv, "drop") == 0 ||
225 matches(*argv, "shot") == 0) {
227 } else if (matches(*argv, "continue") == 0) {
229 } else if (matches(*argv, "pass") == 0) {
231 } else if (matches(*argv, "pipe") == 0) {
233 } else if (strcmp(*argv, "action") == 0 ||
234 strcmp(*argv, "conform-exceed") == 0) {
236 if (get_police_result(&p.action, &presult, *argv)) {
240 } else if (matches(*argv, "overhead") == 0) {
242 if (get_u16(&overhead, *argv, 10)) {
245 } else if (matches(*argv, "linklayer") == 0) {
247 if (get_linklayer(&linklayer, *argv)) {
250 } else if (strcmp(*argv, "help") == 0) {
256 argc--; argv++;
312 *argv_p = argv;