summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc17xx
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-04 15:40:49 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-04 15:40:49 -0600
commiteb46f67f7957f8a27d7c09836ada9cf8264d0ad5 (patch)
treed897ddf039dfec728865da57ebf7ead5a8425ba8 /nuttx/arch/arm/src/lpc17xx
parent7ad1aa2d17297231ff92fa8933eb75feaae3570d (diff)
downloadnuttx-eb46f67f7957f8a27d7c09836ada9cf8264d0ad5.tar.gz
nuttx-eb46f67f7957f8a27d7c09836ada9cf8264d0ad5.tar.bz2
nuttx-eb46f67f7957f8a27d7c09836ada9cf8264d0ad5.zip
NET: More renaming
Diffstat (limited to 'nuttx/arch/arm/src/lpc17xx')
-rw-r--r--nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c b/nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c
index e1522507c..11a796739 100644
--- a/nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c
+++ b/nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c
@@ -859,9 +859,9 @@ static void lpc17_rxdone(struct lpc17_driver_s *priv)
/* We only accept IP packets of the configured type and ARP packets */
#ifdef CONFIG_NET_IPv6
- if (BUF->type == HTONS(UIP_ETHTYPE_IP6))
+ if (BUF->type == HTONS(ETHTYPE_IP6))
#else
- if (BUF->type == HTONS(UIP_ETHTYPE_IP))
+ if (BUF->type == HTONS(ETHTYPE_IP))
#endif
{
/* Handle the incoming Rx packet */
@@ -881,7 +881,7 @@ static void lpc17_rxdone(struct lpc17_driver_s *priv)
lpc17_response(priv);
}
}
- else if (BUF->type == htons(UIP_ETHTYPE_ARP))
+ else if (BUF->type == htons(ETHTYPE_ARP))
{
EMAC_STAT(priv, rx_arp);
arp_arpin(&priv->lp_dev);