PARAMs

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux