Add MPTCP support to Java Networking API
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 3 repliesIn review
- v17 patches 8 repliesSuperseded
Changes in v2 from the cover letter
- drop redundant helpers as Matt suggested.
- squash into fewer patches.
- use "JNI_TRUE" and "(void)mptcp" in Java_sun_nio_ch_Net_socket0 as Xiang Gao suggested.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Add native MPTCP socket creation supportsrc/ src/ src/ | +29 | 0 replies | |
| 2/3 | Add MPTCP support to Java Socket/ServerSocket APIssrc/ src/ src/ +1 more | +115 | 0 replies | |
| 3/3 | Add test cases for MPTCP socket functionalitytest/ test/ | +120 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH mptcp-next v2 0/3] Add MPTCP support to Java Networking API
From: Geliang Tang <[email protected]>
v2:
- drop redundant helpers as Matt suggested.
- squash into fewer patches.
- use "JNI_TRUE" and "(void)mptcp" in Java_sun_nio_ch_Net_socket0 as Xiang Gao suggested.
The Multipath TCP (MPTCP) protocol (v1 / RFC 8684) has been added in the upstream Linux kernel since v5.6. See https://mptcp.dev.
This patch series introduces comprehensive Multipath TCP (MPTCP) support to the Java Networking API, enabling applications to leverage MPTCP's capabilities for improved reliability and throughput.
Geliang Tang (3):
Add native MPTCP socket creation support Add MPTCP support to Java Socket/ServerSocket APIs Add test cases for MPTCP socket functionality
.../share/classes/java/net/ServerSocket.java | 52 +++++++++++++-- .../share/classes/java/net/Socket.java | 65 +++++++++++++++++-- .../share/classes/java/net/SocketImpl.java | 4 +- .../share/classes/sun/nio/ch/Net.java | 19 ++++-- .../classes/sun/nio/ch/NioSocketImpl.java | 11 +++- src/java.base/unix/native/libnio/ch/Net.c | 14 +++- src/java.base/windows/native/libnio/ch/Net.c | 4 +- .../java/net/ServerSocket/MPTCPServer.java | 58 +++++++++++++++++ test/jdk/java/net/Socket/MPTCPClient.java | 62 ++++++++++++++++++ 9 files changed, 264 insertions(+), 25 deletions(-) create mode 100644 test/jdk/java/net/ServerSocket/MPTCPServer.java create mode 100644 test/jdk/java/net/Socket/MPTCPClient.java
Signature · 1 line
2.48.1