All of lore.kernel.org
 help / color / mirror / Atom feed
From: <zoop@unix01.lendingfirst.com>
To: lartc@vger.kernel.org
Subject: [LARTC] Useing HashTable
Date: Tue, 22 Oct 2002 01:08:39 +0000	[thread overview]
Message-ID: <marc-lartc-103524897720841@msgid-missing> (raw)

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/

             reply	other threads:[~2002-10-22  1:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-22  1:08 zoop [this message]
2002-10-22  8:48 ` [LARTC] Useing HashTable bert hubert

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=marc-lartc-103524897720841@msgid-missing \
    --to=zoop@unix01.lendingfirst.com \
    --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 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.