The master creates one of these objects for each slave that supports the EoE protocol.
Definition at line 72 of file ethernet.h.
Data Fields | |
| list_head | list |
| list item | |
| ec_slave_t * | slave |
| pointer to the corresponding slave | |
| ec_datagram_t | datagram |
| datagram | |
| void(* | state )(ec_eoe_t *) |
| state function for the state machine | |
| net_device * | dev |
| net_device for virtual ethernet device | |
| net_device_stats | stats |
| device statistics | |
| unsigned int | opened |
| net_device is opened | |
| unsigned long | rate_jiffies |
| time of last rate output | |
| sk_buff * | rx_skb |
| current rx socket buffer | |
| off_t | rx_skb_offset |
| current write pointer in the socket buffer | |
| size_t | rx_skb_size |
| size of the allocated socket buffer memory | |
| uint8_t | rx_expected_fragment |
| next expected fragment number | |
| uint32_t | rx_counter |
| octets received during last second | |
| uint32_t | rx_rate |
| receive rate (bps) | |
| list_head | tx_queue |
| queue for frames to send | |
| 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 | |
| ec_eoe_frame_t * | tx_frame |
| current TX frame | |
| uint8_t | tx_frame_number |
| number of the transmitted frame | |
| uint8_t | tx_fragment_number |
| number of the fragment | |
| size_t | tx_offset |
| number of octets sent | |
| uint32_t | tx_counter |
| octets transmitted during last second | |
| uint32_t | tx_rate |
| transmit rate (bps) | |
1.4.4