From: Andreas Mueller <andreas@stapelspeicher.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] tc filter question
Date: Sun, 28 Oct 2007 18:56:28 +0000 [thread overview]
Message-ID: <20071028185628.GA18512@lintera> (raw)
In-Reply-To: <marc-lartc-104521804622882@msgid-missing>
Hi Daniel.
Daniel wrote:
> 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.
Hi, that values are for the hash-tables of u32, see:
http://lartc.org/howto/lartc.adv-filter.hashing.html
>
> Thanks for all,
>
> Daniel
> PadiNet Makassar
Bye,
Andreas.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next prev parent reply other threads:[~2007-10-28 18:56 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-14 10:19 [LARTC] tc filter question philipp.berndt
2003-02-14 15:09 ` Bartek Krajnik
2003-02-14 16:15 ` Philipp Berndt
2007-10-28 17:48 ` Daniel
2007-10-28 18:55 ` Peter V. Saveliev
2007-10-28 18:56 ` Andreas Mueller [this message]
2007-10-29 5:32 ` Michal Soltys
-- strict thread matches above, loose matches on Subject: below --
2003-06-30 14:42 Σταμάτης Κεκές
2003-06-30 14:50 ` Ethy H. Brito
2003-06-30 15:05 ` ???????? ?????
2003-06-30 15:23 ` Ethy H. Brito
2003-07-01 6:00 ` ???????? ?????
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071028185628.GA18512@lintera \
--to=andreas@stapelspeicher.org \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox