aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / vendor / libc / src / new / linux_uapi / linux / can / raw.rs
| 1 | //! Header: `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 | |
| 7 | /// Constants may change across releases. See the [usage guidelines](crate#usage-guidelines) |
| 8 | /// for details. |
| 9 | pub const CAN_RAW_FILTER_MAX: c_int = 512; |
| 10 | |
| 11 | // FIXME(cleanup): use `c_enum!`, which needs to be adapted to allow omitting a type. |
| 12 | pub const CAN_RAW_FILTER: c_int = 1; |
| 13 | pub const CAN_RAW_ERR_FILTER: c_int = 2; |
| 14 | pub const CAN_RAW_LOOPBACK: c_int = 3; |
| 15 | pub const CAN_RAW_RECV_OWN_MSGS: c_int = 4; |
| 16 | pub const CAN_RAW_FD_FRAMES: c_int = 5; |
| 17 | pub const CAN_RAW_JOIN_FILTERS: c_int = 6; |
| 18 | pub const CAN_RAW_XL_FRAMES: c_int = 7; |