Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Data Fields
can_frame Struct Reference

#include <can.h>

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

Field Documentation

__u8 can_dlc

Definition at line 70 of file can.h.

canid_t can_id

Definition at line 69 of file can.h.


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