next up previous
Next: Queuing Disciplines Up: QoS Support in Linux Previous: Interface between the kernel

Usage - tc

'tc' (traffic controller) is the user level program that can be used to create and associate queues with the output devices. It is used to set up various kinds of queues and associate classes with each of those queues. It can also be used to set up filters based on the routing table, u32 classifiers, tcindex classifiers and RSVP classifiers. As already mentioned, it uses netlink sockets as a mechanism to communicate with the kernel networking functions.

The usage for tc is :

tc [ OPTIONS ] OBJECT { COMMAND | help }
where  OBJECT := { qdisc | class | filter }
       OPTIONS := { -s[statistics] | -d[details] | -r[raw] }

The Object could be a queuing discipline, class or a filter. Let us discuss the general usage of queuing disciplines,classes and filters.

Saravanan Radhakrishnan