I am trying to put tc - traffic control to work on a router I am developing.
IMQ is used for ingress traffic, I am using openwrt libraries for that, libraries are all fine. Problem is with my kernel.
As the openwrt script run this line -
iptables -t mangle -A PREROUTING -i eth0 -j IMQ --todev 0
All the outgoing and incoming traffic blocks, Openwrt provides some patches
But problem is this patches are applied on 2.6.28 and my kernel(2.6.28 doesn't have even this files. I tried to find out file "net/ipv4/netfilter/ipt_IMQ.c" in many kernels including 2.6.30 but it was not found.
Strange part is it is there in - 18.104.22.168 and linux-22.214.171.124. But I want to make it work with 2.6.28.
If anybody has patch solution or any other better solution, please do post.