equal
deleted
inserted
replaced
64 struct list_head list; /**< list item */ |
64 struct list_head list; /**< list item */ |
65 ec_slave_t *slave; /**< pointer to the corresponding slave */ |
65 ec_slave_t *slave; /**< pointer to the corresponding slave */ |
66 void (*state)(ec_eoe_t *); /**< state function for the state machine */ |
66 void (*state)(ec_eoe_t *); /**< state function for the state machine */ |
67 struct net_device *dev; /**< net_device for virtual ethernet device */ |
67 struct net_device *dev; /**< net_device for virtual ethernet device */ |
68 struct net_device_stats stats; /**< device statistics */ |
68 struct net_device_stats stats; /**< device statistics */ |
69 uint8_t opened; /**< net_device is opened */ |
69 unsigned int opened; /**< net_device is opened */ |
70 struct sk_buff *rx_skb; /**< current rx socket buffer */ |
70 struct sk_buff *rx_skb; /**< current rx socket buffer */ |
71 off_t rx_skb_offset; /**< current write pointer in the socket buffer */ |
71 off_t rx_skb_offset; /**< current write pointer in the socket buffer */ |
72 size_t rx_skb_size; /**< size of the allocated socket buffer memory */ |
72 size_t rx_skb_size; /**< size of the allocated socket buffer memory */ |
73 uint8_t rx_expected_fragment; /**< next expected fragment number */ |
73 uint8_t rx_expected_fragment; /**< next expected fragment number */ |
74 struct list_head tx_queue; /**< queue for frames to send */ |
74 struct list_head tx_queue; /**< queue for frames to send */ |
84 /*****************************************************************************/ |
84 /*****************************************************************************/ |
85 |
85 |
86 int ec_eoe_init(ec_eoe_t *, ec_slave_t *); |
86 int ec_eoe_init(ec_eoe_t *, ec_slave_t *); |
87 void ec_eoe_clear(ec_eoe_t *); |
87 void ec_eoe_clear(ec_eoe_t *); |
88 void ec_eoe_run(ec_eoe_t *); |
88 void ec_eoe_run(ec_eoe_t *); |
|
89 unsigned int ec_eoe_active(const ec_eoe_t *); |
89 void ec_eoe_print(const ec_eoe_t *); |
90 void ec_eoe_print(const ec_eoe_t *); |
90 |
91 |
91 /*****************************************************************************/ |
92 /*****************************************************************************/ |