Sample Header Ad - 728x90

Get list of qdiscs and filters that are supported by tc tool

5 votes
1 answer
5761 views
Depending on how it was compiled and on its version number, tc tool does not always handle the same list of queueing disciplines, filters, policing actions and so on. I am looking for a way to get a list of those different elements. I tried tc -V of course, which displays the version but nothing about the supported algorithms. Likewise, tc help or tc qdisc help or tc qdisc add help does not print an exhaustive list of the queueing disciplines I can use. I had a look at /etc/iproute2/ directory which seems to contain some data related to ip tool, but I did not find anything about traffic control. I could probably get most of the list from the manual pages or from source code, but that would not tell me what will be enabled after compiling. Furthermore I intend to process those lists and would really like to get them either from command line if possible, or from a system file that would be more reliable / parsable than a man page. Would anyone know how I could get the list of algorithms supported by my tc version, or whether it is possible at all to obtain it?
Asked by Qeole (724 rep)
Mar 20, 2016, 09:14 PM
Last activity: Sep 5, 2019, 08:31 AM