From: Stef Coene Date: Mon, 29 Nov 2004 21:18:54 +0000 Subject: Re: [LARTC] PARAMs Message-Id: <200411292218.54950.stef.coene@docum.org> List-Id: References: <005501c4d3b4$cbfc4c60$4a0710ac@d3lta> In-Reply-To: <005501c4d3b4$cbfc4c60$4a0710ac@d3lta> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org On Friday 26 November 2004 13:38, James Lista wrote: > 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 protoc= ol > 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 =3D 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 ! Start reading and reading and reading and more reading: http://www.lartc.org http://www.docum.org Stef --=20 stef.coene@docum.org =A0"Using Linux as bandwidth manager" =A0 =A0 =A0http://www.docum.org/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/