master/ethernet.h
changeset 2028 55854f070c4a
parent 1974 a5a44aa5915d
child 2045 ff2a13a4603c
equal deleted inserted replaced
2027:ac35f4d38a31 2028:55854f070c4a
    90 
    90 
    91     struct list_head tx_queue; /**< queue for frames to send */
    91     struct list_head tx_queue; /**< queue for frames to send */
    92     unsigned int tx_queue_size; /**< Transmit queue size. */
    92     unsigned int tx_queue_size; /**< Transmit queue size. */
    93     unsigned int tx_queue_active; /**< kernel netif queue started */
    93     unsigned int tx_queue_active; /**< kernel netif queue started */
    94     unsigned int tx_queued_frames; /**< number of frames in the queue */
    94     unsigned int tx_queued_frames; /**< number of frames in the queue */
    95     struct semaphore tx_queue_sem; /**< Semaphore for the send queue. */
    95     struct ec_mutex_t tx_queue_mutex; /**< Mutex for the send queue. */
    96     ec_eoe_frame_t *tx_frame; /**< current TX frame */
    96     ec_eoe_frame_t *tx_frame; /**< current TX frame */
    97     uint8_t tx_frame_number; /**< number of the transmitted frame */
    97     uint8_t tx_frame_number; /**< number of the transmitted frame */
    98     uint8_t tx_fragment_number; /**< number of the fragment */
    98     uint8_t tx_fragment_number; /**< number of the fragment */
    99     size_t tx_offset; /**< number of octets sent */
    99     size_t tx_offset; /**< number of octets sent */
   100     uint32_t tx_counter; /**< octets transmitted during last second */
   100     uint32_t tx_counter; /**< octets transmitted during last second */