can-eth-gw-utils Utilities
0.1
A bidirectional CAN to Ethernet Gateway (Utilities)
|
#include <can.h>
Public Member Functions | |
__u8 data[CAN_MAX_DLEN] | __attribute__ ((aligned(8))) |
Data Fields | |
canid_t | can_id |
__u8 | can_dlc |
struct can_frame - basic CAN frame structure : CAN ID of the frame and CAN_*_FLAG flags, see canid_t definition : frame payload length in byte (0 .. 8) aka data length code N.B. the DLC field from ISO 11898-1 Chapter 8.4.2.3 has a 1:1 mapping of the 'data length code' to the real payload length : CAN frame payload (up to 8 byte)
__u8 data [CAN_MAX_DLEN] __attribute__ | ( | (aligned(8)) | ) |