next up previous contents
Next: Classes Up: Configuration data format Previous: Blocks   Contents


Queues

Queuing disciplines are defined with the following syntax:

qdisc index = type parameters pragmas

index
is the number of the queuing discipline
type
is the name of the queuing discipline, e.g. prio or red
parameters
is a space-separated list of parameters. The list may be empty. Each parameter consists of the parameter name, followed by the decimal parameter value. Parameter value conversion is described below. tcc outputs parameters in alphabetic order.
pragmas
is an optional list of space-separated pragmas, beginning with the keyword pragma

Parameter values are converted as follows:

Parameter type Unit in output
Rate 1 Bps (byte per second)
Size in bytes 1 B (byte)
Size in packets 1 p (packet)
Time 1 s (second)
Probability $10^{-6}$ (multiply with 1'000'000)

Example:

qdisc 2 = fifo limit 10000


next up previous contents
Next: Classes Up: Configuration data format Previous: Blocks   Contents
Martin A. Brown 2003-11-06