Lines Matching refs:can_frame
268 struct can_frame {
281 struct can_frame to the user space.
324 of reading a struct can_frame:
326 struct can_frame frame;
328 nbytes = read(s, &frame, sizeof(struct can_frame));
336 if (nbytes < sizeof(struct can_frame)) {
345 nbytes = write(s, &frame, sizeof(struct can_frame));
354 struct can_frame frame;
356 nbytes = recvfrom(s, &frame, sizeof(struct can_frame),
372 nbytes = sendto(s, &frame, sizeof(struct can_frame),
382 bytes of payload (struct can_frame) like the CAN_RAW socket. Therefore e.g.
398 The struct canfd_frame and the existing struct can_frame have the can_id,
401 When the content of a struct can_frame is copied into a struct canfd_frame
405 code (DLC) of the struct can_frame was used as a length information as the
409 can_frame.can_dlc are equal and contain a length information and no DLC.
417 #define CAN_MTU (sizeof(struct can_frame)) == 16 => 'legacy' CAN frame
593 not specified in the struct can_frame and therefore it is only valid in
648 struct can_frame as known from the CAN_RAW socket. Instead a special BCM
662 struct can_frame frames[0];
755 can_id(s) stored for transmission in the subsequent struct can_frame(s).
789 struct can_frame frame[4];
831 struct can_frame frame[5];
935 dev->mtu = CAN_MTU; /* sizeof(struct can_frame) -> legacy CAN interface */
940 The struct can_frame or struct canfd_frame is the payload of each socket
1173 payload. The representation of this length in can_frame.can_dlc and
1184 MTU = 16 (CAN_MTU) => sizeof(struct can_frame) => 'legacy' CAN device