next up previous contents
Next: Adding new queuing disciplines Up: Traffic control compiler Previous: Variable use list   Contents

Adding new traffic control elements to tcc

While it is possible to add new traffic control elements to tcc, this is currently somewhat complicated. In this section, we outline the general procedure. For further details, the source code of existing traffic control elements provides the best reference.

Before adding new elements to tcc, the possibility of re-using existing elements should be considered. It is frequently easier to provide a set of macros that adapt an existing element, than implementing new elements from scratch.


Martin A. Brown 2003-11-06