-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
socket: add missing TCP socket options from Linux #98030
Labels
type-feature
A feature request or enhancement
Comments
matttbe
added a commit
to matttbe/cpython
that referenced
this issue
Oct 7, 2022
A few TCP socket options have been added to the Linux kernel these last few years. This commit adds all the ones available in Linux 6.0: https://elixir.bootlin.com/linux/v6.0/source/include/uapi/linux/tcp.h#L91 While at it, the TCP_FASTOPEN option has been moved lower in the list just to keep the same order as in tcp.h to ease future synchronisations. Please note that I initially wanted to get socket.TCP_FASTOPEN_CONNECT. I was going to add only this one but while at it, here are all the missing ones. Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
matttbe
added a commit
to matttbe/cpython
that referenced
this issue
Oct 10, 2022
A few TCP socket options have been added to the Linux kernel these last few years. This commit adds all the ones available in Linux 6.0: https://elixir.bootlin.com/linux/v6.0/source/include/uapi/linux/tcp.h#L91 While at it, the TCP_FASTOPEN option has been moved lower in the list just to keep the same order as in tcp.h to ease future synchronisations. Please note that I initially wanted to get socket.TCP_FASTOPEN_CONNECT. I was going to add only this one but while at it, here are all the missing ones. Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
matttbe
added a commit
to matttbe/cpython
that referenced
this issue
Oct 10, 2022
A few TCP socket options have been added to the Linux kernel these last few years. This commit adds all the ones available in Linux 6.0: https://elixir.bootlin.com/linux/v6.0/source/include/uapi/linux/tcp.h#L91 While at it, the TCP_FASTOPEN option has been moved lower in the list just to keep the same order as in tcp.h to ease future synchronisations. Please note that I initially wanted to get socket.TCP_FASTOPEN_CONNECT. I was going to add only this one but while at it, here are all the missing ones. Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
matttbe
added a commit
to matttbe/cpython
that referenced
this issue
Dec 7, 2022
A few TCP socket options have been added to the Linux kernel these last few years. This commit adds all the ones available in Linux 6.0: https://elixir.bootlin.com/linux/v6.0/source/include/uapi/linux/tcp.h#L91 While at it, the TCP_FASTOPEN option has been moved lower in the list just to keep the same order as in tcp.h to ease future synchronisations. Please note that I initially wanted to get socket.TCP_FASTOPEN_CONNECT. I was going to add only this one but while at it, here are all the missing ones. Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
gpshead
pushed a commit
that referenced
this issue
Dec 8, 2022
A few TCP socket options have been added to the Linux kernel these last few years. This commit adds all the ones available in Linux 6.0: https://elixir.bootlin.com/linux/v6.0/source/include/uapi/linux/tcp.h#L91 While at it, the TCP_FASTOPEN option has been moved lower in the list just to keep the same order as in tcp.h to ease future synchronisations. Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature or enhancement
socket
modules already know most TCP socket options (TCP_NODELAY
,TCP_MAXSEG
,TCP_CORK
, etc.) but not the recent ones.Here is the complete list from the last Linux kernel version:
https://elixir.bootlin.com/linux/v6.0/source/include/uapi/linux/tcp.h#L91
Pitch
I noticed
TCP_FASTOPEN_CONNECT
was missing. I wanted to use it to write some quick tests for the kernel (MPTCP development). I was going to add only this one but while at it, best to add all the missing ones.Linked PRs
The text was updated successfully, but these errors were encountered: