mirror of
https://github.com/python/cpython.git
synced 2025-10-17 04:08:28 +00:00
Issue #22631: Added Linux-specific socket constant CAN_RAW_FD_FRAMES.
Patch courtesy of Joe Jevnik.
This commit is contained in:
parent
d827be8ff1
commit
a6cc551502
8 changed files with 65 additions and 1 deletions
|
@ -6617,6 +6617,9 @@ PyInit__socket(void)
|
|||
PyModule_AddIntMacro(m, CAN_RAW_LOOPBACK);
|
||||
PyModule_AddIntMacro(m, CAN_RAW_RECV_OWN_MSGS);
|
||||
#endif
|
||||
#ifdef HAVE_LINUX_CAN_RAW_FD_FRAMES
|
||||
PyModule_AddIntMacro(m, CAN_RAW_FD_FRAMES);
|
||||
#endif
|
||||
#ifdef HAVE_LINUX_CAN_BCM_H
|
||||
PyModule_AddIntMacro(m, CAN_BCM);
|
||||
PyModule_AddIntConstant(m, "CAN_BCM_TX_SETUP", TX_SETUP);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue