diff -r af21f0bdc7c9 -r 2b9c78543663 master/domain.h --- a/master/domain.h Thu Sep 06 14:21:02 2012 +0200 +++ b/master/domain.h Mon Nov 03 15:20:05 2014 +0100 @@ -59,17 +59,18 @@ struct list_head fmmu_configs; /**< FMMU configurations contained. */ size_t data_size; /**< Size of the process data. */ - size_t tx_size; /**< Size of the transmitted data. */ uint8_t *data; /**< Memory for the process data. */ ec_origin_t data_origin; /**< Origin of the \a data memory. */ uint32_t logical_base_address; /**< Logical offset address of the process data. */ - struct list_head datagrams; /**< Datagrams for process data exchange. */ - - uint16_t working_counter; /**< Last working counter value. */ + struct list_head datagram_pairs; /**< Datagrams pairs (main/backup) for + process data exchange. */ + uint16_t working_counter[EC_MAX_NUM_DEVICES]; /**< Last working counter + values. */ uint16_t expected_working_counter; /**< Expected working counter. */ unsigned int working_counter_changes; /**< Working counter changes since last notification. */ + unsigned int redundancy_active; /**< Non-zero, if redundancy is in use. */ unsigned long notify_jiffies; /**< Time of last notification. */ };