78#if defined(MODULE_CAN_MBOX) || defined(DOXYGEN) 
can_pkt_t * can_pkt_alloc_tx(int ifnum, const can_frame_t *frame, kernel_pid_t tx_pid)
Allocate a CAN packet to transmit.
 
void can_pkt_free_rx_data(can_rx_data_t *data)
Free rx data previously allocated by can_pkt_alloc_rx_data()
 
void can_pkt_buf_free(void *data, size_t size)
Free the data allocated by can_pkt_buf_alloc()
 
can_pkt_t * can_pkt_alloc_rx(int ifnum, const can_frame_t *frame)
Allocate an incoming CAN packet.
 
void can_pkt_init(void)
Initialize the CAN packet module.
 
can_pkt_t * can_pkt_alloc_mbox_tx(int ifnum, const can_frame_t *frame, mbox_t *mbox)
Allocate a CAN packet for a mbox to transmit.
 
void * can_pkt_buf_alloc(size_t size)
Allocate size bytes and return the pointer.
 
void can_pkt_free(can_pkt_t *pkt)
Free a CAN packet.
 
can_rx_data_t * can_pkt_alloc_rx_data(void *data, size_t len, void *arg)
Allocate a can_rx_data_t and initialize it with gieven parameters.
 
int16_t kernel_pid_t
Unique process identifier.
 
struct can_rx_data can_rx_data_t
Received data structure.
 
struct can_reg_entry can_reg_entry_t
registry entry
 
struct can_frame can_frame_t
CAN frame.
 
Type with the same alignment and size as atomic_uint
 
int handle
handle (for tx frames
 
can_frame_t frame
CAN Frame.
 
can_reg_entry_t entry
entry containing ifnum and upper layer info
 
atomic_uint ref_count
Reference counter (for rx frames)
 
Mailbox struct definition.
 
Definitions high-level CAN interface.
 
Definitions of high-level CAN interface.