summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-05 12:40:53 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-05 12:40:53 +0000
commit59437381345f80f10367fa5e849c7d227ed14d9d (patch)
tree9aefef48c709f6e6254cee6cf5ab6eb4aa44b44a /package
parentbc9fd85f5730afcad873c5ddb85763c16e76fefd (diff)
[package] add kmod-sched-netem (#8839)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27458 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 820297235..3e546a661 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))
+