etcnet-qos(8)

NAME
/etc/net QoS support manual

DESCRIPTION
General rules:

1. Classes and qdiscs can contain each other. Typically a class contains a qdisc or one or more subclasses. A qdisc typically contains one ore more classes.

2. Containment is represented by directory tree.

3. Directory must contain one of two files: either 'class' or 'qdisc' so that /etc/net knows the type of each node. The file contains current node parameters.

4. Qdisc handle is it's directory name with ':'.

5. Class classid is the last qdisc seen in the tree plus ':' plus current class's directory name.

6. If current directory contains file 'extra', it's contents will be used when creating children (usually classes). This does not apply to childrens' children.

7. Class dir can contain 'filter' file with filter statements. The filters will belong to parent qdisc and will point to current dir (class), you don't have to specify parent and flowid keywords. If 'extra.filter' file exists, it's contents will be prefixed to each line of 'filter' file.

SEE ALSO

/etc/net QoS examples: http://etcnet.org/examples/

tc manpage

google://linux+qos

FILES
qos/1 - root qdisc