Microchip® Advanced Software Framework

network_driver Struct Reference

The structure of a network driver in Contiki.

#include <netstack.h>

Data Fields

void(* init )(void)
 Initialize the network driver. More...
 
void(* input )(void)
 Callback for getting notified of incoming packet. More...
 
const char * name
 

void(* network_driver::init)(void)

Initialize the network driver.

Referenced by netstack_init().

void(* network_driver::input)(void)

Callback for getting notified of incoming packet.

Referenced by input_packet(), and packet_input().

const char* network_driver::name