gh-96534: socketmodule: support FreeBSD divert(4) socket (#96536)

This commit is contained in:
Gleb Smirnoff 2023-05-04 07:57:05 -07:00 committed by GitHub
parent fdcb49c36b
commit b17d32c114
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 0 deletions

View file

@ -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_*