Needing to use a traffic shaper in a production environment based on
version 2.0, I found that shaper.c can't be backported to 2.0 because
of relevant changes in the sk_buff structure.
Therefore I wrote a simple tool that delays packet reception, instead
of transmission, by hooking to netif_rx() calls as made by the driver.
The outcome is called rshaper-1.01, (receive shaper), and can be
By shaping incoming packets, the tool can work on gateway machines but
can also be used to limit client download bandwidth in student's
I've tested it with 2.0.34 on my home network, and it looks pretty stable;
unfortunately, it needs a two-liner patch to the interface driver, but
the included README is pretty clear about that.
Hope this tool can be useful to someone else before transitioning to 2.2.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html