4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
9 * Authors: J Hadi Salim
18 static void explain(void)
20 fprintf(stderr, "Usage: ... ingress\n");
23 static int ingress_parse_opt(struct qdisc_util *qu, int argc, char **argv,
24 struct nlmsghdr *n, const char *dev)
27 if (strcmp(*argv, "handle") == 0) {
31 fprintf(stderr, "What is \"%s\"?\n", *argv);
40 static int ingress_print_opt(struct qdisc_util *qu, FILE *f,
43 print_string(PRINT_FP, NULL, "---------------- ", NULL);
47 struct qdisc_util ingress_qdisc_util = {
49 .parse_qopt = ingress_parse_opt,
50 .print_qopt = ingress_print_opt,