xref: /openbmc/linux/net/rxrpc/Kconfig (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # RxRPC session sockets
4 #
5 
6 config AF_RXRPC
7 	tristate "RxRPC session sockets"
8 	depends on INET
9 	select CRYPTO
10 	select KEYS
11 	select NET_UDP_TUNNEL
12 	help
13 	  Say Y or M here to include support for RxRPC session sockets (just
14 	  the transport part, not the presentation part: (un)marshalling is
15 	  left to the application).
16 
17 	  These are used for AFS kernel filesystem and userspace utilities.
18 
19 	  This module at the moment only supports client operations and is
20 	  currently incomplete.
21 
22 	  See Documentation/networking/rxrpc.rst.
23 
24 if AF_RXRPC
25 
26 config AF_RXRPC_IPV6
27 	bool "IPv6 support for RxRPC"
28 	depends on (IPV6 = m && AF_RXRPC = m) || (IPV6 = y && AF_RXRPC)
29 	help
30 	  Say Y here to allow AF_RXRPC to use IPV6 UDP as well as IPV4 UDP as
31 	  its network transport.
32 
33 config AF_RXRPC_INJECT_LOSS
34 	bool "Inject packet loss into RxRPC packet stream"
35 	help
36 	  Say Y here to inject packet loss by discarding some received and some
37 	  transmitted packets.
38 
39 config AF_RXRPC_INJECT_RX_DELAY
40 	bool "Inject delay into packet reception"
41 	depends on SYSCTL
42 	help
43 	  Say Y here to inject a delay into packet reception, allowing an
44 	  extended RTT time to be modelled.  The delay can be configured using
45 	  /proc/sys/net/rxrpc/rxrpc_inject_rx_delay, setting a number of
46 	  milliseconds up to 0.5s (note that the granularity is actually in
47 	  jiffies).
48 
49 config AF_RXRPC_DEBUG
50 	bool "RxRPC dynamic debugging"
51 	help
52 	  Say Y here to make runtime controllable debugging messages appear.
53 
54 	  See Documentation/networking/rxrpc.rst.
55 
56 
57 config RXKAD
58 	bool "RxRPC Kerberos security"
59 	select CRYPTO
60 	select CRYPTO_MANAGER
61 	select CRYPTO_SKCIPHER
62 	select CRYPTO_PCBC
63 	select CRYPTO_FCRYPT
64 	help
65 	  Provide kerberos 4 and AFS kaserver security handling for AF_RXRPC
66 	  through the use of the key retention service.
67 
68 	  See Documentation/networking/rxrpc.rst.
69 
70 config RXPERF
71 	tristate "RxRPC test service"
72 	help
73 	  Provide an rxperf service tester.  This listens on UDP port 7009 for
74 	  incoming calls from the rxperf program (an example of which can be
75 	  found in OpenAFS).
76 
77 endif
78