|
IgH EtherCAT Master
1.5.3
|
Ethernet interface for debugging purposes. More...
Go to the source code of this file.
Functions | |
| int | ec_dbgdev_open (struct net_device *dev) |
| Opens the virtual network device. More... | |
| int | ec_dbgdev_stop (struct net_device *dev) |
| Stops the virtual network device. More... | |
| int | ec_dbgdev_tx (struct sk_buff *skb, struct net_device *dev) |
| Transmits data via the virtual network device. More... | |
| struct net_device_stats * | ec_dbgdev_stats (struct net_device *dev) |
| Gets statistics about the virtual network device. More... | |
| int | ec_debug_init (ec_debug_t *dbg, ec_device_t *device, const char *name) |
| Debug interface constructor. More... | |
| void | ec_debug_clear (ec_debug_t *dbg) |
| Debug interface destructor. More... | |
| void | ec_debug_register (ec_debug_t *dbg, const struct net_device *net_dev) |
| Register debug interface. More... | |
| void | ec_debug_unregister (ec_debug_t *dbg) |
| Unregister debug interface. More... | |
| void | ec_debug_send (ec_debug_t *dbg, const uint8_t *data, size_t size) |
| Sends frame data to the interface. More... | |
Variables | |
| static const struct net_device_ops | ec_dbg_netdev_ops |
| Device operations for debug interfaces. More... | |
Ethernet interface for debugging purposes.
Definition in file debug.c.
| int ec_dbgdev_open | ( | struct net_device * | dev | ) |
| int ec_dbgdev_stop | ( | struct net_device * | dev | ) |
| int ec_dbgdev_tx | ( | struct sk_buff * | skb, |
| struct net_device * | dev | ||
| ) |
| struct net_device_stats * ec_dbgdev_stats | ( | struct net_device * | dev | ) |
| int ec_debug_init | ( | ec_debug_t * | dbg, |
| ec_device_t * | device, | ||
| const char * | name | ||
| ) |
| void ec_debug_clear | ( | ec_debug_t * | dbg | ) |
| void ec_debug_register | ( | ec_debug_t * | dbg, |
| const struct net_device * | net_dev | ||
| ) |
| void ec_debug_unregister | ( | ec_debug_t * | dbg | ) |
| void ec_debug_send | ( | ec_debug_t * | dbg, |
| const uint8_t * | data, | ||
| size_t | size | ||
| ) |
|
static |
Device operations for debug interfaces.