From: Hauke Mehrtens Date: Mon, 12 Sep 2016 20:45:47 +0000 (+0200) Subject: kernel: add nlmon kernel module X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=0109ed87d9a7875d21766cf410a218adfa61a8e4;p=openwrt%2Fstaging%2Fnbd.git kernel: add nlmon kernel module This driver allows to monitor netlink communication on the system. Signed-off-by: Hauke Mehrtens --- 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))