[LARTC] to classify non-IP packet???

Linux Advanced Routing and Traffic Control

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

 



I have successfully classified QRoute packet from IP packet by adding
{0x8000, "qroute"} to /iproute2/lib/ll_protocol.c, and make iproute2
again,then use: "tc filter add dev eth0 parent 1: prio 5 protocol qroute u32
match u8 0x00 0x00 at 0 flowid 1:10". It will classify the all the qroute
packet to flow 1:10. Now I want to further classify QRoute packet according
to the first 2 bytes of the packet, I have tried to use tc filter add dev
eth0 parent 1: prio 6 protocol qroute u32 match u8 0x40 0xff at 0 flowid
1:20", but it doesn't work! anyone know how to do it?





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