Index: make/linux/Config.iks.7390_05.50
===================================================================
--- make/linux/Config.iks.7390_05.50 (revision 10304)
+++ make/linux/Config.iks.7390_05.50 (working copy)
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.28.8
-# Thu Mar 29 21:24:39 2012
+# Tue Apr 2 22:36:49 2013
#
CONFIG_MIPS=y
@@ -501,6 +501,7 @@
# CONFIG_NET_SCH_DSMARK is not set
# CONFIG_NET_SCH_NETEM is not set
CONFIG_NET_SCH_LLQ=m
+CONFIG_NET_SCH_INGRESS=m
#
# Classification
@@ -510,15 +511,24 @@
CONFIG_NET_CLS_TCINDEX=m
CONFIG_NET_CLS_ROUTE4=m
CONFIG_NET_CLS_ROUTE=y
-# CONFIG_NET_CLS_FW is not set
+CONFIG_NET_CLS_FW=m
CONFIG_NET_CLS_U32=m
# CONFIG_CLS_U32_PERF is not set
-# CONFIG_CLS_U32_MARK is not set
+CONFIG_CLS_U32_MARK=y
# CONFIG_NET_CLS_RSVP is not set
# CONFIG_NET_CLS_RSVP6 is not set
# CONFIG_NET_CLS_FLOW is not set
# CONFIG_NET_EMATCH is not set
-# CONFIG_NET_CLS_ACT is not set
+CONFIG_NET_CLS_ACT=y
+CONFIG_NET_ACT_POLICE=m
+CONFIG_NET_ACT_GACT=m
+# CONFIG_GACT_PROB is not set
+CONFIG_NET_ACT_MIRRED=m
+# CONFIG_NET_ACT_IPT is not set
+# CONFIG_NET_ACT_NAT is not set
+# CONFIG_NET_ACT_PEDIT is not set
+# CONFIG_NET_ACT_SIMP is not set
+# CONFIG_NET_ACT_SKBEDIT is not set
# CONFIG_NET_CLS_IND is not set
CONFIG_NET_SCH_FIFO=y
@@ -770,6 +780,7 @@
# CONFIG_IEEE1394 is not set
# CONFIG_I2O is not set
CONFIG_NETDEVICES=y
+CONFIG_IFB=m
CONFIG_DUMMY=m
# CONFIG_BONDING is not set
# CONFIG_MACVLAN is not set
Index: make/Config.in
===================================================================
--- make/Config.in (revision 10304)
+++ make/Config.in (working copy)
@@ -43,6 +43,7 @@
source make/fuse/Config.in
source make/haserl/Config.in
source make/inetd/Config.in
+source make/iproute2/Config.in
source make/knock/Config.in
source make/mc/Config.in
source make/mtr/Config.in
Index: make/iproute2/Makefile.in
===================================================================
--- make/iproute2/Makefile.in (revision 0)
+++ make/iproute2/Makefile.in (revision 0)
@@ -0,0 +1,3 @@
+ifeq ($(strip $(FREETZ_PACKAGE_IPROUTE2)),y)
+PACKAGES+=iproute2
+endif
Index: make/iproute2/patches/001-Makefile.patch
===================================================================
--- make/iproute2/patches/001-Makefile.patch (revision 0)
+++ make/iproute2/patches/001-Makefile.patch (revision 0)
@@ -0,0 +1,20 @@
+--- Makefile.orig 2005-07-09 00:08:47.000000000 +0200
++++ Makefile 2010-06-20 00:40:30.000000000 +0200
+@@ -10,7 +10,7 @@
+ DEFINES= -DRESOLVE_HOSTNAMES
+
+ #options if you have a bind>=4.9.4 libresolv (or, maybe, glibc)
+-LDLIBS=-lresolv
++#LDLIBS=-lresolv
+ ADDLIB=
+
+ #options for decnet
+@@ -27,7 +27,7 @@
+
+ LDLIBS += -L../lib -lnetlink -lutil
+
+-SUBDIRS=lib ip tc misc netem
++SUBDIRS=lib ip tc
+
+ LIBNETLINK=../lib/libnetlink.a ../lib/libutil.a
+
Index: make/iproute2/Config.in
===================================================================
--- make/iproute2/Config.in (revision 0)
+++ make/iproute2/Config.in (revision 0)
@@ -0,0 +1,5 @@
+config FREETZ_PACKAGE_IPROUTE2
+ bool "iproute2"
+ default n
+ help
+ iproute2 is the advanced ip and tc tools
Index: make/iproute2/iproute2.mk
===================================================================
--- make/iproute2/iproute2.mk (revision 0)
+++ make/iproute2/iproute2.mk (revision 0)
@@ -0,0 +1,39 @@
+$(call PKG_INIT_BIN, 2.6.16-060323)
+$(PKG)_SOURCE:=$(pkg)-$($(PKG)_VERSION).tar.gz
+$(PKG)_SITE:=http://www.jzab.de/files/iproute2/
+#$(PKG)_SITE:=http://devresources.linux-foundation.org/dev/iproute2/download/ - currently down :(
+
+$(PKG)_TC_BINARY:=$($(PKG)_DIR)/tc/tc
+$(PKG)_TC_TARGET_BINARY:=$($(PKG)_DEST_DIR)/sbin/tc2
+$(PKG)_IP_BINARY:=$($(PKG)_DIR)/ip/ip
+$(PKG)_IP_TARGET_BINARY:=$($(PKG)_DEST_DIR)/bin/ip
+
+$(PKG_SOURCE_DOWNLOAD)
+$(PKG_UNPACKED)
+$(PKG_CONFIGURED_NOP)
+
+$($(PKG)_TC_BINARY) $($(PKG)_IP_BINARY): $($(PKG)_DIR)/.configured
+ PATH="$(TARGET_PATH)" \
+ $(MAKE) CC="$(TARGET_CC)" \
+ CROSS_COMPILE="$(TARGET_MAKE_PATH)/$(TARGET_CROSS)" \
+ EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
+ ARCH="mipsel" \
+ -C $(IPROUTE2_DIR)
+
+$($(PKG)_TC_TARGET_BINARY): $($(PKG)_TC_BINARY)
+ $(INSTALL_BINARY_STRIP)
+
+$($(PKG)_IP_TARGET_BINARY): $($(PKG)_IP_BINARY)
+ $(INSTALL_BINARY_STRIP)
+
+$(pkg):
+
+$(pkg)-precompiled: $($(PKG)_TC_TARGET_BINARY) $($(PKG)_IP_TARGET_BINARY)
+
+$(pkg)-clean:
+ -$(MAKE) -C $(IPROUTE2_DIR) clean
+
+$(pkg)-uninstall:
+ $(RM) $(IPROUTE2_TC_TARGET_BINARY) $(IPROUTE2_IP_TARGET_BINARY)
+
+$(PKG_FINISH)
\ No newline at end of file
Index: kernel/Config.in.modules
===================================================================
--- kernel/Config.in.modules (revision 10304)
+++ kernel/Config.in.modules (working copy)
@@ -524,6 +524,18 @@
select FREETZ_MODULE_l2cap
default n
+config FREETZ_MODULE_act_police
+ bool "act_police.ko"
+ default n
+ help
+ act_police allows tc qdisc QoS to limit traffic.
+
+config FREETZ_MODULE_act_mirred
+ bool "act_mirred.ko"
+ default n
+ help
+ Make it possible for traffic shaping to use redirect packets.
+
config FREETZ_MODULE_cls_u32
bool "cls_u32.ko"
default n
@@ -532,6 +544,19 @@
packet, so it is in some ways the most powerful filter provided
by the Linux traffic control engine.
+config FREETZ_MODULE_cls_fw
+ bool "cls_fw.ko"
+ default n
+ help
+ The fw filter allows you to match on based on the firewall mark
+ created by iptables.
+
+config FREETZ_MODULE_ifb
+ bool "ifb.ko"
+ default n
+ help
+ Makes it possible to use iptables on ingress queues.
+
config FREETZ_MODULE_ipv6
bool "ipv6.ko"
depends on FREETZ_TARGET_IPV6_SUPPORT && ! FREETZ_HAS_AVM_IPV6
@@ -574,6 +599,12 @@
HTB is very similar to the CBQ regarding its goals however it has
different properties and different algorithm.
+config FREETZ_MODULE_sch_hfsc
+ bool "sch_hfsc.ko"
+ default n
+ help
+ HFSC
+
config FREETZ_MODULE_sch_llq
bool "sch_llq.ko"
default n
@@ -602,6 +633,13 @@
See the top of <file:net/sched/sch_tbf.c> for a description of the
TBF algorithm.
+config FREETZ_MODULE_sch_ingress
+ bool "sch_ingess.ko"
+ default n
+ help
+ Allow traffic shaping on the ingress queue of network interfaces.
+ This makes it possible to drop packets to trigger TCP congestion control.
+
endmenu
config FREETZ_MODULE_rfcomm