Definition in file debug.c.
Go to the source code of this file.
Functions | |
| int | ec_dbgdev_open (struct net_device *dev) |
| Opens the virtual network device. | |
| int | ec_dbgdev_stop (struct net_device *dev) |
| Stops the virtual network device. | |
| net_device_stats * | ec_dbgdev_stats (struct net_device *dev) |
| Gets statistics about the virtual network device. | |
| int | ec_debug_init (ec_debug_t *dbg) |
| Debug constructor. | |
| void | ec_debug_clear (ec_debug_t *dbg) |
| Debug destructor. | |
| void | ec_debug_send (ec_debug_t *dbg, const uint8_t *data, size_t size) |
| Sends frame data to the interface. | |
|
|
Opens the virtual network device.
|
|
|
Stops the virtual network device.
|
|
|
Gets statistics about the virtual network device.
|
|
|
Debug constructor. Initializes the debug object, creates a net_device and registeres it.
|
|
|
Debug destructor. Unregisteres the net_device and frees allocated memory.
|
|
||||||||||||||||
|
Sends frame data to the interface.
|
1.4.6