master/domain.h
branchstable-1.5
changeset 2419 fdb85a806585
parent 2368 dd84ef164869
child 2453 d461b1f07296
equal deleted inserted replaced
2417:63bef67e812b 2419:fdb85a806585
    61     size_t data_size; /**< Size of the process data. */
    61     size_t data_size; /**< Size of the process data. */
    62     uint8_t *data; /**< Memory for the process data. */
    62     uint8_t *data; /**< Memory for the process data. */
    63     ec_origin_t data_origin; /**< Origin of the \a data memory. */
    63     ec_origin_t data_origin; /**< Origin of the \a data memory. */
    64     uint32_t logical_base_address; /**< Logical offset address of the
    64     uint32_t logical_base_address; /**< Logical offset address of the
    65                                      process data. */
    65                                      process data. */
    66     struct list_head datagrams; /**< Datagrams for process data exchange. */
    66     struct list_head datagram_pairs; /**< Datagrams pairs (main/backup) for
       
    67                                        process data exchange. */
    67 
    68 
    68     uint16_t working_counter; /**< Last working counter value. */
    69     uint16_t working_counter[EC_NUM_DEVICES]; /**< Last working counter
       
    70                                                 values. */
    69     uint16_t expected_working_counter; /**< Expected working counter. */
    71     uint16_t expected_working_counter; /**< Expected working counter. */
    70     unsigned int working_counter_changes; /**< Working counter changes
    72     unsigned int working_counter_changes; /**< Working counter changes
    71                                              since last notification. */
    73                                              since last notification. */
       
    74     unsigned int redundancy_active; /**< Non-zero, if redundancy is in use. */
    72     unsigned long notify_jiffies; /**< Time of last notification. */
    75     unsigned long notify_jiffies; /**< Time of last notification. */
    73 };
    76 };
    74 
    77 
    75 /*****************************************************************************/
    78 /*****************************************************************************/
    76 
    79