All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Useing HashTable
@ 2002-10-22  1:08 zoop
  2002-10-22  8:48 ` bert hubert
  0 siblings, 1 reply; 2+ messages in thread
From: zoop @ 2002-10-22  1:08 UTC (permalink / raw)
  To: lartc

I have a quesiton about hashtables I'm trying to understan how I can use
this.
the default hash table would be 800::

tc filter add dev eth1 protocol ip parent 1:0 prio 5 u32 ht 800:: \
        match ip src 1.2.0.0/16 \
        hashkey mask 0x000000ff at 12 \
        link 2:

tc filter add dev eth1 protocol ip parent 1:0 prio 5 u32 ht 2:7b: \
        match ip src 1.2.4.123 flowid 1:2

so I would understand this to get the last octect of the IP address and
use it to choose the ht

I'm wondering if I could set the mask to something like 0x0000ff00 so that
I could only get the 3rd octect?  Or am I not understanding how the mask
works?
 and also could I use it like a normail netowrk mask so that I could use
something like 0x00000080 or something?

-zoop

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-22  8:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-22  1:08 [LARTC] Useing HashTable zoop
2002-10-22  8:48 ` bert hubert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.