29 #ifndef __EC_DOMAIN_H__    30 #define __EC_DOMAIN_H__    32 #include <linux/list.h> 
size_t data_size
Size of the process data. 
 
struct list_head list
List item. 
 
Global definitions and macros. 
 
EtherCAT master structure. 
 
unsigned int ec_domain_fmmu_count(const ec_domain_t *)
Get the number of FMMU configurations of the domain. 
 
uint8_t * data
Memory for the process data. 
 
int ec_domain_finish(ec_domain_t *, uint32_t)
Finishes a domain. 
 
unsigned int working_counter_changes
Working counter changes since last notification. 
 
void ec_domain_init(ec_domain_t *, ec_master_t *, unsigned int)
Domain constructor. 
 
unsigned int index
Index (just a number). 
 
struct list_head fmmu_configs
FMMU configurations contained. 
 
EtherCAT FMMU configuration structure. 
 
EtherCAT datagram structure. 
 
const ec_fmmu_config_t * ec_domain_find_fmmu(const ec_domain_t *, unsigned int)
Get a certain FMMU configuration via its position in the list. 
 
ec_origin_t data_origin
Origin of the data memory. 
 
uint16_t working_counter[EC_MAX_NUM_DEVICES]
Last working counter values. 
 
uint32_t logical_base_address
Logical offset address of the process data. 
 
void ec_domain_clear(ec_domain_t *)
Domain destructor. 
 
uint16_t expected_working_counter
Expected working counter. 
 
unsigned int redundancy_active
Non-zero, if redundancy is in use. 
 
void ec_domain_add_fmmu_config(ec_domain_t *, ec_fmmu_config_t *)
Adds an FMMU configuration to the domain. 
 
struct list_head datagram_pairs
Datagrams pairs (main/backup) for process data exchange. 
 
unsigned long notify_jiffies
Time of last notification. 
 
ec_master_t * master
EtherCAT master owning the domain.