From mboxrd@z Thu Jan 1 00:00:00 1970 From: Glaucius Djalma Pereira Junior Date: Thu, 09 Jun 2005 14:03:31 +0000 Subject: [LARTC] tc filter priority Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org hi all friends has tc filter an priority of rules , like iptables, let me explain it : with iptables, when the packet find a rule to go, it doesnt see the rest of rules, and how is the behavior of tc filter ?? see it : one packet from 10.10.10.1:2421 going to 11.11.11.1:110 what rule above it will be shaped ?? 1 ) tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip src 10.10.10.10 match ip dst 11.11.11.1 flowid 1:$RULE 2 ) tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip src 10.10.10.1 match ip dport 110 0xffff flowid 1:$RULE the rules were created in this order : 1 and after 2 what rule the packet will be shaped ? best regards -- Glaucius Djalma Pereira Junior glaucius@gmail.com _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc