показать / изменить настройки управления трафиком (show / manipulate traffic control settings)
Именование (Naming)
All qdiscs, classes and filters have IDs, which can either be
specified or be automatically assigned.
IDs consist of a major
number and a minor
number, separated by a
colon - major
:minor
. Both major
and minor
are hexadecimal
numbers and are limited to 16 bits. There are two special values:
root is signified by major
and minor
of all ones, and unspecified
is all zeros.
QDISCS A qdisc, which potentially can have children, gets
assigned a major
number, called a 'handle', leaving the
minor
number namespace available for classes. The handle
is expressed as '10:'. It is customary to explicitly
assign a handle to qdiscs expected to have children.
CLASSES
Classes residing under a qdisc share their qdisc major
number, but each have a separate minor
number called a
'classid' that has no relation to their parent classes,
only to their parent qdisc. The same naming custom as for
qdiscs applies.
FILTERS
Filters have a three part ID, which is only needed when
using a hashed filter hierarchy.