ec_device Struct Reference

EtherCAT device. More...


Data Fields

ec_master_tmaster
 EtherCAT master.
struct net_device * dev
 pointer to the assigned net_device
ec_pollfunc_t poll
 pointer to the device's poll function
struct modulemodule
 pointer to the device's owning module
uint8_t open
 true, if the net_device has been opened
uint8_t link_state
 device link state
struct sk_buff * tx_skb [EC_TX_RING_SIZE]
 transmit skb ring
unsigned int tx_ring_index
 last ring entry used to transmit
unsigned long jiffies_poll
 jiffies of last poll
u64 tx_count
 Number of frames sent.
u64 last_tx_count
 Number of frames sent of last statistics cycle.
u64 rx_count
 Number of frames received.
u64 last_rx_count
 Number of frames received of last statistics cycle.
u64 tx_bytes
 Number of bytes sent.
u64 last_tx_bytes
 Number of bytes sent of last statistics cycle.
u64 rx_bytes
 Number of bytes received.
u64 last_rx_bytes
 Number of bytes received of last statistics cycle.
u64 tx_errors
 Number of transmit errors.
s32 tx_frame_rates [EC_RATE_COUNT]
 Transmit rates in frames/s for different statistics cycle periods.
s32 rx_frame_rates [EC_RATE_COUNT]
 Receive rates in frames/s for different statistics cycle periods.
s32 tx_byte_rates [EC_RATE_COUNT]
 Transmit rates in byte/s for different statistics cycle periods.
s32 rx_byte_rates [EC_RATE_COUNT]
 Receive rates in byte/s for different statistics cycle periods.


Detailed Description

EtherCAT device.

An EtherCAT device is a network interface card, that is owned by an EtherCAT master to send and receive EtherCAT frames with.

Definition at line 81 of file device.h.


Field Documentation

Number of frames sent.

Definition at line 100 of file device.h.

Number of frames sent of last statistics cycle.

Definition at line 101 of file device.h.

Number of frames received.

Definition at line 102 of file device.h.

Number of frames received of last statistics cycle.

Definition at line 103 of file device.h.

Number of bytes sent.

Definition at line 105 of file device.h.

Number of bytes sent of last statistics cycle.

Definition at line 106 of file device.h.

Number of bytes received.

Definition at line 107 of file device.h.

Number of transmit errors.

Definition at line 110 of file device.h.

s32 ec_device::tx_byte_rates[EC_RATE_COUNT]

Transmit rates in byte/s for different statistics cycle periods.

Definition at line 117 of file device.h.

s32 ec_device::rx_byte_rates[EC_RATE_COUNT]

Receive rates in byte/s for different statistics cycle periods.

Definition at line 119 of file device.h.


Generated on Mon Jun 20 09:31:31 2016 for IgH EtherCAT Master by  doxygen 1.5.6