Browse Source

kernel: add nlmon kernel module

This driver allows to monitor netlink communication on the system.

Signed-off-by: Hauke Mehrtens <[email protected]>
Hauke Mehrtens 9 years ago
parent
commit
0109ed87d9
1 changed files with 15 additions and 0 deletions
  1. 15 0
      package/kernel/linux/modules/netsupport.mk

+ 15 - 0
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))