diff --git a/arch/arm/src/c5471/c5471_ethernet.c b/arch/arm/src/c5471/c5471_ethernet.c index 54628c6f157..8220d606b18 100644 --- a/arch/arm/src/c5471/c5471_ethernet.c +++ b/arch/arm/src/c5471/c5471_ethernet.c @@ -270,7 +270,7 @@ /* This is a helper pointer for accessing the contents of the Ethernet header */ -#define BUF ((struct uip_eth_hdr *)c5471->c_dev.d_buf) +#define BUF ((struct eth_hdr_s *)c5471->c_dev.d_buf) /**************************************************************************** * Private Types diff --git a/arch/arm/src/kinetis/kinetis_enet.c b/arch/arm/src/kinetis/kinetis_enet.c index 51bf26ff10b..6b5a7ef009e 100644 --- a/arch/arm/src/kinetis/kinetis_enet.c +++ b/arch/arm/src/kinetis/kinetis_enet.c @@ -140,7 +140,7 @@ /* This is a helper pointer for accessing the contents of the Ethernet header */ -#define BUF ((struct uip_eth_hdr *)priv->dev.d_buf) +#define BUF ((struct eth_hdr_s *)priv->dev.d_buf) /**************************************************************************** * Private Types diff --git a/arch/arm/src/lpc17xx/lpc17_ethernet.c b/arch/arm/src/lpc17xx/lpc17_ethernet.c index 31f32699573..f52ba65727e 100644 --- a/arch/arm/src/lpc17xx/lpc17_ethernet.c +++ b/arch/arm/src/lpc17xx/lpc17_ethernet.c @@ -152,7 +152,7 @@ /* This is a helper pointer for accessing the contents of the Ethernet header */ -#define BUF ((struct uip_eth_hdr *)priv->lp_dev.d_buf) +#define BUF ((struct eth_hdr_s *)priv->lp_dev.d_buf) /* This is the number of ethernet GPIO pins that must be configured */ diff --git a/arch/arm/src/sam34/sam_emac.c b/arch/arm/src/sam34/sam_emac.c index 31da83f29d2..e5d527b0749 100644 --- a/arch/arm/src/sam34/sam_emac.c +++ b/arch/arm/src/sam34/sam_emac.c @@ -243,7 +243,7 @@ * header */ -#define BUF ((struct uip_eth_hdr *)priv->dev.d_buf) +#define BUF ((struct eth_hdr_s *)priv->dev.d_buf) /**************************************************************************** * Private Types diff --git a/arch/arm/src/sama5/sam_emaca.c b/arch/arm/src/sama5/sam_emaca.c index 09564ddaabb..77d1fc742c7 100644 --- a/arch/arm/src/sama5/sam_emaca.c +++ b/arch/arm/src/sama5/sam_emaca.c @@ -248,7 +248,7 @@ * header */ -#define BUF ((struct uip_eth_hdr *)priv->dev.d_buf) +#define BUF ((struct eth_hdr_s *)priv->dev.d_buf) /**************************************************************************** * Private Types diff --git a/arch/arm/src/sama5/sam_emacb.c b/arch/arm/src/sama5/sam_emacb.c index 318a61f00cd..7df889bad1a 100644 --- a/arch/arm/src/sama5/sam_emacb.c +++ b/arch/arm/src/sama5/sam_emacb.c @@ -308,7 +308,7 @@ * header */ -#define BUF ((struct uip_eth_hdr *)priv->dev.d_buf) +#define BUF ((struct eth_hdr_s *)priv->dev.d_buf) /**************************************************************************** * Private Types diff --git a/arch/arm/src/sama5/sam_gmac.c b/arch/arm/src/sama5/sam_gmac.c index 08183577861..f30b527261b 100644 --- a/arch/arm/src/sama5/sam_gmac.c +++ b/arch/arm/src/sama5/sam_gmac.c @@ -174,7 +174,7 @@ * header */ -#define BUF ((struct uip_eth_hdr *)priv->dev.d_buf) +#define BUF ((struct eth_hdr_s *)priv->dev.d_buf) /**************************************************************************** * Private Types diff --git a/arch/arm/src/stm32/stm32_eth.c b/arch/arm/src/stm32/stm32_eth.c index f16f7407607..b89086309d2 100644 --- a/arch/arm/src/stm32/stm32_eth.c +++ b/arch/arm/src/stm32/stm32_eth.c @@ -552,7 +552,7 @@ * header */ -#define BUF ((struct uip_eth_hdr *)priv->dev.d_buf) +#define BUF ((struct eth_hdr_s *)priv->dev.d_buf) /**************************************************************************** * Private Types diff --git a/arch/arm/src/tiva/tiva_ethernet.c b/arch/arm/src/tiva/tiva_ethernet.c index b605360f62b..adb9a8312e7 100644 --- a/arch/arm/src/tiva/tiva_ethernet.c +++ b/arch/arm/src/tiva/tiva_ethernet.c @@ -151,7 +151,7 @@ /* This is a helper pointer for accessing the contents of the Ethernet header */ -#define ETHBUF ((struct uip_eth_hdr *)priv->ld_dev.d_buf) +#define ETHBUF ((struct eth_hdr_s *)priv->ld_dev.d_buf) #define TIVA_MAX_MDCCLK 2500000 diff --git a/arch/hc/src/m9s12/m9s12_ethernet.c b/arch/hc/src/m9s12/m9s12_ethernet.c index 14e49a5714f..759c2819dbe 100644 --- a/arch/hc/src/m9s12/m9s12_ethernet.c +++ b/arch/hc/src/m9s12/m9s12_ethernet.c @@ -78,7 +78,7 @@ /* This is a helper pointer for accessing the contents of the Ethernet header */ -#define BUF ((struct uip_eth_hdr *)priv->d_dev.d_buf) +#define BUF ((struct eth_hdr_s *)priv->d_dev.d_buf) /**************************************************************************** * Private Types diff --git a/arch/mips/src/pic32mx/pic32mx-ethernet.c b/arch/mips/src/pic32mx/pic32mx-ethernet.c index 45ebbe599b0..6288e6b5276 100644 --- a/arch/mips/src/pic32mx/pic32mx-ethernet.c +++ b/arch/mips/src/pic32mx/pic32mx-ethernet.c @@ -213,7 +213,7 @@ /* This is a helper pointer for accessing the contents of the Ethernet header */ -#define BUF ((struct uip_eth_hdr *)priv->pd_dev.d_buf) +#define BUF ((struct eth_hdr_s *)priv->pd_dev.d_buf) /* PHYs *********************************************************************/ /* Select PHY-specific values. Add more PHYs as needed. */ diff --git a/arch/sim/src/up_wpcap.c b/arch/sim/src/up_wpcap.c index 62f0b6ad038..633789a3b7d 100644 --- a/arch/sim/src/up_wpcap.c +++ b/arch/sim/src/up_wpcap.c @@ -60,7 +60,7 @@ extern int uipdriver_setmacaddr(unsigned char *macaddr); * Pre-processor Definitions ****************************************************************************/ -#define BUF ((struct uip_eth_hdr *)&uip_buf[0]) +#define BUF ((struct eth_hdr_s *)&uip_buf[0]) #ifndef CONFIG_EXAMPLES_UIP_DHCPC # define UIP_IPADDR (10 << 24 | 0 << 16 | 0 << 8 | 1) diff --git a/arch/z80/src/ez80/ez80_emac.c b/arch/z80/src/ez80/ez80_emac.c index 3967b38e72d..8b343c5c002 100644 --- a/arch/z80/src/ez80/ez80_emac.c +++ b/arch/z80/src/ez80/ez80_emac.c @@ -233,7 +233,7 @@ /* This is a helper pointer for accessing the contents of the Ethernet header */ -#define ETHBUF ((struct uip_eth_hdr *)priv->dev.d_buf) +#define ETHBUF ((struct eth_hdr_s *)priv->dev.d_buf) /**************************************************************************** * Private Types