Hello, On 14 Jan 2003, Eric Leblond wrote: > I did not manage to push arp packet in the wanted queue. I use the > following syntax : > > tc class add dev eth0 parent 1:1 classid 1:4 htb \\ > rate 512.0Kbit ceil 512.0Kbit burst 1.28Kbit prio 0 > tc filter add dev eth0 protocol ip u32 \\ > match u16 0x0806 0xFFFF at -2 flowid 1:4 > > Do I need special options in the qos code (special modules ...) No, no more hacks, just use "protocol arp" instead of "protocol ip". Then you can avoid matching the eth proto code at -2. The filter's "protocol XXX" uses skb->protocol which is built from the eth proto code for eth devices (returned from eth_type_trans). So, "protocol ip" is ETH_P_IP, "protocol arp" is ETH_P_ARP and so on. See the "llproto_names" array in iproute2 (lib/ll_proto.c) and ll_proto_a2n() used from tc/tc_filter.c Regards -- Julian Anastasov <ja@ssi.bg>