0001 .. SPDX-License-Identifier: GPL-2.0
0002
0003 =====================
0004 MPTCP Sysfs variables
0005 =====================
0006
0007 /proc/sys/net/mptcp/* Variables
0008 ===============================
0009
0010 enabled - BOOLEAN
0011 Control whether MPTCP sockets can be created.
0012
0013 MPTCP sockets can be created if the value is 1. This is a
0014 per-namespace sysctl.
0015
0016 Default: 1 (enabled)
0017
0018 add_addr_timeout - INTEGER (seconds)
0019 Set the timeout after which an ADD_ADDR control message will be
0020 resent to an MPTCP peer that has not acknowledged a previous
0021 ADD_ADDR message.
0022
0023 The default value matches TCP_RTO_MAX. This is a per-namespace
0024 sysctl.
0025
0026 Default: 120
0027
0028 checksum_enabled - BOOLEAN
0029 Control whether DSS checksum can be enabled.
0030
0031 DSS checksum can be enabled if the value is nonzero. This is a
0032 per-namespace sysctl.
0033
0034 Default: 0
0035
0036 allow_join_initial_addr_port - BOOLEAN
0037 Allow peers to send join requests to the IP address and port number used
0038 by the initial subflow if the value is 1. This controls a flag that is
0039 sent to the peer at connection time, and whether such join requests are
0040 accepted or denied.
0041
0042 Joins to addresses advertised with ADD_ADDR are not affected by this
0043 value.
0044
0045 This is a per-namespace sysctl.
0046
0047 Default: 1
0048
0049 pm_type - INTEGER
0050 Set the default path manager type to use for each new MPTCP
0051 socket. In-kernel path management will control subflow
0052 connections and address advertisements according to
0053 per-namespace values configured over the MPTCP netlink
0054 API. Userspace path management puts per-MPTCP-connection subflow
0055 connection decisions and address advertisements under control of
0056 a privileged userspace program, at the cost of more netlink
0057 traffic to propagate all of the related events and commands.
0058
0059 This is a per-namespace sysctl.
0060
0061 * 0 - In-kernel path manager
0062 * 1 - Userspace path manager
0063
0064 Default: 0
0065
0066 stale_loss_cnt - INTEGER
0067 The number of MPTCP-level retransmission intervals with no traffic and
0068 pending outstanding data on a given subflow required to declare it stale.
0069 The packet scheduler ignores stale subflows.
0070 A low stale_loss_cnt value allows for fast active-backup switch-over,
0071 an high value maximize links utilization on edge scenarios e.g. lossy
0072 link with high BER or peer pausing the data processing.
0073
0074 This is a per-namespace sysctl.
0075
0076 Default: 4