[LARTC] Divisor

Konrad kcem at tlen.pl
Wed Feb 8 01:36:53 CET 2006


What is the difference between lines below?

$TC filter add dev imq0 parent 1:0 prio 5 handle 1: protocol ip u32 
divisor 1
$TC filter add dev imq0 parent 1:0 prio 5 handle 2: protocol ip u32 
divisor 256

What divisor is doing?

And the last problem...

$TC filter add dev imq0 protocol ip parent 1:0 prio 5 u32 ht 800:: match 
ip src 10.0.0.0/16 hashkey mask 0x000000ff at 12 link 2:

Why after ht should be 800?
When 801:: is correct value? When this value should be different.

Please help me understand this.

--
Konrad aka Lenthir


More information about the LARTC mailing list