162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# TIPC configuration
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_cimenuconfig TIPC
762306a36Sopenharmony_ci	tristate "The TIPC Protocol"
862306a36Sopenharmony_ci	depends on INET
962306a36Sopenharmony_ci	depends on IPV6 || IPV6=n
1062306a36Sopenharmony_ci	help
1162306a36Sopenharmony_ci	  The Transparent Inter Process Communication (TIPC) protocol is
1262306a36Sopenharmony_ci	  specially designed for intra cluster communication. This protocol
1362306a36Sopenharmony_ci	  originates from Ericsson where it has been used in carrier grade
1462306a36Sopenharmony_ci	  cluster applications for many years.
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci	  For more information about TIPC, see http://tipc.sourceforge.net.
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci	  This protocol support is also available as a module ( = code which
1962306a36Sopenharmony_ci	  can be inserted in and removed from the running kernel whenever you
2062306a36Sopenharmony_ci	  want). The module will be called tipc. If you want to compile it
2162306a36Sopenharmony_ci	  as a module, say M here and read <file:Documentation/kbuild/modules.rst>.
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ci	  If in doubt, say N.
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ciconfig TIPC_MEDIA_IB
2662306a36Sopenharmony_ci	bool "InfiniBand media type support"
2762306a36Sopenharmony_ci	depends on TIPC && INFINIBAND_IPOIB
2862306a36Sopenharmony_ci	help
2962306a36Sopenharmony_ci	  Saying Y here will enable support for running TIPC on
3062306a36Sopenharmony_ci	  IP-over-InfiniBand devices.
3162306a36Sopenharmony_ciconfig TIPC_MEDIA_UDP
3262306a36Sopenharmony_ci	bool "IP/UDP media type support"
3362306a36Sopenharmony_ci	depends on TIPC
3462306a36Sopenharmony_ci	select NET_UDP_TUNNEL
3562306a36Sopenharmony_ci	help
3662306a36Sopenharmony_ci	  Saying Y here will enable support for running TIPC over IP/UDP
3762306a36Sopenharmony_ci	bool
3862306a36Sopenharmony_ci	default y
3962306a36Sopenharmony_ciconfig TIPC_CRYPTO
4062306a36Sopenharmony_ci	bool "TIPC encryption support"
4162306a36Sopenharmony_ci	depends on TIPC
4262306a36Sopenharmony_ci	select CRYPTO
4362306a36Sopenharmony_ci	select CRYPTO_AES
4462306a36Sopenharmony_ci	select CRYPTO_GCM
4562306a36Sopenharmony_ci	help
4662306a36Sopenharmony_ci	  Saying Y here will enable support for TIPC encryption.
4762306a36Sopenharmony_ci	  All TIPC messages will be encrypted/decrypted by using the currently most
4862306a36Sopenharmony_ci	  advanced algorithm: AEAD AES-GCM (like IPSec or TLS) before leaving/
4962306a36Sopenharmony_ci	  entering the TIPC stack.
5062306a36Sopenharmony_ci	  Key setting from user-space is performed via netlink by a user program
5162306a36Sopenharmony_ci	  (e.g. the iproute2 'tipc' tool).
5262306a36Sopenharmony_ci	bool
5362306a36Sopenharmony_ci	default y
5462306a36Sopenharmony_ci
5562306a36Sopenharmony_ciconfig TIPC_DIAG
5662306a36Sopenharmony_ci	tristate "TIPC: socket monitoring interface"
5762306a36Sopenharmony_ci	depends on TIPC
5862306a36Sopenharmony_ci	default y
5962306a36Sopenharmony_ci	help
6062306a36Sopenharmony_ci	Support for TIPC socket monitoring interface used by ss tool.
6162306a36Sopenharmony_ci	If unsure, say Y.
62