1 #include "uip_pbuf.h" 2 #include "uip-conf.h" 3 #include "rtdef.h" 4 5 6 struct eth_hdr { 7 u8_t ip_addrdest[6]; 8 u8_t ip_addrsrc[6]; 9 u16_t type; 10 } ; 11 #define ETHTYPE_ARP UIP_ETHTYPE_ARP 12 #define ETHTYPE_IP UIP_ETHTYPE_IP 13 #define ETHTYPE_VLAN 0x8100 14 #define ETHTYPE_PPPOEDISC 0x8863 /* PPP Over Ethernet Discovery Stage */ 15 #define ETHTYPE_PPPOE 0x8864 /* PPP Over Ethernet Session Stage */ 16