diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-05-30 12:13:06 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-05-30 12:13:06 -0600 |
commit | 3e726f7a99026d8160df5cc8a63547215b3a50b7 (patch) | |
tree | c7017e7424ac3a30331e9410bc08045c1ee70afc /nuttx/arch/arm/src/c5471 | |
parent | 8e0b8379fe3a21a23a8514787c31a6508d800449 (diff) | |
download | nuttx-3e726f7a99026d8160df5cc8a63547215b3a50b7.tar.gz nuttx-3e726f7a99026d8160df5cc8a63547215b3a50b7.tar.bz2 nuttx-3e726f7a99026d8160df5cc8a63547215b3a50b7.zip |
Move include/nuttx/net/uip/uip-arch.h to include/nuttx/net/arp.h; rename all uip_arp_ functions to arp_
Diffstat (limited to 'nuttx/arch/arm/src/c5471')
-rw-r--r-- | nuttx/arch/arm/src/c5471/c5471_ethernet.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/arch/arm/src/c5471/c5471_ethernet.c b/nuttx/arch/arm/src/c5471/c5471_ethernet.c index 94b392153..4a6ff9bde 100644 --- a/nuttx/arch/arm/src/c5471/c5471_ethernet.c +++ b/nuttx/arch/arm/src/c5471/c5471_ethernet.c @@ -59,7 +59,7 @@ #include <net/ethernet.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 "chip.h" @@ -984,7 +984,7 @@ static int c5471_uiptxpoll(struct uip_driver_s *dev) if (c5471->c_dev.d_len > 0) { - uip_arp_out(&c5471->c_dev); + arp_out(&c5471->c_dev); c5471_transmit(c5471); /* Check if the ESM has let go of the RX descriptor giving us access @@ -1238,7 +1238,7 @@ static void c5471_receive(struct c5471_driver_s *c5471) if (BUF->type == HTONS(UIP_ETHTYPE_IP)) #endif { - uip_arp_ipin(dev); + arp_ipin(dev); uip_input(dev); /* If the above function invocation resulted in data that should be @@ -1250,13 +1250,13 @@ static void c5471_receive(struct c5471_driver_s *c5471) if (dev->d_len > 0 && (EIM_TXDESC_OWN_HOST & getreg32(c5471->c_rxcpudesc)) == 0) { - uip_arp_out(dev); + arp_out(dev); c5471_transmit(c5471); } } else if (BUF->type == HTONS(UIP_ETHTYPE_ARP)) { - uip_arp_arpin(dev); + arp_arpin(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. |