qos-scripts: Add IPv6 support
authorFelix Fietkau <nbd@openwrt.org>
Fri, 22 Jan 2016 11:59:03 +0000 (11:59 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 22 Jan 2016 11:59:03 +0000 (11:59 +0000)
commit453fc6ab91ab90021f5fffce7875895587b09cfa
tree3aae6742d88297c0c778e116f5fb8163082a256d
parente02d28e3a8cc314e1094121025cb8b551780f9dc
qos-scripts: Add IPv6 support

This adds IPv6 support to qos-scripts for both tc/qdisc and the
iptables classification rules.  The tc/qdisc part is accomplished
by removing "protocol ip" from the tc command line, causing the
rule to be applied to all protocols.  The iptables part is
accomplished by adding each rule using both iptables and ip6tables.

This patch is based on previous work by Ilkka Ollakka and
Dominique Martinet.

Signed-off-by: Michael Marley <michael@michaelmarley.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48452 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/config/qos-scripts/files/usr/lib/qos/generate.sh
package/network/config/qos-scripts/files/usr/lib/qos/tcrules.awk