summaryrefslogtreecommitdiff
path: root/package/kernel/linux/modules/netsupport.mk
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2016-09-12 22:45:47 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2016-09-16 23:00:01 +0200
commit0109ed87d9a7875d21766cf410a218adfa61a8e4 (patch)
treef0cd91ec38c3d45351e98359579d2bc7b5f17f49 /package/kernel/linux/modules/netsupport.mk
parent8b5e1282509290e890b4189e7fc5fc8459b4c0d0 (diff)
downloadmtk-20170518-0109ed87d9a7875d21766cf410a218adfa61a8e4.zip
mtk-20170518-0109ed87d9a7875d21766cf410a218adfa61a8e4.tar.gz
mtk-20170518-0109ed87d9a7875d21766cf410a218adfa61a8e4.tar.bz2
kernel: add nlmon kernel module
This driver allows to monitor netlink communication on the system. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/kernel/linux/modules/netsupport.mk')
-rw-r--r--package/kernel/linux/modules/netsupport.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index e52dab6..587229d 100644
--- a/package/kernel/linux/modules/netsupport.mk
+++ b/package/kernel/linux/modules/netsupport.mk
@@ -1041,3 +1041,18 @@ define KernelPackage/9pnet/description
endef
$(eval $(call KernelPackage,9pnet))
+
+
+define KernelPackage/nlmon
+ SUBMENU:=$(NETWORK_SUPPORT_MENU)
+ TITLE:=Virtual netlink monitoring device
+ KCONFIG:=CONFIG_NLMON
+ FILES:=$(LINUX_DIR)/drivers/net/nlmon.ko
+ AUTOLOAD:=$(call AutoProbe,nlmon)
+endef
+
+define KernelPackage/nlmon/description
+ Kernel module which adds a monitoring device for netlink.
+endef
+
+$(eval $(call KernelPackage,nlmon))