equal
deleted
inserted
replaced
48 |
48 |
49 typedef struct |
49 typedef struct |
50 { |
50 { |
51 struct net_device *dev; /**< net_device for virtual ethernet device */ |
51 struct net_device *dev; /**< net_device for virtual ethernet device */ |
52 struct net_device_stats stats; /**< device statistics */ |
52 struct net_device_stats stats; /**< device statistics */ |
|
53 uint8_t registered; /**< net_device is opened */ |
53 uint8_t opened; /**< net_device is opened */ |
54 uint8_t opened; /**< net_device is opened */ |
54 } |
55 } |
55 ec_debug_t; |
56 ec_debug_t; |
56 |
57 |
57 /*****************************************************************************/ |
58 /*****************************************************************************/ |
58 |
59 |
59 int ec_debug_init(ec_debug_t *, const char *); |
60 int ec_debug_init(ec_debug_t *, const char *); |
60 void ec_debug_clear(ec_debug_t *); |
61 void ec_debug_clear(ec_debug_t *); |
|
62 void ec_debug_register(ec_debug_t *, const struct net_device *); |
|
63 void ec_debug_unregister(ec_debug_t *); |
61 void ec_debug_send(ec_debug_t *, const uint8_t *, size_t); |
64 void ec_debug_send(ec_debug_t *, const uint8_t *, size_t); |
62 |
65 |
63 /*****************************************************************************/ |
66 /*****************************************************************************/ |