162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# RxRPC session sockets
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciconfig AF_RXRPC
762306a36Sopenharmony_ci	tristate "RxRPC session sockets"
862306a36Sopenharmony_ci	depends on INET
962306a36Sopenharmony_ci	select CRYPTO
1062306a36Sopenharmony_ci	select KEYS
1162306a36Sopenharmony_ci	select NET_UDP_TUNNEL
1262306a36Sopenharmony_ci	help
1362306a36Sopenharmony_ci	  Say Y or M here to include support for RxRPC session sockets (just
1462306a36Sopenharmony_ci	  the transport part, not the presentation part: (un)marshalling is
1562306a36Sopenharmony_ci	  left to the application).
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ci	  These are used for AFS kernel filesystem and userspace utilities.
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci	  This module at the moment only supports client operations and is
2062306a36Sopenharmony_ci	  currently incomplete.
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci	  See Documentation/networking/rxrpc.rst.
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ciif AF_RXRPC
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ciconfig AF_RXRPC_IPV6
2762306a36Sopenharmony_ci	bool "IPv6 support for RxRPC"
2862306a36Sopenharmony_ci	depends on (IPV6 = m && AF_RXRPC = m) || (IPV6 = y && AF_RXRPC)
2962306a36Sopenharmony_ci	help
3062306a36Sopenharmony_ci	  Say Y here to allow AF_RXRPC to use IPV6 UDP as well as IPV4 UDP as
3162306a36Sopenharmony_ci	  its network transport.
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ciconfig AF_RXRPC_INJECT_LOSS
3462306a36Sopenharmony_ci	bool "Inject packet loss into RxRPC packet stream"
3562306a36Sopenharmony_ci	help
3662306a36Sopenharmony_ci	  Say Y here to inject packet loss by discarding some received and some
3762306a36Sopenharmony_ci	  transmitted packets.
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ciconfig AF_RXRPC_INJECT_RX_DELAY
4062306a36Sopenharmony_ci	bool "Inject delay into packet reception"
4162306a36Sopenharmony_ci	depends on SYSCTL
4262306a36Sopenharmony_ci	help
4362306a36Sopenharmony_ci	  Say Y here to inject a delay into packet reception, allowing an
4462306a36Sopenharmony_ci	  extended RTT time to be modelled.  The delay can be configured using
4562306a36Sopenharmony_ci	  /proc/sys/net/rxrpc/rxrpc_inject_rx_delay, setting a number of
4662306a36Sopenharmony_ci	  milliseconds up to 0.5s (note that the granularity is actually in
4762306a36Sopenharmony_ci	  jiffies).
4862306a36Sopenharmony_ci
4962306a36Sopenharmony_ciconfig AF_RXRPC_DEBUG
5062306a36Sopenharmony_ci	bool "RxRPC dynamic debugging"
5162306a36Sopenharmony_ci	help
5262306a36Sopenharmony_ci	  Say Y here to make runtime controllable debugging messages appear.
5362306a36Sopenharmony_ci
5462306a36Sopenharmony_ci	  See Documentation/networking/rxrpc.rst.
5562306a36Sopenharmony_ci
5662306a36Sopenharmony_ci
5762306a36Sopenharmony_ciconfig RXKAD
5862306a36Sopenharmony_ci	bool "RxRPC Kerberos security"
5962306a36Sopenharmony_ci	select CRYPTO
6062306a36Sopenharmony_ci	select CRYPTO_MANAGER
6162306a36Sopenharmony_ci	select CRYPTO_SKCIPHER
6262306a36Sopenharmony_ci	select CRYPTO_PCBC
6362306a36Sopenharmony_ci	select CRYPTO_FCRYPT
6462306a36Sopenharmony_ci	help
6562306a36Sopenharmony_ci	  Provide kerberos 4 and AFS kaserver security handling for AF_RXRPC
6662306a36Sopenharmony_ci	  through the use of the key retention service.
6762306a36Sopenharmony_ci
6862306a36Sopenharmony_ci	  See Documentation/networking/rxrpc.rst.
6962306a36Sopenharmony_ci
7062306a36Sopenharmony_ciconfig RXPERF
7162306a36Sopenharmony_ci	tristate "RxRPC test service"
7262306a36Sopenharmony_ci	help
7362306a36Sopenharmony_ci	  Provide an rxperf service tester.  This listens on UDP port 7009 for
7462306a36Sopenharmony_ci	  incoming calls from the rxperf program (an example of which can be
7562306a36Sopenharmony_ci	  found in OpenAFS).
7662306a36Sopenharmony_ci
7762306a36Sopenharmony_ciendif
78