summaryrefslogtreecommitdiffstats
path: root/Doc/library/socket.rst
diff options
context:
space:
mode:
authorDavid CARLIER <devnexen@gmail.com>2022-05-08 23:19:41 (GMT)
committerGitHub <noreply@github.com>2022-05-08 23:19:41 (GMT)
commit9d85aba9e245c1a0f6d1879f8bc6c260cb4eb721 (patch)
tree09649312b8e06e5fbf55748d481b8a167d57d770 /Doc/library/socket.rst
parent859250cc55711f4d62b65922d3f7537826c3801e (diff)
downloadcpython-9d85aba9e245c1a0f6d1879f8bc6c260cb4eb721.zip
cpython-9d85aba9e245c1a0f6d1879f8bc6c260cb4eb721.tar.gz
cpython-9d85aba9e245c1a0f6d1879f8bc6c260cb4eb721.tar.bz2
gh-91968: Add socket constants SO_USER_COOKIE/SO_RTABLE from BSD (#91967)
Those are somewhat equivalent to Linux' SO_MARK. Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Diffstat (limited to 'Doc/library/socket.rst')
-rwxr-xr-xDoc/library/socket.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index ee1aee5..4c193b8 100755
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -392,6 +392,11 @@ Constants
Added ``TCP_CONNECTION_INFO``. On MacOS this constant can be used in the
same way that ``TCP_INFO`` is used on Linux and BSD.
+ .. versionchanged:: 3.12
+ Added ``SO_RTABLE`` and ``SO_USER_COOKIE``. On OpenBSD
+ and FreeBSD respectively those constants can be used in the same way that
+ ``SO_MARK`` is used on Linux.
+
.. data:: AF_CAN
PF_CAN
SOL_CAN_*