From: "James Lista" Date: Fri, 26 Nov 2004 12:38:14 +0000 Subject: [LARTC] PARAMs Message-Id: <005501c4d3b4$cbfc4c60$4a0710ac@d3lta> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org buddies, im newbie to traffic control and been studying htb scripts (examples), I wonder how to use params, this line below for ex.: -------- $TC filter add dev $WAN parent 1: protocol ip prio 10 u32 match ip protocol 6 0xff match u 8 0x05 0x0f at 0 match u16 0x0000 0xffc0 at 2 match u8 0x10 0xff at 33 flowid 1:$VIP -------- I understood it is adding a filter to go to class $VIP in device wan (eth0 in my case)........ I also understant that "match ip protocol 6" <-- 6 = TCP - I see that in /etc/protocols, but why that 0xff after it ? can someone explain the rest of the params ? I donnot understant those params like prio 10, u32, match u16 0x0000 0xffc0, etc ! thanks in advance James _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/