diff options
Diffstat (limited to 'nuttx/arch/arm/src/sama5/sam_emac.c')
-rw-r--r-- | nuttx/arch/arm/src/sama5/sam_emac.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/arch/arm/src/sama5/sam_emac.c b/nuttx/arch/arm/src/sama5/sam_emac.c index b20446ec7..b62f39b63 100644 --- a/nuttx/arch/arm/src/sama5/sam_emac.c +++ b/nuttx/arch/arm/src/sama5/sam_emac.c @@ -62,7 +62,7 @@ #include <nuttx/kmalloc.h> #include <nuttx/net/mii.h> #include <nuttx/net/uip/uip.h> -#include <nuttx/net/uip/uip-arp.h> +#include <nuttx/net/arp.h> #include <nuttx/net/uip/uip-arch.h> #include "up_arch.h" @@ -824,7 +824,7 @@ static int sam_uiptxpoll(struct uip_driver_s *dev) { /* Send the packet */ - uip_arp_out(&priv->dev); + arp_out(&priv->dev); sam_transmit(priv); /* Check if the there are any free TX descriptors. We cannot perform @@ -1171,7 +1171,7 @@ static void sam_receive(struct sam_emac_s *priv) /* Handle ARP on input then give the IP packet to uIP */ - uip_arp_ipin(&priv->dev); + arp_ipin(&priv->dev); uip_input(&priv->dev); /* If the above function invocation resulted in data that should be @@ -1180,7 +1180,7 @@ static void sam_receive(struct sam_emac_s *priv) if (priv->dev.d_len > 0) { - uip_arp_out(&priv->dev); + arp_out(&priv->dev); sam_transmit(priv); } } @@ -1190,7 +1190,7 @@ static void sam_receive(struct sam_emac_s *priv) /* Handle ARP packet */ - uip_arp_arpin(&priv->dev); + arp_arpin(&priv->dev); /* If the above function invocation resulted in data that should be * sent out on the network, the field d_len will set to a value > 0. |