[LARTC] naming classes/qdiscs - answer

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 > is the naming of classes essential for building them correctly? is
 parent 1:1 classid 10:0 somehow different from parent 1:1 classid 1:2?
 up to now i thought classid was only a name and the parent would be
 enough to make the classes' positions in the tree unambiguously... 

I think I mentioned this in my review of the recent howto updates.
Here's the explanation from
http://luxik.cdi.cz/~devik/qos/htb/

Note: In general (not just for HTB but for all qdiscs and classes in
tc), handles are written x:y where x is an integer identifying a
qdisc and y is an integer identifying a class belonging to that
qdisc. The handle for a qdisc must have zero for its y value and
the handle for a class must have a non-zero value for its y value. The
"1:" above is treated as "1:0". 



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux