xref: /linux/net/rxrpc/Kconfig (revision 1b98f357dadd6ea613a435fbaef1a5dd7b35fd21)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# RxRPC session sockets
4#
5
6config 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
24if AF_RXRPC
25
26config 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
33config 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
39config 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
49config 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
57config 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
70config RXGK
71	bool "RxRPC GSSAPI security"
72	select CRYPTO_KRB5
73	select CRYPTO_MANAGER
74	select CRYPTO_KRB5ENC
75	select CRYPTO_AUTHENC
76	select CRYPTO_SKCIPHER
77	select CRYPTO_HASH_INFO
78	select CRYPTO_HMAC
79	select CRYPTO_CMAC
80	select CRYPTO_SHA1
81	select CRYPTO_SHA256
82	select CRYPTO_SHA512
83	select CRYPTO_CBC
84	select CRYPTO_CTS
85	select CRYPTO_AES
86	select CRYPTO_CAMELLIA
87	help
88	  Provide the GSSAPI-based RxGK security class for AFS.  Keys are added
89	  with add_key().
90
91	  See Documentation/networking/rxrpc.rst.
92
93config RXPERF
94	tristate "RxRPC test service"
95	help
96	  Provide an rxperf service tester.  This listens on UDP port 7009 for
97	  incoming calls from the rxperf program (an example of which can be
98	  found in OpenAFS).
99
100endif
101