From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles Williams" Date: Sun, 31 Mar 2002 18:54:16 +0000 Subject: [LARTC] Hash tables Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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/