aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
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
commitcce66b1965cdd60b8befc4e6fee4b6be5f3b09b3 (patch)
treefbd22f0a1dd62676f8c2d6511838e13b6bec4967 /package/kernel
parent58fcfa7ea057045d19aad1050e5f21789503768b (diff)
downloadupstream-cce66b1965cdd60b8befc4e6fee4b6be5f3b09b3.tar.gz
upstream-cce66b1965cdd60b8befc4e6fee4b6be5f3b09b3.tar.bz2
upstream-cce66b1965cdd60b8befc4e6fee4b6be5f3b09b3.zip
Add support for the network packet generator
SVN-Revision: 9091
Diffstat (limited to 'package/kernel')
-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