Skip to content

Commit

Permalink
kernel/modules: add kmod-inet-diag package
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
1715173329 authored and hauke committed Mar 13, 2022
1 parent 3f5b2d2 commit efc8aff
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions package/kernel/linux/modules/netsupport.mk
Expand Up @@ -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
Expand Down

0 comments on commit efc8aff

Please sign in to comment.