aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2011-07-05 12:40:53 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-07-05 12:40:53 +0000
commitadeb9ef829e59b1eda382503ab75685b6dbbb79c (patch)
tree4dc03a1237962a179103eca0b5c1b9000b023289 /package
parentd24fc7ef562a00e10414aac8576a149bfdc791a5 (diff)
downloadupstream-adeb9ef829e59b1eda382503ab75685b6dbbb79c.tar.gz
upstream-adeb9ef829e59b1eda382503ab75685b6dbbb79c.tar.bz2
upstream-adeb9ef829e59b1eda382503ab75685b6dbbb79c.zip
add kmod-sched-netem (#8839)
SVN-Revision: 27458
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/netsupport.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/kernel/modules/netsupport.mk b/package/kernel/modules/netsupport.mk
index 8202972357..3e546a661c 100644
--- a/package/kernel/modules/netsupport.mk
+++ b/package/kernel/modules/netsupport.mk
@@ -727,3 +727,18 @@ endef
$(eval $(call KernelPackage,sctp))
+define KernelPackage/netem
+ SUBMENU:=$(NETWORK_SUPPORT_MENU)
+ TITLE:=Network emulation functionality
+ DEPENDS:=+kmod-sched
+ KCONFIG:=CONFIG_NET_SCH_NETEM
+ FILES:=$(LINUX_DIR)/net/sched/sch_netem.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,99,netem)
+endef
+
+define KernelPackage/netem/description
+ Kernel modules for emulating the properties of wide area networks
+endef
+
+$(eval $(call KernelPackage,netem))
+