aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorTianling Shen <cnsztl@immortalwrt.org>2023-05-23 15:43:14 +0800
committerHauke Mehrtens <hauke@hauke-m.de>2023-08-19 15:06:52 +0200
commit6eb6a75b8d78ae70b3c9f2de70a38352c5de3714 (patch)
tree3d5cae8617cb0c829d03c43129473cd80d3dc9dd /package
parent097d6890ba78b2395add2b2d5d0d6ea54fef91fa (diff)
downloadupstream-6eb6a75b8d78ae70b3c9f2de70a38352c5de3714.tar.gz
upstream-6eb6a75b8d78ae70b3c9f2de70a38352c5de3714.tar.bz2
upstream-6eb6a75b8d78ae70b3c9f2de70a38352c5de3714.zip
kernel: modules: add xdp-sockets-diag support
Support for PF_XDP sockets monitoring interface used by the ss tool. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> (cherry picked from commit 06e64f9b364abe15c27bf0a7225fcac740819668)
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/netsupport.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index 97556e459d..27268ee043 100644
--- a/package/kernel/linux/modules/netsupport.mk
+++ b/package/kernel/linux/modules/netsupport.mk
@@ -1443,6 +1443,22 @@ endef
$(eval $(call KernelPackage,inet-diag))
+define KernelPackage/xdp-sockets-diag
+ SUBMENU:=$(NETWORK_SUPPORT_MENU)
+ TITLE:=PF_XDP sockets monitoring interface support for ss utility
+ DEPENDS:=@KERNEL_XDP_SOCKETS
+ KCONFIG:=CONFIG_XDP_SOCKETS_DIAG
+ FILES:=$(LINUX_DIR)/net/xdp/xsk_diag.ko
+ AUTOLOAD:=$(call AutoLoad,31,xsk_diag)
+endef
+
+define KernelPackage/xdp-sockets-diag/description
+ Support for PF_XDP sockets monitoring interface used by the ss tool
+endef
+
+$(eval $(call KernelPackage,xdp-sockets-diag))
+
+
define KernelPackage/wireguard
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=WireGuard secure network tunnel