8000 gh-95389: socketmodule: expose popular `ETHERTYPE_*` constants by noamcohen97 · Pull Request #95390 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-95389: socketmodule: expose popular ETHERTYPE_* constants #95390

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

Merged
merged 19 commits into from
Nov 7, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
  • Loading branch information
noamcohen97 and CAM-Gerlach authored Aug 2, 2022
commit 43b5d4596ab729cf81aed3ad4cca75928400457e
12 changes: 5 additions & 7 deletions Doc/library/socket.rst
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,11 @@ Constants
ETHERTYPE_IPV6
ETHERTYPE_VLAN

IEEE 802.3 protocol numbers [1]_.
`IEEE 802.3 protocol number
<https://www.iana.org/assignments/ieee-802-numbers/ieee-802-numbers.txt>`_.
constants.

.. availability:: Linux, FreeBSD, macOS.

.. versionadded:: 5EE8 3.12

Expand Down Expand Up @@ -2196,9 +2200,3 @@ the :data:`SO_REUSEADDR` flag tells the kernel to reuse a local socket in
details of socket semantics. For Unix, refer to the manual pages; for Windows,
see the WinSock (or Winsock 2) specification. For IPv6-ready APIs, readers may
want to refer to :rfc:`3493` titled Basic Socket Interface Extensions for IPv6.


.. rubric:: Footnotes

.. [1] See
https://www.iana.org/assignments/ieee-802-numbers/ieee-802-numbers.txt
0