X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/3e5b474f9cd113def3be02af0cf6d5401a7427c9..659b098309c2bca57ac60a35a1b9900d6f28e74d:/lincan/include/main.h diff --git a/lincan/include/main.h b/lincan/include/main.h index 17e8f55..3bdc912 100644 --- a/lincan/include/main.h +++ b/lincan/include/main.h @@ -185,6 +185,7 @@ struct chip_t { * @tx_slot: slot holding transmitted message, slot is taken from * canque_test_outslot() call and is freed by canque_free_outslot() * or rescheduled canque_again_outslot() + * @tx_retry_cnt: transmission attempt counter * @rx_msg: temporary storage to hold received messages before * calling to canque_filter_msg2edges() * @hostchip: pointer to the &chip_t structure this object belongs to @@ -200,8 +201,11 @@ struct msgobj_t { int ret; struct canque_ends_t *qends; + struct canque_edge_t *tx_qedge; struct canque_slot_t *tx_slot; + int tx_retry_cnt; + struct canmsg_t rx_msg; struct chip_t *hostchip; @@ -333,6 +337,7 @@ extern int baudrate; extern char *hw[MAX_HW_CARDS]; extern int irq[MAX_IRQ]; extern unsigned long io[MAX_HW_CARDS]; +extern int processlocal; extern struct canhardware_t *hardware_p; extern struct chip_t *chips_p[MAX_TOT_CHIPS];