From 0109ed87d9a7875d21766cf410a218adfa61a8e4 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Mon, 12 Sep 2016 22:45:47 +0200 Subject: [PATCH] kernel: add nlmon kernel module This driver allows to monitor netlink communication on the system. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/netsupport.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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))