From mboxrd@z Thu Jan 1 00:00:00 1970 From: Byung-Gon Chun bgchun@hotmail.com Date: Mon, 19 Feb 2001 21:48:37 +0000 Subject: [LARTC] How can I create qdisc, class, and filter inside the kernel? Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org
Thanks for the information!

I want to rephrase my question.
If a certain condition matches, I want to add a qdisc,
a class and a filter inside the kernel module
(I do not use tc program in the userspace).

How can I do this?

Thanks,
Byung-Gon Chun


>From: bert hubert <ahu@ds9a.nl>
>To: Byung-Gon Chun <bgchun@hotmail.com>
>CC: lartc@mailman.ds9a.nl
>Subject: Re: [LARTC] How can I create qdisc, class, and filter inside the 
>kernel?
>Date: Mon, 19 Feb 2001 23:30:22 +0100
>
>On Mon, Feb 19, 2001 at 02:33:36PM -0700, Byung-Gon Chun wrote:
> > Hi,
> >
> > I am writing a kernel module which works with netfilter.
> > If a certain condition matches,
> > I want to create a qdisc, a class and a filter inside
> > the kernel module.
> >
> > How can I create qdisc, class, and filter inside the kernel?
>
>The more knowledgeable people are on the netdev list hosted by SGI. 
>However,
>$TOPDIR/net/sched/sch_prio.c is a good sample. The hard part appears to be
>the integration with the 'tc' tool.
>
>Regards,
>
>bert hubert
>
>--
>http://www.PowerDNS.com      Versatile DNS Services
>Trilab                       The Technology People
>'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com