diff -r 60b2aad9d40b -r 1cc865ba17c2 master/datagram.h --- a/master/datagram.h Fri Oct 13 10:07:10 2006 +0000 +++ b/master/datagram.h Tue Nov 07 12:13:30 2006 +0000 @@ -110,6 +110,7 @@ { struct list_head list; /**< needed by domain datagram lists */ struct list_head queue; /**< master datagram queue item */ + struct list_head sent; /**< master list item for sent datagrams */ ec_datagram_type_t type; /**< datagram type (APRD, BWR, etc) */ ec_address_t address; /**< receipient address */ uint8_t *data; /**< datagram data */ @@ -118,7 +119,11 @@ uint8_t index; /**< datagram index (set by master) */ uint16_t working_counter; /**< working counter */ ec_datagram_state_t state; /**< datagram state */ + cycles_t cycles_queued; /**< time, the datagram was queued */ cycles_t cycles_sent; /**< time, the datagram was sent */ + unsigned long jiffies_sent; /**< jiffies when datagram was sent */ + cycles_t cycles_received; /**< time, the datagram was received */ + unsigned long jiffies_received; /**< jiffies when datagram was received */ } ec_datagram_t;