socket: add SO_INCOMING_CPU for 3.11 (#7801)

python/cpython#31237
This commit is contained in:
Jelle Zijlstra
2022-05-06 22:46:34 -07:00
committed by GitHub
parent c93f262427
commit ab1dcafec2
2 changed files with 4 additions and 0 deletions

View File

@@ -256,6 +256,8 @@ SO_SNDLOWAT: int
SO_SNDTIMEO: int
SO_TYPE: int
SO_USELOOPBACK: int
if sys.platform == "linux" and sys.version_info >= (3, 11):
SO_INCOMING_CPU: int
TCP_CORK: int
TCP_DEFER_ACCEPT: int
TCP_FASTOPEN: int