summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2023-05-04 14:57:05 (GMT)
committerGitHub <noreply@github.com>2023-05-04 14:57:05 (GMT)
commitb17d32c1142d16a5fea0c95bce185bf9be696491 (patch)
tree95681b5268fbfd721d104f10f58fcda7143963b4 /Doc
parentfdcb49c36b2ed8347d8d9f2dcd7052cc90207beb (diff)
downloadcpython-b17d32c1142d16a5fea0c95bce185bf9be696491.zip
cpython-b17d32c1142d16a5fea0c95bce185bf9be696491.tar.gz
cpython-b17d32c1142d16a5fea0c95bce185bf9be696491.tar.bz2
gh-96534: socketmodule: support FreeBSD divert(4) socket (#96536)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/socket.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index 4ee0897..13a82cf 100644
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -509,6 +509,17 @@ Constants
.. versionadded:: 3.9
+.. data:: AF_DIVERT
+ PF_DIVERT
+
+ These two constants, documented in the FreeBSD divert(4) manual page, are
+ also defined in the socket module.
+
+ .. availability:: FreeBSD >= 14.0.
+
+ .. versionadded:: 3.12
+
+
.. data:: AF_PACKET
PF_PACKET
PACKET_*