xref: /openbmc/linux/net/rxrpc/Kconfig (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
217926a79SDavid Howells#
317926a79SDavid Howells# RxRPC session sockets
417926a79SDavid Howells#
517926a79SDavid Howells
617926a79SDavid Howellsconfig AF_RXRPC
717926a79SDavid Howells	tristate "RxRPC session sockets"
8af2b08d3SKees Cook	depends on INET
9d5a784b3SDavid Howells	select CRYPTO
1080c72fe4SDavid Howells	select KEYS
11dc0e6056SDavid Howells	select NET_UDP_TUNNEL
1217926a79SDavid Howells	help
1317926a79SDavid Howells	  Say Y or M here to include support for RxRPC session sockets (just
1417926a79SDavid Howells	  the transport part, not the presentation part: (un)marshalling is
1517926a79SDavid Howells	  left to the application).
1617926a79SDavid Howells
1717926a79SDavid Howells	  These are used for AFS kernel filesystem and userspace utilities.
1817926a79SDavid Howells
1917926a79SDavid Howells	  This module at the moment only supports client operations and is
2017926a79SDavid Howells	  currently incomplete.
2117926a79SDavid Howells
229f72374cSMauro Carvalho Chehab	  See Documentation/networking/rxrpc.rst.
2317926a79SDavid Howells
2495d5e675SRandy Dunlapif AF_RXRPC
2595d5e675SRandy Dunlap
26d1912747SDavid Howellsconfig AF_RXRPC_IPV6
27d1912747SDavid Howells	bool "IPv6 support for RxRPC"
28d1912747SDavid Howells	depends on (IPV6 = m && AF_RXRPC = m) || (IPV6 = y && AF_RXRPC)
29d1912747SDavid Howells	help
30d1912747SDavid Howells	  Say Y here to allow AF_RXRPC to use IPV6 UDP as well as IPV4 UDP as
31d1912747SDavid Howells	  its network transport.
32d1912747SDavid Howells
338a681c36SDavid Howellsconfig AF_RXRPC_INJECT_LOSS
348a681c36SDavid Howells	bool "Inject packet loss into RxRPC packet stream"
358a681c36SDavid Howells	help
368a681c36SDavid Howells	  Say Y here to inject packet loss by discarding some received and some
378a681c36SDavid Howells	  transmitted packets.
388a681c36SDavid Howells
39*af094824SDavid Howellsconfig AF_RXRPC_INJECT_RX_DELAY
40*af094824SDavid Howells	bool "Inject delay into packet reception"
41*af094824SDavid Howells	depends on SYSCTL
42*af094824SDavid Howells	help
43*af094824SDavid Howells	  Say Y here to inject a delay into packet reception, allowing an
44*af094824SDavid Howells	  extended RTT time to be modelled.  The delay can be configured using
45*af094824SDavid Howells	  /proc/sys/net/rxrpc/rxrpc_inject_rx_delay, setting a number of
46*af094824SDavid Howells	  milliseconds up to 0.5s (note that the granularity is actually in
47*af094824SDavid Howells	  jiffies).
4817926a79SDavid Howells
4917926a79SDavid Howellsconfig AF_RXRPC_DEBUG
5017926a79SDavid Howells	bool "RxRPC dynamic debugging"
5117926a79SDavid Howells	help
5217926a79SDavid Howells	  Say Y here to make runtime controllable debugging messages appear.
5317926a79SDavid Howells
549f72374cSMauro Carvalho Chehab	  See Documentation/networking/rxrpc.rst.
5517926a79SDavid Howells
5617926a79SDavid Howells
5717926a79SDavid Howellsconfig RXKAD
58648af7fcSDavid Howells	bool "RxRPC Kerberos security"
59b1bdb691SDavid Howells	select CRYPTO
60b1bdb691SDavid Howells	select CRYPTO_MANAGER
61b95bba5dSEric Biggers	select CRYPTO_SKCIPHER
62b1bdb691SDavid Howells	select CRYPTO_PCBC
63b1bdb691SDavid Howells	select CRYPTO_FCRYPT
6417926a79SDavid Howells	help
6517926a79SDavid Howells	  Provide kerberos 4 and AFS kaserver security handling for AF_RXRPC
6617926a79SDavid Howells	  through the use of the key retention service.
6717926a79SDavid Howells
689f72374cSMauro Carvalho Chehab	  See Documentation/networking/rxrpc.rst.
6995d5e675SRandy Dunlap
7075bfdbf2SDavid Howellsconfig RXPERF
7175bfdbf2SDavid Howells	tristate "RxRPC test service"
7275bfdbf2SDavid Howells	help
7375bfdbf2SDavid Howells	  Provide an rxperf service tester.  This listens on UDP port 7009 for
7475bfdbf2SDavid Howells	  incoming calls from the rxperf program (an example of which can be
7575bfdbf2SDavid Howells	  found in OpenAFS).
7675bfdbf2SDavid Howells
7795d5e675SRandy Dunlapendif
78