* i not find in the kernel code the code of this command
@ 2006-08-30 18:46 franco.daje
0 siblings, 0 replies; 5+ messages in thread
From: franco.daje @ 2006-08-30 18:46 UTC (permalink / raw)
To: netdev
Hi!,
I'm not able to subscrive at this list. My server mail don't send
the mail and consider it a spam mail...
For this, please send eventual
response to this mail address (franco.daje@virgilio.it)
The 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.
Thanks
Franco
^ permalink raw reply [flat|nested] 5+ messages in thread
* i not find in the kernel code the code of this command
@ 2006-09-01 14:18 Franco
2006-09-02 0:04 ` Ian McDonald
0 siblings, 1 reply; 5+ messages in thread
From: Franco @ 2006-09-01 14:18 UTC (permalink / raw)
To: netdev
Hi!,
I'm not able to subscrive at this list. My server mail don't send the mail
and consider it a spam mail...
For this, please send eventual response to this mail address
(franco.daje@virgilio.it)
The 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.
Thanks
Franco
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: i not find in the kernel code the code of this command
2006-09-01 14:18 Franco
@ 2006-09-02 0:04 ` Ian McDonald
2006-09-02 1:22 ` Franco
0 siblings, 1 reply; 5+ messages in thread
From: Ian McDonald @ 2006-09-02 0:04 UTC (permalink / raw)
To: Franco; +Cc: netdev
On 9/2/06, Franco <franco.daje@virgilio.it> wrote:
> 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.
>
I'm not sure I understand your question. Please tell me if I answer wrong!
The code is under net/sched in the source tree. The main file is
act_police.c but it is in use elsewhere as well. grep for POLICE.
To build the code you need to alter your kernel options under 'make
menuconfig' Networking, Networking Options, Qos and/or fair queueing,
Actions must be selected and then Traffic Police.
I hope this helps.
Ian
--
Ian McDonald
Web: http://wand.net.nz/~iam4
Blog: http://imcdnzl.blogspot.com
WAND Network Research Group
Department of Computer Science
University of Waikato
New Zealand
--
VGER BF report: U 0.5
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: i not find in the kernel code the code of this command
2006-09-02 0:04 ` Ian McDonald
@ 2006-09-02 1:22 ` Franco
2006-09-04 20:58 ` Ian McDonald
0 siblings, 1 reply; 5+ messages in thread
From: Franco @ 2006-09-02 1:22 UTC (permalink / raw)
To: Ian McDonald; +Cc: netdev
thanks for your response!
Yes, The code is under net/sched in the source tree.
The file act_police.c in the directoy net/sched don't exist. there is
police.c that have a very similar code act_police.c (that i have found on
internet)
however i have doon 'make menuconfig', i have gone to traffic policing and
it is selectionated but there is only the "*". there isn't "M" that means
"modularized featured" and i can't insert M in traffic policing
you have help me very much with this last information. But, at this point,
if i want create a proc file in police.c, therefore modificate the kernel, i
must install on my pc another version on linux. It is exact?
Thanks
bye
Franco
----- Original Message -----
From: "Ian McDonald" <ian.mcdonald@jandi.co.nz>
To: "Franco" <franco.daje@virgilio.it>
Cc: <netdev@vger.kernel.org>
Sent: Saturday, September 02, 2006 2:04 AM
Subject: Re: i not find in the kernel code the code of this command
> On 9/2/06, Franco <franco.daje@virgilio.it> wrote:
>> 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.
>>
> I'm not sure I understand your question. Please tell me if I answer wrong!
>
> The code is under net/sched in the source tree. The main file is
> act_police.c but it is in use elsewhere as well. grep for POLICE.
>
> To build the code you need to alter your kernel options under 'make
> menuconfig' Networking, Networking Options, Qos and/or fair queueing,
> Actions must be selected and then Traffic Police.
>
> I hope this helps.
>
> Ian
> --
> Ian McDonald
> Web: http://wand.net.nz/~iam4
> Blog: http://imcdnzl.blogspot.com
> WAND Network Research Group
> Department of Computer Science
> University of Waikato
> New Zealand
>
> __________ Informazione NOD32 1.1607 (20060619) __________
>
> Questo messaggio è stato controllato dal Sistema Antivirus NOD32
> http://www.nod32.it
>
>
--
VGER BF report: U 0.502266
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: i not find in the kernel code the code of this command
2006-09-02 1:22 ` Franco
@ 2006-09-04 20:58 ` Ian McDonald
0 siblings, 0 replies; 5+ messages in thread
From: Ian McDonald @ 2006-09-04 20:58 UTC (permalink / raw)
To: Franco; +Cc: netdev
On 9/2/06, Franco <franco.daje@virgilio.it> wrote:
> thanks for your response!
> Yes, The code is under net/sched in the source tree.
> The file act_police.c in the directoy net/sched don't exist. there is
> police.c that have a very similar code act_police.c (that i have found on
> internet)
Go to http://kernel.org and download a recent kernel.
> if i want create a proc file in police.c, therefore modificate the kernel, i
> must install on my pc another version on linux. It is exact?
As I said above get a newer version.
--
Ian McDonald
Web: http://wand.net.nz/~iam4
Blog: http://imcdnzl.blogspot.com
WAND Network Research Group
Department of Computer Science
University of Waikato
New Zealand
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-09-04 20:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-30 18:46 i not find in the kernel code the code of this command franco.daje
-- strict thread matches above, loose matches on Subject: below --
2006-09-01 14:18 Franco
2006-09-02 0:04 ` Ian McDonald
2006-09-02 1:22 ` Franco
2006-09-04 20:58 ` Ian McDonald
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).