Hi!, My problem is this: I''m searching, in kernel code, the code that implement thi command: tc filter add dev eth2 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate $1 burst $2 drop flowid :1 I thought that this code was police.c but seem that it isn''t i must implement a proc file in the code and recompiling the kernel. Please send eventual response to my mail address (franco.daje@virgilio.it) Thanks Franco _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Andreas Mueller
2006-Sep-01 18:01 UTC
Re: I not find in the kernel code the code of this command
Franco wrote:> Hi!, > My problem is this: > I''m searching, in kernel code, the code that implement thi command: > > tc filter add dev eth2 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate $1 burst $2 drop flowid :1 > > I thought that this code was police.c but seem that it isn''t > i must implement a proc file in the code and recompiling the kernel. > > Please send eventual response to my mail address (franco.daje@virgilio.it) > > Thanks > > Franco> _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartcIn 2.6.17.11 it should be in net/sched/act_police.c . Andreas
very thanks for the help! But i''m using linux-2.6.11-6MDK and in net/sched there isn''t act_police.c> Franco wrote: >> Hi!, >> My problem is this: >> I''m searching, in kernel code, the code that implement thi command: >> >> tc filter add dev eth2 parent ffff: protocol ip prio 1 u32 match ip src >> 0.0.0.0/0 police rate $1 burst $2 drop flowid :1 >> >> I thought that this code was police.c but seem that it isn''t >> i must implement a proc file in the code and recompiling the kernel. >> >> Please send eventual response to my mail address >> (franco.daje@virgilio.it) >> >> Thanks >> >> Franco > >> _______________________________________________ >> LARTC mailing list >> LARTC@mailman.ds9a.nl >> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc > > In 2.6.17.11 it should be in net/sched/act_police.c . > > Andreas > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc > > __________ Informazione NOD32 1.1607 (20060619) __________ > > Questo messaggio รจ stato controllato dal Sistema Antivirus NOD32 > http://www.nod32.it > >