Byung-Gon Chun
2001-Feb-19 21:33 UTC
How can I create qdisc, class, and filter inside the kernel?
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? Thanks, Byung-Gon Chun _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com
Byung-Gon Chun
2001-Feb-19 21:48 UTC
Re: How can I create qdisc, class, and filter inside the kernel?
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
bert hubert
2001-Feb-19 22:30 UTC
Re: How can I create qdisc, class, and filter inside the kernel?
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