mptcp.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Dmytro Shytyi <dmytro@shytyi.net>
To: mptcp@lists.linux.dev
Cc: Dmytro Shytyi <dmytro@shytyi.net>
Subject: [RFC PATCH mptcp-next v13 0/7] mptcp: Fast Open Mechanism
Date: Sat,  1 Oct 2022 03:14:55 +0000	[thread overview]
Message-ID: <20221001031502.29152-1-dmytro@shytyi.net> (raw)


These patches focus on the Initiator and partially on Listener side.
The next options in userspace are available:
a) sendto(..., ..., ..., MSG_FASTOPEN, ..., ...);
b) setsockopt(..., SOL_TCP, TCP_FASTOPEN, ..., ...);

These patches implement Appendix-B of RFC8684 (MPTFO).

We would like to credit Paulo Abeni, Mat Martineau, Matthieu Baerts and
Benjamin Hesmans for advices and ideas that improved these patches.

Dmytro Shytyi (7):
  mptcp: add __mptcp_pre_connect() helper
  mptcp: add __mptcp_stream_connect() helper
  mptcp: introduce MSG_FASTOPEN flag.
  mptcp: implement delayed seq generation for passive fastopen
  mptcp: add subflow_v(4,6)_send_synack()
  mptcp: add TCP_FASTOPEN sock option
  selftests: mptfo initiator/listener

 net/mptcp/Makefile                            |   2 +-
 net/mptcp/fastopen.c                          |  96 +++++++++++++++++
 net/mptcp/options.c                           |   5 +
 net/mptcp/protocol.c                          |  64 +++++++----
 net/mptcp/protocol.h                          |  13 +++
 net/mptcp/sockopt.c                           |   5 +-
 net/mptcp/subflow.c                           |  42 ++++++++
 tools/testing/selftests/net/mptcp/mptfo.sh    |  13 +++
 .../selftests/net/mptcp/mptfo_initiator.c     |  43 ++++++++
 .../selftests/net/mptcp/mptfo_listener.c      | 100 ++++++++++++++++++
 10 files changed, 360 insertions(+), 23 deletions(-)
 create mode 100644 net/mptcp/fastopen.c
 create mode 100644 tools/testing/selftests/net/mptcp/mptfo.sh
 create mode 100644 tools/testing/selftests/net/mptcp/mptfo_initiator.c
 create mode 100644 tools/testing/selftests/net/mptcp/mptfo_listener.c

-- 
2.34.1



             reply	other threads:[~2022-10-01  3:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-01  3:14 Dmytro Shytyi [this message]
2022-10-01  3:14 ` [RFC PATCH mptcp-next v13 1/7] mptcp: add __mptcp_pre_connect() helper Dmytro Shytyi
2022-10-01  3:14 ` [RFC PATCH mptcp-next v13 2/7] mptcp: add __mptcp_stream_connect() helper Dmytro Shytyi
2022-10-01  3:14 ` [RFC PATCH mptcp-next v13 3/7] mptcp: introduce MSG_FASTOPEN flag Dmytro Shytyi
2022-10-01  3:14 ` [RFC PATCH mptcp-next v13 4/7] mptcp: implement delayed seq generation for passive fastopen Dmytro Shytyi
2022-10-01  3:15 ` [RFC PATCH mptcp-next v13 5/7] mptcp: add subflow_v(4,6)_send_synack() Dmytro Shytyi
2022-10-01  3:15 ` [RFC PATCH mptcp-next v13 6/7] mptcp: add TCP_FASTOPEN sock option Dmytro Shytyi
2022-10-01  3:15 ` [RFC PATCH mptcp-next v13 7/7] selftests: mptfo initiator/listener Dmytro Shytyi
2022-10-06 12:51   ` selftests: mptfo initiator/listener: Build Failure MPTCP CI
2022-10-06 15:16   ` selftests: mptfo initiator/listener: Tests Results MPTCP CI

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221001031502.29152-1-dmytro@shytyi.net \
    --to=dmytro@shytyi.net \
    --cc=mptcp@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).