master/ethernet.h
changeset 212 82980deb8b00
parent 210 1cc6bcb1e6ae
child 214 8beb86af5ed0
--- a/master/ethernet.h	Wed May 03 07:19:19 2006 +0000
+++ b/master/ethernet.h	Wed May 03 07:47:04 2006 +0000
@@ -65,6 +65,11 @@
     ec_eoe_state_t rx_state; /**< state of the state machine */
     struct net_device *dev; /**< net_device for virtual ethernet device */
     uint8_t opened; /**< net_device is opened */
+    struct sk_buff *skb; /**< current rx socket buffer */
+    struct net_device_stats stats; /**< device statistics */
+    struct list_head tx_queue; /**< queue for frames to send */
+    unsigned int queued_frames; /**< number of frames in the queue */
+    spinlock_t tx_queue_lock; /**< spinlock for the send queue */
 }
 ec_eoe_t;