Structure to hold driver state. More...

Detailed Description

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.

Definition at line 302 of file netdev.h.

#include <netdev.h>

Data Fields

const struct netdev_driverdriver
 ptr to that driver's interface.
 
netdev_event_cb_t event_callback
 callback for device events
 
void * context
 ptr to network stack context
 

The documentation for this struct was generated from the following file: