36 #include "contiki-net.h"
37 #include "dev/rtl8019dev.h"
40 #define BUF ((struct uip_eth_hdr *)&uip_buf[0])
42 PROCESS(rtl8019_process,
"RTL8019 driver");
62 if(BUF->type ==
uip_htons(UIP_ETHTYPE_IPV6)) {
63 uip_neighbor_add(&IPBUF->srcipaddr, &BUF->src);
67 if(BUF->type ==
uip_htons(UIP_ETHTYPE_IP)) {
70 }
else if(BUF->type ==
uip_htons(UIP_ETHTYPE_ARP)) {
90 tcpip_set_outputfunc(rtl8019_output);