Mat Martineau | 9ce7def | 2020-11-03 11:05:08 -0800 | [diff] [blame] | 1 | .. SPDX-License-Identifier: GPL-2.0 |
| 2 | |
| 3 | ===================== |
| 4 | MPTCP Sysfs variables |
| 5 | ===================== |
| 6 | |
| 7 | /proc/sys/net/mptcp/* Variables |
| 8 | =============================== |
| 9 | |
Matthieu Baerts | 744ee14 | 2021-05-27 16:54:30 -0700 | [diff] [blame] | 10 | enabled - BOOLEAN |
Mat Martineau | 9ce7def | 2020-11-03 11:05:08 -0800 | [diff] [blame] | 11 | Control whether MPTCP sockets can be created. |
| 12 | |
Matthieu Baerts | 744ee14 | 2021-05-27 16:54:30 -0700 | [diff] [blame] | 13 | MPTCP sockets can be created if the value is 1. This is a |
| 14 | per-namespace sysctl. |
Mat Martineau | 9ce7def | 2020-11-03 11:05:08 -0800 | [diff] [blame] | 15 | |
Matthieu Baerts | 744ee14 | 2021-05-27 16:54:30 -0700 | [diff] [blame] | 16 | Default: 1 (enabled) |
Mat Martineau | 9ce7def | 2020-11-03 11:05:08 -0800 | [diff] [blame] | 17 | |
| 18 | add_addr_timeout - INTEGER (seconds) |
| 19 | Set the timeout after which an ADD_ADDR control message will be |
| 20 | resent to an MPTCP peer that has not acknowledged a previous |
| 21 | ADD_ADDR message. |
| 22 | |
| 23 | The default value matches TCP_RTO_MAX. This is a per-namespace |
| 24 | sysctl. |
| 25 | |
| 26 | Default: 120 |
Geliang Tang | fc3c82e | 2021-06-17 16:46:19 -0700 | [diff] [blame] | 27 | |
| 28 | checksum_enabled - BOOLEAN |
| 29 | Control whether DSS checksum can be enabled. |
| 30 | |
| 31 | DSS checksum can be enabled if the value is nonzero. This is a |
| 32 | per-namespace sysctl. |
| 33 | |
| 34 | Default: 0 |
Geliang Tang | d2f7796 | 2021-06-22 12:25:18 -0700 | [diff] [blame] | 35 | |
| 36 | allow_join_initial_addr_port - BOOLEAN |
| 37 | Allow peers to send join requests to the IP address and port number used |
| 38 | by the initial subflow if the value is 1. This controls a flag that is |
| 39 | sent to the peer at connection time, and whether such join requests are |
| 40 | accepted or denied. |
| 41 | |
| 42 | Joins to addresses advertised with ADD_ADDR are not affected by this |
| 43 | value. |
| 44 | |
| 45 | This is a per-namespace sysctl. |
| 46 | |
| 47 | Default: 1 |
Paolo Abeni | ff5a0b4 | 2021-08-13 15:15:45 -0700 | [diff] [blame] | 48 | |
| 49 | stale_loss_cnt - INTEGER |
| 50 | The number of MPTCP-level retransmission intervals with no traffic and |
| 51 | pending outstanding data on a given subflow required to declare it stale. |
| 52 | The packet scheduler ignores stale subflows. |
| 53 | A low stale_loss_cnt value allows for fast active-backup switch-over, |
| 54 | an high value maximize links utilization on edge scenarios e.g. lossy |
| 55 | link with high BER or peer pausing the data processing. |
| 56 | |
| 57 | This is a per-namespace sysctl. |
| 58 | |
| 59 | Default: 4 |