master/ethernet.h
changeset 279 12f48c1cb143
parent 251 c1d0b63a9302
child 286 f3352378b4d4
equal deleted inserted replaced
278:fddcb6d7869d 279:12f48c1cb143
    71 
    71 
    72 struct ec_eoe
    72 struct ec_eoe
    73 {
    73 {
    74     struct list_head list; /**< list item */
    74     struct list_head list; /**< list item */
    75     ec_slave_t *slave; /**< pointer to the corresponding slave */
    75     ec_slave_t *slave; /**< pointer to the corresponding slave */
       
    76     ec_command_t command; /**< command */
    76     void (*state)(ec_eoe_t *); /**< state function for the state machine */
    77     void (*state)(ec_eoe_t *); /**< state function for the state machine */
    77     struct net_device *dev; /**< net_device for virtual ethernet device */
    78     struct net_device *dev; /**< net_device for virtual ethernet device */
    78     struct net_device_stats stats; /**< device statistics */
    79     struct net_device_stats stats; /**< device statistics */
    79     unsigned int opened; /**< net_device is opened */
    80     unsigned int opened; /**< net_device is opened */
    80     struct sk_buff *rx_skb; /**< current rx socket buffer */
    81     struct sk_buff *rx_skb; /**< current rx socket buffer */