mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
Add socket.IPPROTO_MPTCP (#6863)
This commit is contained in:
@@ -356,6 +356,9 @@ if sys.platform == "linux" and sys.version_info >= (3, 9):
|
||||
|
||||
J1939_FILTER_MAX: int
|
||||
|
||||
if sys.platform == "linux" and sys.version_info >= (3, 10):
|
||||
IPPROTO_MPTCP: int
|
||||
|
||||
if sys.platform == "linux":
|
||||
AF_PACKET: int
|
||||
PF_PACKET: int
|
||||
|
||||
@@ -366,6 +366,8 @@ if sys.platform == "linux" and sys.version_info >= (3, 9):
|
||||
SO_J1939_PROMISC as SO_J1939_PROMISC,
|
||||
SO_J1939_SEND_PRIO as SO_J1939_SEND_PRIO,
|
||||
)
|
||||
if sys.platform == "linux" and sys.version_info >= (3, 10):
|
||||
from _socket import IPPROTO_MPTCP as IPPROTO_MPTCP
|
||||
if sys.platform == "win32":
|
||||
from _socket import (
|
||||
RCVALL_IPLEVEL as RCVALL_IPLEVEL,
|
||||
|
||||
Reference in New Issue
Block a user