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@xxxxxxx>
To: Byung-Gon Chun <bgchun@xxxxxxxxxxx>
CC: lartc@xxxxxxxxxxxxxxx
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