The syntax for creating a filter is shown below:
tc filter [ add | del | change | get ] dev STRING
[ prio PRIO ] [ protocol PROTO ]
[ root | classid CLASSID ] [ handle FILTERID ]
[ [ FILTER_TYPE ] [ help | OPTIONS ] ]
tc filter show [ dev STRING ] [ root | parent CLASSID ]
Where:
FILTER_TYPE := { rsvp | u32 | fw | route | etc. }
FILTERID := ... format depends on classifier
The interpretation of the fields:
Having discussed the general syntax for creating, deleting and changing queuing discipline, classes and filters, let us now take a look at the various queuing disciplines that currently supported in linux.