Re: i not find in the kernel code the code of this command

2006-09-04 Thread Ian McDonald

On 9/2/06, Franco [EMAIL PROTECTED] 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
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: i not find in the kernel code the code of this command

2006-09-01 Thread Ian McDonald

On 9/2/06, Franco [EMAIL PROTECTED] 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
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: i not find in the kernel code the code of this command

2006-09-01 Thread Franco

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 [EMAIL PROTECTED]

To: Franco [EMAIL PROTECTED]
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 [EMAIL PROTECTED] 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
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


i not find in the kernel code the code of this command

2006-08-30 Thread [EMAIL PROTECTED]
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 ([EMAIL PROTECTED])
 
The problem 
is this:
I'm searching, in kernel code, the code that implement thi 
command:
 
tc filter add dev eth2 parent : 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
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html