can-eth-gw-utils Utilities  0.1
A bidirectional CAN to Ethernet Gateway (Utilities)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
can_frame Struct Reference

#include <can.h>

Collaboration diagram for can_frame:
Collaboration graph

Public Member Functions

__u8 data[CAN_MAX_DLEN__attribute__ ((aligned(8)))
 

Data Fields

canid_t can_id
 
__u8 can_dlc
 

Detailed Description

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)

Definition at line 68 of file can.h.

Member Function Documentation

__u8 data [CAN_MAX_DLEN] __attribute__ ( (aligned(8))  )

Field Documentation

__u8 can_dlc

Definition at line 70 of file can.h.

Referenced by main().

canid_t can_id

Definition at line 69 of file can.h.

Referenced by main().


The documentation for this struct was generated from the following file: