Loading...
Searching...
No Matches
can_pkt_t Struct Reference

A CAN packet. More...

Detailed Description

A CAN packet.

A CAN packet is used to add stack-related data around a CAN frame

Definition at line 41 of file pkt.h.

#include <pkt.h>

Data Fields

can_reg_entry_t entry
 entry containing ifnum and upper layer info
 
atomic_uint ref_count
 Reference counter (for rx frames)
 
int handle
 handle (for tx frames
 
struct can_frame frame
 CAN Frame.
 

Field Documentation

◆ entry

can_reg_entry_t can_pkt_t::entry

entry containing ifnum and upper layer info

Definition at line 42 of file pkt.h.

◆ frame

struct can_frame can_pkt_t::frame

CAN Frame.

Definition at line 45 of file pkt.h.

◆ handle

int can_pkt_t::handle

handle (for tx frames

Definition at line 44 of file pkt.h.

◆ ref_count

atomic_uint can_pkt_t::ref_count

Reference counter (for rx frames)

Definition at line 43 of file pkt.h.


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