|
Zephyr Project API
3.2.0
A Scalable Open Source RTOS
|
SocketCAN definitions. More...
Go to the source code of this file.
Data Structures | |
| struct | sockaddr_can |
| struct | socketcan_frame |
| CAN frame for Linux SocketCAN compatibility. More... | |
| struct | socketcan_filter |
| CAN filter for Linux SocketCAN compatibility. More... | |
Macros | |
| #define | CAN_RAW 1 |
| #define | SOL_CAN_BASE 100 |
| #define | SOL_CAN_RAW (SOL_CAN_BASE + CAN_RAW) |
| #define | SOCKETCAN_MAX_DLEN 8U |
| #define | CAN_MTU (sizeof(struct socketcan_frame)) |
| #define | CANFD_BRS 0x01 /* bit rate switch (second bitrate for payload data) */ |
| #define | CANFD_ESI 0x02 /* error state indicator of the transmitting node */ |
| #define | CANFD_FDF 0x04 /* mark CAN FD for dual use of struct canfd_frame */ |
Typedefs | |
Linux SocketCAN compatibility | |
The following structures and functions provide compatibility with the CAN frame and CAN filter formats used by Linux SocketCAN. | |
| typedef uint32_t | socketcan_id_t |
Enumerations | |
| enum | { CAN_RAW_FILTER = 1 } |
SocketCAN definitions.
Definitions for SocketCAN support.