summaryrefslogtreecommitdiff
path: root/net/mptcp/mib.h
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2021-04-01 16:19:41 -0700
committerDavid S. Miller <davem@davemloft.net>2021-04-02 14:21:50 -0700
commita16195e35cd013fc10023e79640bb1612e5d4457 (patch)
treeeb0136a268f71fe9c08997ca4af53fef2db48ffc /net/mptcp/mib.h
parentf3f409a9b7f5bb3619d648b9b4ba3df4c7723da8 (diff)
mptcp: add mib for token creation fallback
If the MPTCP protocol is unable to create a new token, the socket fallback to plain TCP, let's keep track of such events via a specific MIB. Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mptcp/mib.h')
-rw-r--r--net/mptcp/mib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mptcp/mib.h b/net/mptcp/mib.h
index 72afbc135f8e..50e1668c9a01 100644
--- a/net/mptcp/mib.h
+++ b/net/mptcp/mib.h
@@ -6,6 +6,7 @@ enum linux_mptcp_mib_field {
MPTCP_MIB_MPCAPABLEPASSIVEACK, /* Received third ACK with MP_CAPABLE */
MPTCP_MIB_MPCAPABLEPASSIVEFALLBACK,/* Server-side fallback during 3-way handshake */
MPTCP_MIB_MPCAPABLEACTIVEFALLBACK, /* Client-side fallback during 3-way handshake */
+ MPTCP_MIB_TOKENFALLBACKINIT, /* Could not init/allocate token */
MPTCP_MIB_RETRANSSEGS, /* Segments retransmitted at the MPTCP-level */
MPTCP_MIB_JOINNOTOKEN, /* Received MP_JOIN but the token was not found */
MPTCP_MIB_JOINSYNRX, /* Received a SYN + MP_JOIN */