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
added doc
  • Loading branch information
noamcohen97 committed Jul 30, 2022
commit 764884c5a1cfc26e6425c06ee7e506b3fc481a21
13 changes: 13 additions & 0 deletions Doc/library/socket.rst
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,19 @@ Constants
.. availability:: Linux >= 2.2.


.. data:: ETH_P_IP
ETH_P_ARP
ETH_P_IPV6
ETH_P_8021Q
ETH_P_8021AD
ETH_P_ALL

Many constants of these forms, documented in the Linux documentation, are
also defined in the socket module.

.. versionadded:: 3.12


.. data:: AF_RDS
PF_RDS
SOL_RDS
Expand Down
0