Re: tc filter question

Linux Advanced Routing and Traffic Control

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

 



В сообщении от Sunday 28 October 2007 20:48:13 Daniel написал(а):
> Dear all,
>
> I have big question in my mind about "tc filter" sintax. If I give "tc -s
> -d filter sh dev eth0" command, then the output is like below :
>
> filter parent 1: protocol ip pref 1 u32
> filter parent 1: protocol ip pref 1 u32 fh 800: ht divisor 1
> filter parent 1: protocol ip pref 1 u32 fh 800::800 order 2048 key ht 800
> bkt 0 flowid 1:2  (rule hit 21553629
>  success 37907)
>   match 00160000/ffff0000 at 20 (success 37907 )
>
> ...
>
> My question is :
> 1. What is "fh 800:" and "fh 800::800" mean ?
> 2. How I change the value "800" in "fh 800::800" ? I'm guessing this is
> default value and I need to change that because my filter rule can be more
> than 0xfff line.
<skip />

There is a rather unclear howto chapter: 
http://lartc.org/howto/lartc.adv-filter.hashing.html

But it is very correct. Try it (actually, I understood it not from the first 
attempt ;))

-- 
Peter V. Saveliev
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


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