* [LARTC] Access to TC from linux kernel
@ 2002-11-18 19:17 lists brk
2002-11-19 8:54 ` Stef Coene
0 siblings, 1 reply; 2+ messages in thread
From: lists brk @ 2002-11-18 19:17 UTC (permalink / raw)
To: lartc
Hi!,
I am a newbie to LARTC. I have a linux kernel module
which inspects packets and marks the packets using
Netfilter.
I am aware that I can implement traffic shaping on the
marked packets using tc from the user land.
I would like to know if I can perform traffic shaping
on the marked packets from within the linux kernel.
Did anyone do something similar to this before?
Thank You,
BRK
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] Access to TC from linux kernel
2002-11-18 19:17 [LARTC] Access to TC from linux kernel lists brk
@ 2002-11-19 8:54 ` Stef Coene
0 siblings, 0 replies; 2+ messages in thread
From: Stef Coene @ 2002-11-19 8:54 UTC (permalink / raw)
To: lartc
On Monday 18 November 2002 20:17, lists brk wrote:
> Hi!,
>
> I am a newbie to LARTC. I have a linux kernel module
> which inspects packets and marks the packets using
> Netfilter.
>
> I am aware that I can implement traffic shaping on the
> marked packets using tc from the user land.
>
> I would like to know if I can perform traffic shaping
> on the marked packets from within the linux kernel.
> Did anyone do something similar to this before?
You need the fw filter. This filter can match packets based on the kernel
mark.
tc filter add dev eth0 parent 1: protocol ip prio 3 handle 1 fw classid 10:1
This filter will match all packets with mark 1 and put them in class 10:1
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-19 8:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-18 19:17 [LARTC] Access to TC from linux kernel lists brk
2002-11-19 8:54 ` Stef Coene
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.