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?
/proc/config.gz
for the list but it may not be the answer you're looking for...config
file may be under/boot/
on some distros, e.g. Ubuntu.)