aboutsummaryrefslogtreecommitdiffstats
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
parent8b5e1282509290e890b4189e7fc5fc8459b4c0d0 (diff)
downloadupstream-0109ed87d9a7875d21766cf410a218adfa61a8e4.tar.gz
upstream-0109ed87d9a7875d21766cf410a218adfa61a8e4.tar.bz2
upstream-0109ed87d9a7875d21766cf410a218adfa61a8e4.zip
kernel: add nlmon kernel module
This driver allows to monitor netlink communication on the system. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-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 e52dab6da1..587229d004 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))