mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-02 09:18:05 +00:00
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>
This commit is contained in:
parent
3f5b2d25ee
commit
efc8aff62c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user