From b170e4cc9f8693bc8c5ee28191001f6c13b70e32 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sun, 20 Nov 2022 07:50:51 +0800 Subject: [PATCH] net/usrsock: Split NET_USRSOCK_OTHER to NET_USRSOCK_ICMP[v6] Signed-off-by: Xiang Xiao --- net/usrsock/Kconfig | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/net/usrsock/Kconfig b/net/usrsock/Kconfig index de963d271a..6d6745c403 100644 --- a/net/usrsock/Kconfig +++ b/net/usrsock/Kconfig @@ -49,8 +49,14 @@ config NET_USRSOCK_TCP default n select NET_TCP_NO_STACK -config NET_USRSOCK_OTHER - bool "Enable other protocol families in addition of INET & INET6" +config NET_USRSOCK_ICMP + bool "User-space daemon provides ICMP sockets" + select NET_ICMP_NO_STACK + default n + +config NET_USRSOCK_ICMPv6 + bool "User-space daemon provides ICMPv6 sockets" + select NET_ICMPv6_NO_STACK default n endif # NET_USRSOCK