next up previous contents
Next: Actions Up: Configuration data format Previous: Queues   Contents

Classes

Class definitions immediately follow the corresponding queuing discipline, and use the following syntax:

class index = parameters pragmas

index
is the number of the class
parameters
is a space-separated list of parameters. Parameter value conversion is described in section 7.2.5.
pragmas
is an optional list of space-separated pragmas, beginning with the keyword pragma

Example:

qdisc 2 = prio bands 3
class 2 = qdisc 4
class 1 = qdisc 3

In order to express the hierarchy of queuing disciplines and classes, two pseudo-parameters are added to class definitions:

qdisc
specifies the number of the queuing discipline attached to this class
parent
specifies the number of the parent class of this class. If the parent parameter is absent, the class is at the top level of the class hierarchy.



Martin A. Brown 2003-11-06