Re: [PATCH] mark in u32

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thomas Graf wrote:

You don't need bitkeeper, just download the .10 and the latest patch to
get to -bk8 then apply my patches.


tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src 0.0.0.0/0 police rate 100kbit burst 10k drop flowid :1

Works OK.

tc filter add dev eth0 parent ffff: protocol 6 prio 1 u32 match ip src 0.0.0.0/0 police rate 100kbit burst 10k drop flowid :1


Use a different prio, one that is not yet occupied by a protocol/kind
tuple.

OK will try.


CONFIG_NET_CLS_ACT_POLICE?

I can't find it! neither can grep .config

This could be it. I just deleted everything to do with 2.6.10, booted into 2.6.9 to start again with fresh 2.6.10 source tree.

When I do make menuconfig I notice it uses defaults from /boot/config-2.6.9 (I will remove and try again later).

So maybe this is why I can't find CONFIG_NET_CLS_ACT_POLICE ?

[andy@amd ~]$ grep NET_CLS /boot/config-2.6.10-3
CONFIG_NET_CLS=y
CONFIG_NET_CLS_TCINDEX=m
CONFIG_NET_CLS_ROUTE4=m
CONFIG_NET_CLS_ROUTE=y
CONFIG_NET_CLS_FW=m
CONFIG_NET_CLS_U32=m
# CONFIG_NET_CLS_IND is not set
CONFIG_NET_CLS_RSVP=m
CONFIG_NET_CLS_RSVP6=m


Gonna look at this, do you preload the modules and if not, do you have
the correct modutils version etc?

Sorry - don't waste your time - I goofed my bzImage / GRUB naming so I was loading the first one I did all along.


Andy.

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux