]>
git.proxmox.com Git - mirror_iproute2.git/blob - tc/q_hpfq.c
c2963669c7dbe599c3ce9b6f6d6e66ae318a1ff2
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: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
18 #include <sys/socket.h>
19 #include <netinet/in.h>
20 #include <arpa/inet.h>
28 fprintf(stderr
, "Usage: ... hpfq \n");
31 static void explain1(char *arg
)
33 fprintf(stderr
, "Illegal \"%s\"\n", arg
);
37 #define usage() return(-1)
39 static int hpfq_parse_opt(struct qdisc_util
*qu
, int argc
, char **argv
, struct nlmsghdr
*n
)
44 static int hpfq_print_opt(struct qdisc_util
*qu
, FILE *f
, struct rtattr
*opt
)
49 static int hpfq_print_xstats(struct qdisc_util
*qu
, FILE *f
, struct rtattr
*xstats
)
54 struct qdisc_util hpfq_util
= {