Lines Matching full:can
3 * linux/can.h
5 * Definitions for CAN network layer (socket addr / CAN frame / CAN filter)
52 /* controller area network (CAN) kernel definitions */
59 /* valid bits in CAN ID for frame formats */
67 * bit 0-28 : CAN identifier (11/29 bit)
80 * bit 0-28 : error class mask (see include/uapi/linux/can/error.h)
85 /* CAN payload length and DLC definitions according to ISO 11898-1 */
89 /* CAN FD payload length and DLC definitions according to ISO 11898-7 */
94 * struct can_frame - basic CAN frame structure
95 * @can_id: CAN ID of the frame and CAN_*_FLAG flags, see canid_t definition
102 * @data: CAN frame payload (up to 8 byte)
117 * be set in the CAN frame bitstream on the wire. The EDL bit switch turns
118 * the CAN controllers bitstream processor into the CAN FD mode which creates
119 * two new options within the CAN FD frame specification:
124 * As the CANFD_ESI bit is internally generated by the transmitting CAN
125 * controller only the CANFD_BRS bit is relevant for real CAN controllers when
126 * building a CAN FD frame for transmission. Setting the CANFD_ESI bit can make
127 * sense for virtual CAN interfaces to test applications with echoed frames.
133 * struct canfd_frame - CAN flexible data rate frame structure
134 * @can_id: CAN ID of the frame and CAN_*_FLAG flags, see canid_t definition
136 * @flags: additional flags for CAN FD
139 * @data: CAN FD frame payload (up to CANFD_MAX_DLEN byte)
144 __u8 flags; /* additional flags for CAN FD */
166 * struct sockaddr_can - the sockaddr structure for CAN sockets
168 * @can_ifindex: CAN network interface index.
195 /* reserved for future CAN protocols address information */
200 * struct can_filter - CAN ID based filter in can_register().
201 * @can_id: relevant bits of CAN ID which are not masked out.
202 * @can_mask: CAN mask (see description)
209 * The filter can be inverted (CAN_INV_FILTER bit set in can_id) or it can