netdev_test_t Struct Reference

Device descriptor for netdev dummy test driver devices. More...

Detailed Description

Device descriptor for netdev dummy test driver devices.

Definition at line 169 of file netdev_test.h.

#include <netdev_test.h>

netdev_t netdev
 netdev fields More...
netdev_test_send_cb_t send_cb
 device specific fields More...
netdev_test_recv_cb_t recv_cb
 callback to handle receive command
netdev_test_init_cb_t init_cb
 callback to handle initialization events
netdev_test_isr_cb_t isr_cb
 callback to handle ISR events
netdev_test_get_cb_t get_cbs [NETOPT_NUMOF]
 callback to handle get command
netdev_test_set_cb_t set_cbs [NETOPT_NUMOF]
 callback to handle set command
void * state
 external state for the device
mutex_t mutex
 mutex for the device

Additional Inherited Members

- Data Fields inherited from netdev
const struct netdev_driverdriver
 ptr to that driver's interface. More...
netdev_event_cb_t event_callback
 callback for device events
void * context
 ptr to network stack context

Field Documentation

◆ netdev

netdev_t netdev_test_t::netdev

netdev fields


Definition at line 177 of file netdev_test.h.

◆ send_cb

netdev_test_send_cb_t netdev_test_t::send_cb

device specific fields

callback to handle send command

Definition at line 185 of file netdev_test.h.

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