Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-120056: AddIP_RECVERR,IP_RECVORIGDSTADDR,IP_RECVTTL tosocket module#120058

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
jeremyhylton merged 4 commits intopython:mainfromsobolevn:issue-120056
Jun 12, 2024
Merged
Show file tree
Hide file tree
Changes from1 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
PrevPrevious commit
NextNext commit
Address review
  • Loading branch information
@sobolevn
sobolevn committedJun 9, 2024
commit03de8fd87bfa7869daa6747b2cca5ba6c1e4327b
3 changes: 2 additions & 1 deletionDoc/library/socket.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -451,7 +451,8 @@ Constants
network interface instead of its name.

.. versionchanged:: 3.14
Added ``IP_RECVERR`` and ``IP_RECVTTL``.
Added missing ``IP_RECVERR``, ``IP_RECVTTL``, and ``IP_RECVORIGDSTADDR``
on Linux.

.. data:: AF_CAN
PF_CAN
Expand Down
9 changes: 6 additions & 3 deletionsModules/socketmodule.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -8412,18 +8412,21 @@ socket_exec(PyObject *m)
#ifdef IP_TTL
ADD_INT_MACRO(m, IP_TTL);
#endif
#ifdef IP_RECVERR
ADD_INT_MACRO(m, IP_RECVERR);
#endif
#ifdef IP_RECVOPTS
ADD_INT_MACRO(m, IP_RECVOPTS);
#endif
#ifdef IP_RECVORIGDSTADDR
ADD_INT_MACRO(m, IP_RECVORIGDSTADDR);
#endif
#ifdef IP_RECVRETOPTS
ADD_INT_MACRO(m, IP_RECVRETOPTS);
#endif
#ifdef IP_RECVTOS
ADD_INT_MACRO(m, IP_RECVTOS);
#endif
#ifdef IP_RECVERR
ADD_INT_MACRO(m, IP_RECVERR);
#endif
#ifdef IP_RECVTTL
ADD_INT_MACRO(m, IP_RECVTTL);
#endif
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp