Skip to content

Commit

Permalink
kernel: add MultiPath TCP diag kernel module
Browse files Browse the repository at this point in the history
Add INET diag socket monitoring interface module for MultiPath TCP.
It allows using native Linux socket diagnostic tools such as 'ss' for
Multipath TCP connections.

Co-authored-by: Rodrigo B. de Sousa Martins <[email protected]>
Signed-off-by: sKy King <[email protected]>
Link: openwrt#12884
Signed-off-by: Hauke Mehrtens <[email protected]>
Signed-off-by: Daniel Golle <[email protected]>
  • Loading branch information
2 people authored and vincejv committed Oct 27, 2024
1 parent 94ef50f commit 9ee7ea4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions package/kernel/linux/modules/netsupport.mk
Original file line number Diff line number Diff line change
Expand Up @@ -1494,6 +1494,23 @@ endef
$(eval $(call KernelPackage,inet-diag))


define KernelPackage/inet-mptcp-diag
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=INET diag support for MultiPath TCP
DEPENDS:=@KERNEL_MPTCP +kmod-inet-diag
KCONFIG:=CONFIG_INET_MPTCP_DIAG
FILES:=$(LINUX_DIR)/net/mptcp/mptcp_diag.ko
AUTOLOAD:=$(call AutoProbe,mptcp_diag)
endef

define KernelPackage/inet-mptcp-diag/description
Support for INET (MultiPath TCP) socket monitoring interface used by
native Linux tools such as ss.
endef

$(eval $(call KernelPackage,inet-mptcp-diag))


define KernelPackage/xdp-sockets-diag
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=PF_XDP sockets monitoring interface support for ss utility
Expand Down

0 comments on commit 9ee7ea4

Please sign in to comment.