37 #ifndef __EC_DEBUG_H__ 38 #define __EC_DEBUG_H__ 40 #include "../devices/ecdev.h" 49 struct net_device *
dev;
50 struct net_device_stats stats;
uint8_t registered
net_device is opened
void ec_debug_unregister(ec_debug_t *)
Unregister debug interface.
int ec_debug_init(ec_debug_t *, ec_device_t *, const char *)
Debug interface constructor.
Debugging network interface.
struct net_device * dev
net_device for virtual ethernet device
void ec_debug_register(ec_debug_t *, const struct net_device *)
Register debug interface.
ec_device_t * device
Parent device.
void ec_debug_clear(ec_debug_t *)
Debug interface destructor.
uint8_t opened
net_device is opened
void ec_debug_send(ec_debug_t *, const uint8_t *, size_t)
Sends frame data to the interface.