|
IgH EtherCAT Master
1.6.9
|
Ethernet over EtherCAT (EoE) handler. More...
#include <ethernet.h>
Data Fields | |
| struct list_head | list |
| list item | |
| ec_slave_t * | slave |
| pointer to the corresponding slave | |
| ec_datagram_t | datagram |
| datagram | |
| unsigned int | queue_datagram |
| the datagram is ready for queuing | |
| void(* | state )(ec_eoe_t *) |
| state function for the state machine | |
| struct net_device * | dev |
| net_device for virtual ethernet device | |
| struct net_device_stats | stats |
| device statistics | |
| unsigned int | opened |
| net_device is opened | |
| unsigned long | rate_jiffies |
| time of last rate output | |
| struct 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) | |
| unsigned int | rx_idle |
| Idle flag. | |
| 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 | |
| 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) | |
| unsigned int | tx_idle |
| Idle flag. | |
| unsigned int | tries |
| Tries. | |
Ethernet over EtherCAT (EoE) handler.
The master creates one of these objects for each slave that supports the EoE protocol.
Definition at line 74 of file ethernet.h.
| struct list_head ec_eoe::list |
list item
Definition at line 76 of file ethernet.h.
| ec_slave_t* ec_eoe::slave |
pointer to the corresponding slave
Definition at line 77 of file ethernet.h.
| ec_datagram_t ec_eoe::datagram |
datagram
Definition at line 78 of file ethernet.h.
| unsigned int ec_eoe::queue_datagram |
the datagram is ready for queuing
Definition at line 79 of file ethernet.h.
| void(* ec_eoe::state) (ec_eoe_t *) |
state function for the state machine
Definition at line 80 of file ethernet.h.
| struct net_device* ec_eoe::dev |
net_device for virtual ethernet device
Definition at line 81 of file ethernet.h.
| struct net_device_stats ec_eoe::stats |
device statistics
Definition at line 82 of file ethernet.h.
| unsigned int ec_eoe::opened |
net_device is opened
Definition at line 83 of file ethernet.h.
| unsigned long ec_eoe::rate_jiffies |
time of last rate output
Definition at line 84 of file ethernet.h.
| struct sk_buff* ec_eoe::rx_skb |
current rx socket buffer
Definition at line 86 of file ethernet.h.
| off_t ec_eoe::rx_skb_offset |
current write pointer in the socket buffer
Definition at line 87 of file ethernet.h.
| size_t ec_eoe::rx_skb_size |
size of the allocated socket buffer memory
Definition at line 88 of file ethernet.h.
| uint8_t ec_eoe::rx_expected_fragment |
next expected fragment number
Definition at line 89 of file ethernet.h.
| uint32_t ec_eoe::rx_counter |
octets received during last second
Definition at line 90 of file ethernet.h.
| uint32_t ec_eoe::rx_rate |
receive rate (bps)
Definition at line 91 of file ethernet.h.
| unsigned int ec_eoe::rx_idle |
Idle flag.
Definition at line 92 of file ethernet.h.
| struct list_head ec_eoe::tx_queue |
queue for frames to send
Definition at line 94 of file ethernet.h.
| unsigned int ec_eoe::tx_queue_size |
Transmit queue size.
Definition at line 95 of file ethernet.h.
| unsigned int ec_eoe::tx_queue_active |
kernel netif queue started
Definition at line 96 of file ethernet.h.
| unsigned int ec_eoe::tx_queued_frames |
number of frames in the queue
Definition at line 97 of file ethernet.h.
| ec_eoe_frame_t* ec_eoe::tx_frame |
current TX frame
Definition at line 98 of file ethernet.h.
| uint8_t ec_eoe::tx_frame_number |
number of the transmitted frame
Definition at line 99 of file ethernet.h.
| uint8_t ec_eoe::tx_fragment_number |
number of the fragment
Definition at line 100 of file ethernet.h.
| size_t ec_eoe::tx_offset |
number of octets sent
Definition at line 101 of file ethernet.h.
| uint32_t ec_eoe::tx_counter |
octets transmitted during last second
Definition at line 102 of file ethernet.h.
| uint32_t ec_eoe::tx_rate |
transmit rate (bps)
Definition at line 103 of file ethernet.h.
| unsigned int ec_eoe::tx_idle |
Idle flag.
Definition at line 104 of file ethernet.h.
| unsigned int ec_eoe::tries |
Tries.
Definition at line 106 of file ethernet.h.