mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
bpo-40291: Add support for CAN_J1939 sockets (GH-19538)
Add support for CAN_J1939 sockets that wrap SAE J1939 protocol functionality provided by Linux 5.4+ kernels.
This commit is contained in:
parent
fd33cdbd05
commit
360371f79c
8 changed files with 197 additions and 5 deletions
|
@ -144,6 +144,10 @@ typedef int socklen_t;
|
|||
#include <linux/can/bcm.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LINUX_CAN_J1939_H
|
||||
#include <linux/can/j1939.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_SYS_DOMAIN_H
|
||||
#include <sys/sys_domain.h>
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue