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
canfd_frame Struct Reference

#include <can.h>

Collaboration diagram for canfd_frame:
Collaboration graph

Public Member Functions

__u8 data[CANFD_MAX_DLEN__attribute__ ((aligned(8)))
 

Data Fields

canid_t can_id
 
__u8 len
 
__u8 flags
 
__u8 __res0
 
__u8 __res1
 

Detailed Description

struct canfd_frame - CAN flexible data rate frame structure : CAN ID of the frame and CAN_*_FLAG flags, see canid_t definition : frame payload length in byte (0 .. CANFD_MAX_DLEN) : additional flags for CAN FD : reserved / padding : reserved / padding : CAN FD frame payload (up to CANFD_MAX_DLEN byte)

Definition at line 102 of file can.h.

Member Function Documentation

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

Field Documentation

__u8 __res0

Definition at line 106 of file can.h.

__u8 __res1

Definition at line 107 of file can.h.

canid_t can_id

Definition at line 103 of file can.h.

Referenced by main().

__u8 flags

Definition at line 105 of file can.h.

Referenced by main().

__u8 len

Definition at line 104 of file can.h.

Referenced by main().


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