aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-10-02 11:10:29 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-10-02 11:10:29 +0000
commit7c8650ad7eee891c6d0a224702803d33b08e378f (patch)
treee3e1f4b522bfb0a8f6741aee15e00ab5c5b60983
parentcb6a1ed124e54ade22f1f55d4b734fd4e424e64b (diff)
downloadupstream-7c8650ad7eee891c6d0a224702803d33b08e378f.tar.gz
upstream-7c8650ad7eee891c6d0a224702803d33b08e378f.tar.bz2
upstream-7c8650ad7eee891c6d0a224702803d33b08e378f.zip
Add support for the network packet generator
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9091 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/modules/network.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/modules/network.mk b/package/kernel/modules/network.mk
index e19f710b80..32994c9e6d 100644
--- a/package/kernel/modules/network.mk
+++ b/package/kernel/modules/network.mk
@@ -458,6 +458,22 @@ endef
$(eval $(call KernelPackage,mp-alg))
+define KernelPackage/pktgen
+ SUBMENU:=$(NETWORK_SUPPORT_MENU)
+ TITLE:=Network packet generator
+ DEPENDS:=@LINUX_2_6
+ KCONFIG:=CONFIG_NET_PKTGEN
+ FILES:=$(LINUX_DIR)/net/core/pktgen.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,99,pktgen)
+endef
+
+define KernelPackage/pktgen/description
+ Kernel modules for the Network Packet Generator
+endef
+
+$(eval $(call KernelPackage,pktgen))
+
+
NETWORK_DEVICES_MENU:=Network Devices
define KernelPackage/natsemi