On the Atari it seems reasonable to start on a clear b&w screen even for non-CTK...
[contiki-2.x.git] / doc / example-packet-drv.h
blob64a7c3cffb093b7d7b7cc3bd824853052e36cd57
1 /*
2 * This is an example of how to write a network device driver ("packet
3 * driver") for Contiki.
4 */
6 #ifndef __EXAMPLE_PACKET_DRV_H__
7 #define __EXAMPLE_PACKET_DRV_H__
9 /*
10 * We include the "contiki.h" file to get the macro and typedef used below.
12 #include "contiki.h"
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__ */