Issue #22631: Added Linux-specific socket constant CAN_RAW_FD_FRAMES.

Patch courtesy of Joe Jevnik.
This commit is contained in:
Larry Hastings 2015-04-13 17:48:40 -04:00
parent d827be8ff1
commit a6cc551502
8 changed files with 65 additions and 1 deletions

View file

@ -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);