Next: Including modules
Up: Adding new traffic control
Previous: Adding new traffic control
  Contents
New traffic control elements are added to the tcsim executable as
follows:
- first, add the necessary code to the kernel source tree and to
iproute2/tc
- edit the file config or run configure so that
tcsim can find and use the new source trees
- in setup.klib, add a command to copy the new kernel source
file(s) to the klib directory
- add the name(s) of the new kernel code object file(s) to OBJS in
Makefile.klib
- if your component requires any new kernel configuration option(s)
to be set, add them to include/linux/config.h in setup.klib
(search for CONFIG)
- if your component requires a new entry in iproute2/Config,
enable it in setup.ulib (search for Config)
- run make
Martin A. Brown
2003-11-06