summaryrefslogtreecommitdiffstats
path: root/Doc/library/socket.rst
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2015-04-13 21:48:40 (GMT)
committerLarry Hastings <larry@hastings.org>2015-04-13 21:48:40 (GMT)
commita6cc551502aac1fd011009abe40686f4647ba6b0 (patch)
treef6709fe9bd9475607b37557f803237b7d7970aad /Doc/library/socket.rst
parentd827be8ff1e74b35191aa51e7b66acb8a13b9db9 (diff)
downloadcpython-a6cc551502aac1fd011009abe40686f4647ba6b0.zip
cpython-a6cc551502aac1fd011009abe40686f4647ba6b0.tar.gz
cpython-a6cc551502aac1fd011009abe40686f4647ba6b0.tar.bz2
Issue #22631: Added Linux-specific socket constant CAN_RAW_FD_FRAMES.
Patch courtesy of Joe Jevnik.
Diffstat (limited to 'Doc/library/socket.rst')
-rw-r--r--Doc/library/socket.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index 530fbb0..84fa10d 100644
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -279,6 +279,18 @@ Constants
.. versionadded:: 3.4
+.. data:: CAN_RAW_FD_FRAMES
+
+ Enables CAN FD support in a CAN_RAW socket. This is disabled by default.
+ This allows your application to send both CAN and CAN FD frames; however,
+ you one must accept both CAN and CAN FD frames when reading from the socket.
+
+ This constant is documented in the Linux documentation.
+
+ Availability: Linux >= 3.6.
+
+ .. versionadded:: 3.5
+
.. data:: AF_RDS
PF_RDS
SOL_RDS