diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-06-25 09:57:52 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-06-25 09:57:52 -0600 |
commit | f1994c5a179ba323f3dc29de7bc4cbaadeb4a831 (patch) | |
tree | 75b8e166dc08ad3db0a271b10a61e321dba37357 /nuttx/arch | |
parent | c9165c6ab64da11033ddcb60e6dcbd72908be0bd (diff) | |
download | nuttx-f1994c5a179ba323f3dc29de7bc4cbaadeb4a831.tar.gz nuttx-f1994c5a179ba323f3dc29de7bc4cbaadeb4a831.tar.bz2 nuttx-f1994c5a179ba323f3dc29de7bc4cbaadeb4a831.zip |
Rename ip_eth_hdr to eth_hdr_s
Diffstat (limited to 'nuttx/arch')
-rw-r--r-- | nuttx/arch/arm/src/c5471/c5471_ethernet.c | 2 | ||||
-rw-r--r-- | nuttx/arch/arm/src/kinetis/kinetis_enet.c | 2 | ||||
-rw-r--r-- | nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c | 2 | ||||
-rw-r--r-- | nuttx/arch/arm/src/sam34/sam_emac.c | 2 | ||||
-rw-r--r-- | nuttx/arch/arm/src/sama5/sam_emaca.c | 2 | ||||
-rw-r--r-- | nuttx/arch/arm/src/sama5/sam_emacb.c | 2 | ||||
-rw-r--r-- | nuttx/arch/arm/src/sama5/sam_gmac.c | 2 | ||||
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_eth.c | 2 | ||||
-rw-r--r-- | nuttx/arch/arm/src/tiva/tiva_ethernet.c | 2 | ||||
-rw-r--r-- | nuttx/arch/hc/src/m9s12/m9s12_ethernet.c | 2 | ||||
-rw-r--r-- | nuttx/arch/mips/src/pic32mx/pic32mx-ethernet.c | 2 | ||||
-rw-r--r-- | nuttx/arch/sim/src/up_wpcap.c | 2 | ||||
-rw-r--r-- | nuttx/arch/z80/src/ez80/ez80_emac.c | 2 |
13 files changed, 13 insertions, 13 deletions
diff --git a/nuttx/arch/arm/src/c5471/c5471_ethernet.c b/nuttx/arch/arm/src/c5471/c5471_ethernet.c index 54628c6f1..8220d606b 100644 --- a/nuttx/arch/arm/src/c5471/c5471_ethernet.c +++ b/nuttx/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/nuttx/arch/arm/src/kinetis/kinetis_enet.c b/nuttx/arch/arm/src/kinetis/kinetis_enet.c index 51bf26ff1..6b5a7ef00 100644 --- a/nuttx/arch/arm/src/kinetis/kinetis_enet.c +++ b/nuttx/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/nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c b/nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c index 31f326995..f52ba6572 100644 --- a/nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c +++ b/nuttx/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/nuttx/arch/arm/src/sam34/sam_emac.c b/nuttx/arch/arm/src/sam34/sam_emac.c index 31da83f29..e5d527b07 100644 --- a/nuttx/arch/arm/src/sam34/sam_emac.c +++ b/nuttx/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/nuttx/arch/arm/src/sama5/sam_emaca.c b/nuttx/arch/arm/src/sama5/sam_emaca.c index 09564ddaa..77d1fc742 100644 --- a/nuttx/arch/arm/src/sama5/sam_emaca.c +++ b/nuttx/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/nuttx/arch/arm/src/sama5/sam_emacb.c b/nuttx/arch/arm/src/sama5/sam_emacb.c index 318a61f00..7df889bad 100644 --- a/nuttx/arch/arm/src/sama5/sam_emacb.c +++ b/nuttx/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/nuttx/arch/arm/src/sama5/sam_gmac.c b/nuttx/arch/arm/src/sama5/sam_gmac.c index 081835778..f30b52726 100644 --- a/nuttx/arch/arm/src/sama5/sam_gmac.c +++ b/nuttx/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/nuttx/arch/arm/src/stm32/stm32_eth.c b/nuttx/arch/arm/src/stm32/stm32_eth.c index f16f74076..b89086309 100644 --- a/nuttx/arch/arm/src/stm32/stm32_eth.c +++ b/nuttx/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/nuttx/arch/arm/src/tiva/tiva_ethernet.c b/nuttx/arch/arm/src/tiva/tiva_ethernet.c index b605360f6..adb9a8312 100644 --- a/nuttx/arch/arm/src/tiva/tiva_ethernet.c +++ b/nuttx/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/nuttx/arch/hc/src/m9s12/m9s12_ethernet.c b/nuttx/arch/hc/src/m9s12/m9s12_ethernet.c index 14e49a571..759c2819d 100644 --- a/nuttx/arch/hc/src/m9s12/m9s12_ethernet.c +++ b/nuttx/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/nuttx/arch/mips/src/pic32mx/pic32mx-ethernet.c b/nuttx/arch/mips/src/pic32mx/pic32mx-ethernet.c index 45ebbe599..6288e6b52 100644 --- a/nuttx/arch/mips/src/pic32mx/pic32mx-ethernet.c +++ b/nuttx/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/nuttx/arch/sim/src/up_wpcap.c b/nuttx/arch/sim/src/up_wpcap.c index 62f0b6ad0..633789a3b 100644 --- a/nuttx/arch/sim/src/up_wpcap.c +++ b/nuttx/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/nuttx/arch/z80/src/ez80/ez80_emac.c b/nuttx/arch/z80/src/ez80/ez80_emac.c index 3967b38e7..8b343c5c0 100644 --- a/nuttx/arch/z80/src/ez80/ez80_emac.c +++ b/nuttx/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 |