mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 07:31:29 +00:00
af094824f2
If CONFIG_AF_RXRPC_DEBUG_RX_DELAY=y, then a delay is injected between packets and errors being received and them being made available to the processing code, thereby allowing the RTT to be artificially increased. Signed-off-by: David Howells <dhowells@redhat.com> cc: Marc Dionne <marc.dionne@auristor.com> cc: linux-afs@lists.infradead.org
78 lines
2.0 KiB
Plaintext
78 lines
2.0 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# RxRPC session sockets
|
|
#
|
|
|
|
config AF_RXRPC
|
|
tristate "RxRPC session sockets"
|
|
depends on INET
|
|
select CRYPTO
|
|
select KEYS
|
|
select NET_UDP_TUNNEL
|
|
help
|
|
Say Y or M here to include support for RxRPC session sockets (just
|
|
the transport part, not the presentation part: (un)marshalling is
|
|
left to the application).
|
|
|
|
These are used for AFS kernel filesystem and userspace utilities.
|
|
|
|
This module at the moment only supports client operations and is
|
|
currently incomplete.
|
|
|
|
See Documentation/networking/rxrpc.rst.
|
|
|
|
if AF_RXRPC
|
|
|
|
config AF_RXRPC_IPV6
|
|
bool "IPv6 support for RxRPC"
|
|
depends on (IPV6 = m && AF_RXRPC = m) || (IPV6 = y && AF_RXRPC)
|
|
help
|
|
Say Y here to allow AF_RXRPC to use IPV6 UDP as well as IPV4 UDP as
|
|
its network transport.
|
|
|
|
config AF_RXRPC_INJECT_LOSS
|
|
bool "Inject packet loss into RxRPC packet stream"
|
|
help
|
|
Say Y here to inject packet loss by discarding some received and some
|
|
transmitted packets.
|
|
|
|
config AF_RXRPC_INJECT_RX_DELAY
|
|
bool "Inject delay into packet reception"
|
|
depends on SYSCTL
|
|
help
|
|
Say Y here to inject a delay into packet reception, allowing an
|
|
extended RTT time to be modelled. The delay can be configured using
|
|
/proc/sys/net/rxrpc/rxrpc_inject_rx_delay, setting a number of
|
|
milliseconds up to 0.5s (note that the granularity is actually in
|
|
jiffies).
|
|
|
|
config AF_RXRPC_DEBUG
|
|
bool "RxRPC dynamic debugging"
|
|
help
|
|
Say Y here to make runtime controllable debugging messages appear.
|
|
|
|
See Documentation/networking/rxrpc.rst.
|
|
|
|
|
|
config RXKAD
|
|
bool "RxRPC Kerberos security"
|
|
select CRYPTO
|
|
select CRYPTO_MANAGER
|
|
select CRYPTO_SKCIPHER
|
|
select CRYPTO_PCBC
|
|
select CRYPTO_FCRYPT
|
|
help
|
|
Provide kerberos 4 and AFS kaserver security handling for AF_RXRPC
|
|
through the use of the key retention service.
|
|
|
|
See Documentation/networking/rxrpc.rst.
|
|
|
|
config RXPERF
|
|
tristate "RxRPC test service"
|
|
help
|
|
Provide an rxperf service tester. This listens on UDP port 7009 for
|
|
incoming calls from the rxperf program (an example of which can be
|
|
found in OpenAFS).
|
|
|
|
endif
|