xref: /linux/net/rxrpc/Kconfig (revision 1b98f357dadd6ea613a435fbaef1a5dd7b35fd21)
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
39af094824SDavid Howellsconfig AF_RXRPC_INJECT_RX_DELAY
40af094824SDavid Howells	bool "Inject delay into packet reception"
41af094824SDavid Howells	depends on SYSCTL
42af094824SDavid Howells	help
43af094824SDavid Howells	  Say Y here to inject a delay into packet reception, allowing an
44af094824SDavid Howells	  extended RTT time to be modelled.  The delay can be configured using
45af094824SDavid Howells	  /proc/sys/net/rxrpc/rxrpc_inject_rx_delay, setting a number of
46af094824SDavid Howells	  milliseconds up to 0.5s (note that the granularity is actually in
47af094824SDavid 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
70*c86f9b96SDavid Howellsconfig RXGK
71*c86f9b96SDavid Howells	bool "RxRPC GSSAPI security"
72*c86f9b96SDavid Howells	select CRYPTO_KRB5
73*c86f9b96SDavid Howells	select CRYPTO_MANAGER
74*c86f9b96SDavid Howells	select CRYPTO_KRB5ENC
75*c86f9b96SDavid Howells	select CRYPTO_AUTHENC
76*c86f9b96SDavid Howells	select CRYPTO_SKCIPHER
77*c86f9b96SDavid Howells	select CRYPTO_HASH_INFO
78*c86f9b96SDavid Howells	select CRYPTO_HMAC
79*c86f9b96SDavid Howells	select CRYPTO_CMAC
80*c86f9b96SDavid Howells	select CRYPTO_SHA1
81*c86f9b96SDavid Howells	select CRYPTO_SHA256
82*c86f9b96SDavid Howells	select CRYPTO_SHA512
83*c86f9b96SDavid Howells	select CRYPTO_CBC
84*c86f9b96SDavid Howells	select CRYPTO_CTS
85*c86f9b96SDavid Howells	select CRYPTO_AES
86*c86f9b96SDavid Howells	select CRYPTO_CAMELLIA
87*c86f9b96SDavid Howells	help
88*c86f9b96SDavid Howells	  Provide the GSSAPI-based RxGK security class for AFS.  Keys are added
89*c86f9b96SDavid Howells	  with add_key().
90*c86f9b96SDavid Howells
91*c86f9b96SDavid Howells	  See Documentation/networking/rxrpc.rst.
92*c86f9b96SDavid Howells
9375bfdbf2SDavid Howellsconfig RXPERF
9475bfdbf2SDavid Howells	tristate "RxRPC test service"
9575bfdbf2SDavid Howells	help
9675bfdbf2SDavid Howells	  Provide an rxperf service tester.  This listens on UDP port 7009 for
9775bfdbf2SDavid Howells	  incoming calls from the rxperf program (an example of which can be
9875bfdbf2SDavid Howells	  found in OpenAFS).
9975bfdbf2SDavid Howells
10095d5e675SRandy Dunlapendif
101