Structure to hold driver state. More...
Structure to hold driver state.
Supposed to be extended by driver implementations. The extended structure should contain all variable driver state.
Contains a field context which is not used by the drivers, but supposed to be used by upper layers to store reference information.
#include <netdev.h>
Data Fields | |
| const struct netdev_driver * | driver |
| ptr to that driver's interface. | |
| netdev_event_cb_t | event_callback |
| callback for device events | |
| void * | context |
| ptr to network stack context | |