| 1 | //! `linux/can/raw.h` |
| 2 | |
| 3 | pub use crate::linux::can::*; |
| 4 | |
| 5 | pub const SOL_CAN_RAW: c_int = SOL_CAN_BASE + CAN_RAW; |
| 6 | pub const CAN_RAW_FILTER_MAX: c_int = 512; |
| 7 | |
| 8 | // FIXME(cleanup): use `c_enum!`, which needs to be adapted to allow omitting a type. |
| 9 | pub const CAN_RAW_FILTER: c_int = 1; |
| 10 | pub const CAN_RAW_ERR_FILTER: c_int = 2; |
| 11 | pub const CAN_RAW_LOOPBACK: c_int = 3; |
| 12 | pub const CAN_RAW_RECV_OWN_MSGS: c_int = 4; |
| 13 | pub const CAN_RAW_FD_FRAMES: c_int = 5; |
| 14 | pub const CAN_RAW_JOIN_FILTERS: c_int = 6; |
| 15 | pub const CAN_RAW_XL_FRAMES: c_int = 7; |
| 16 | |