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/drivers/net/vnet.c | |
parent | 8e0b8379fe3a21a23a8514787c31a6508d800449 (diff) | |
download | px4-nuttx-3e726f7a99026d8160df5cc8a63547215b3a50b7.tar.gz px4-nuttx-3e726f7a99026d8160df5cc8a63547215b3a50b7.tar.bz2 px4-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/drivers/net/vnet.c')
-rw-r--r-- | nuttx/drivers/net/vnet.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/drivers/net/vnet.c b/nuttx/drivers/net/vnet.c index 5ca63e3c0..671ece432 100644 --- a/nuttx/drivers/net/vnet.c +++ b/nuttx/drivers/net/vnet.c @@ -56,7 +56,7 @@ #include <nuttx/arch.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 <rgmp/vnet.h> @@ -231,7 +231,7 @@ static int vnet_uiptxpoll(struct uip_driver_s *dev) if (vnet->sk_dev.d_len > 0) { - uip_arp_out(&vnet->sk_dev); + arp_out(&vnet->sk_dev); vnet_transmit(vnet); /* Check if there is room in the device to hold another packet. If not, @@ -293,18 +293,18 @@ void rtos_vnet_recv(struct rgmp_vnet *rgmp_vnet, char *data, int len) if (BUF->type == HTONS(UIP_ETHTYPE_IP)) #endif { - uip_arp_ipin(&vnet->sk_dev); + arp_ipin(&vnet->sk_dev); uip_input(&vnet->sk_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. if (vnet->sk_dev.d_len > 0) { - uip_arp_out(&vnet->sk_dev); + arp_out(&vnet->sk_dev); vnet_transmit(vnet); } } else if (BUF->type == htons(UIP_ETHTYPE_ARP)) { - uip_arp_arpin(&vnet->sk_dev); + arp_arpin(&vnet->sk_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. |