next up previous contents
Next: Restrictions Up: Adding new traffic control Previous: Adding elements to tcsim   Contents

Including modules

Modules are used as follows:

The kmod_cc command-line options are the same as used when building real kernel modules. kmod_cc automatically adjusts the command line such that tcsim's private includes are used.

Note: there may be include file problems when building for tcsim, even if your code normally compiles perfectly. The reason for this is that tcsim replaces many kernel include files in order to limit the amount of functionality that needs to be provided by the glue code. When encountering such problems, please send a bug report with an example of the source that causes the problem to the author.



Martin A. Brown 2003-11-06