Re: New Qdisc - How to

Linux Advanced Routing and Traffic Control

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

 



I already saw some messages...
And Thanks to all



Message from Andreas and completed by DamJan

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.

unfortunatelly the TC userspace program needs to be patched also

How can I do that?

******************

Message from X-Arnie

you need to change the tc source too


my tc source it's on /sbin/tc


I think this is the right place for the source, isn't it?

******************


I saw in the internet an example which someone change the file "tc_qdisc.c" on /iproute2/tc/
I've got /iproute2 but I can't find /iproute2/tc maybe this is the problem.


I don't know how to push tc into iproute2 and into the sbin/tc there isn't the file tc_qdisc.c







Hey,Ho! Ramones Let's Go...





From: Andreas Klauer <Andreas.Klauer@xxxxxxxxxxxxxx>
To: lartc@xxxxxxxxxxxxxxx
Subject: Re:  New Qdisc - How to
Date: Thu, 20 May 2004 20:08:31 +0200

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.

Andreas
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_________________________________________________________________
MSN Messenger: converse com os seus amigos online. http://messenger.msn.com.br


_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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