diff options
author | Tianling Shen <cnsztl@immortalwrt.org> | 2022-03-09 10:35:04 +0800 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-03-13 19:24:13 +0100 |
commit | efc8aff62cb244583a14c30f8d099103b75ced1d (patch) | |
tree | f81c4ef5f5145fc92a6ef0d8391a07fc06e16d03 /package/kernel/linux/modules | |
parent | 3f5b2d25eef9a252c54adcad18ba65a0d19d69b2 (diff) | |
download | upstream-efc8aff62cb244583a14c30f8d099103b75ced1d.tar.gz upstream-efc8aff62cb244583a14c30f8d099103b75ced1d.tar.bz2 upstream-efc8aff62cb244583a14c30f8d099103b75ced1d.zip |
kernel/modules: add kmod-inet-diag package
Add option to compile kmod-inet-diag, support for INET (TCP, DCCP, etc)
socket monitoring interface used by native Linux tools such as ss.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Diffstat (limited to 'package/kernel/linux/modules')
-rw-r--r-- | package/kernel/linux/modules/netsupport.mk | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk index 92ff194a62..fd9051586a 100644 --- a/package/kernel/linux/modules/netsupport.mk +++ b/package/kernel/linux/modules/netsupport.mk @@ -1295,6 +1295,31 @@ endef $(eval $(call KernelPackage,netlink-diag)) +define KernelPackage/inet-diag + SUBMENU:=$(NETWORK_SUPPORT_MENU) + TITLE:=INET diag support for ss utility + KCONFIG:= \ + CONFIG_INET_DIAG \ + CONFIG_INET_TCP_DIAG \ + CONFIG_INET_UDP_DIAG \ + CONFIG_INET_RAW_DIAG \ + CONFIG_INET_DIAG_DESTROY=n + FILES:= \ + $(LINUX_DIR)/net/ipv4/inet_diag.ko \ + $(LINUX_DIR)/net/ipv4/tcp_diag.ko \ + $(LINUX_DIR)/net/ipv4/udp_diag.ko \ + $(LINUX_DIR)/net/ipv4/raw_diag.ko + AUTOLOAD:=$(call AutoLoad,31,inet_diag tcp_diag udp_diag raw_diag) +endef + +define KernelPackage/inet-diag/description +Support for INET (TCP, DCCP, etc) socket monitoring interface used by +native Linux tools such as ss. +endef + +$(eval $(call KernelPackage,inet-diag)) + + define KernelPackage/wireguard SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=WireGuard secure network tunnel |