2 * This is an example of how to write a network device driver ("packet
3 * driver") for Contiki.
6 #ifndef __EXAMPLE_PACKET_DRV_H__
7 #define __EXAMPLE_PACKET_DRV_H__
10 * We include the "contiki.h" file to get the macro and typedef used below.
15 * Here we declare the process name used to start it (typically from main()).
17 PROCESS_NAME(example_packet_driver_process
);
20 * Finally we declare the output function for use with uIP packet forwarding.
22 u8_t
example_packet_driver_output(void);
24 #endif /* __EXAMPLE_PACKET_DRV_H__ */