On Thu, 20 May 2004 20:08:31 +0200 Andreas Klauer <Andreas.Klauer@xxxxxxxxxxxxxx> wrote: > Am Thursday 20 May 2004 19:04 schrieb Ricardo Leite: > > - Put the new qdisc routine "sch_ric.c" into the directory > > "/usr/src/linux/net/sched/" , > > - Insert a new line on the file "/net/sched/Makefile", > > - Insert a new line on the file "/net/sched/Config.in", > > - Insert a new line on the file "/include/linux/pkt_sched.h", > > - Insert a new line on the file "/net/sched/sch_api.c" > > That's the kernel part. > > > tc qdisc add dev eth0 root bric limit 10 > > > > the kernel (or the tc command) couldn't find the the bric qdisc. > > I haven't read the source, but I assume - seeing how tc needs to be patched > in order to support HTB - that you need to add support for your scheduler > to the tc program itself too. Actually, the tc program supports adding disciplines w/o recompiling. Haven't tried it, but it looks for a shared library called q_XXX.so (where XXX is the new queue name). The shared object needs to define a struct qdisc_util that defines the new disciplines handles. _______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/