Made tapdev and wpcap driver similiar making up a "driver template".
This commit is contained in:
parent
c42cbe3141
commit
63a6493e5c
1 changed files with 3 additions and 1 deletions
|
@ -28,13 +28,15 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* This file is part of the Contiki operating system.
|
||||||
*
|
*
|
||||||
* @(#)$Id: tapdev-drv.c,v 1.3 2007/05/26 22:51:38 oliverschmidt Exp $
|
* @(#)$Id: tapdev-drv.c,v 1.4 2007/08/10 14:59:59 oliverschmidt Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "contiki-net.h"
|
#include "contiki-net.h"
|
||||||
#include "tapdev.h"
|
#include "tapdev.h"
|
||||||
#include "net/uip-neighbor.h"
|
#include "net/uip-neighbor.h"
|
||||||
|
|
||||||
|
#include "tapdev-drv.h"
|
||||||
|
|
||||||
#define BUF ((struct uip_eth_hdr *)&uip_buf[0])
|
#define BUF ((struct uip_eth_hdr *)&uip_buf[0])
|
||||||
|
|
||||||
PROCESS(tapdev_process, "TAP driver");
|
PROCESS(tapdev_process, "TAP driver");
|
||||||
|
|
Loading…
Reference in a new issue