diff -r 1c9151455b65 -r 5ddc3a455059 master/ethernet.h --- a/master/ethernet.h Fri Jun 26 08:00:47 2009 +0000 +++ b/master/ethernet.h Fri Jun 26 09:46:57 2009 +0000 @@ -34,6 +34,9 @@ /*****************************************************************************/ +#ifndef __EC_ETHERNET_H__ +#define __EC_ETHERNET_H__ + #include #include @@ -82,6 +85,7 @@ uint32_t rx_counter; /**< octets received during last second */ uint32_t rx_rate; /**< receive rate (bps) */ struct list_head tx_queue; /**< queue for frames to send */ + unsigned int tx_queue_size; /**< Transmit queue size. */ unsigned int tx_queue_active; /**< kernel netif queue started */ unsigned int tx_queued_frames; /**< number of frames in the queue */ spinlock_t tx_queue_lock; /**< spinlock for the send queue */ @@ -102,3 +106,7 @@ int ec_eoe_is_open(const ec_eoe_t *); /*****************************************************************************/ + +#endif + +/*****************************************************************************/