All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Charles Williams" <chuck@slydder.homelinux.com>
To: lartc@vger.kernel.org
Subject: [LARTC] Hash tables
Date: Sun, 31 Mar 2002 18:54:16 +0000	[thread overview]
Message-ID: <marc-lartc-101760063616499@msgid-missing> (raw)

hey all,

I was looking through the script and trying to work out more example entries
to jump start me for when I can test the script and noticed in the filters
the following after I had added the filters to check eth1 for dst address.

// for eth0 -> Internet filtering on source address
$TC filter add dev eth0 parent 1:0 prio 5 u32 \
  ht 1:6: match ip src $ALIAS2 flowid 1:2
$TC filter add dev eth0 parent 1:0 prio 5 handle\
  ::1 u32 ht 800:: match ip nofrag \
  offset mask 0x0F00 shift 6 \
  hashkey mask 0x00ff0000 at 8 link 1:

// for somewhere -> eth1 filtering on destination address
$TC filter add dev eth1 parent 2:0 prio 5 u32 \
  ht 1:6: match ip dst $ALIAS2 flowid 2:2
$TC filter add dev eth1 parent 2:0 prio 5 handle\
  ::1 u32 ht 800:: match ip nofrag \
  offset mask 0x0F00 shift 6 \
  hashkey mask 0x00ff0000 at 8 link 2:

The first block seems correct to me.  However the second doesn't.  Can
anyone verify this and explain why/how?

thanks,
chuck

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

                 reply	other threads:[~2002-03-31 18:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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-101760063616499@msgid-missing \
    --to=chuck@slydder.homelinux.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.