diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-11-25 20:32:51 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-11-25 20:32:51 +0000 |
commit | bc2bd8db0a30ec061da8bbe6f2cb66ba1f18823a (patch) | |
tree | 9e87c53b7243b0242a04eccdae348d119e0032dd /nuttx/include | |
parent | 4868b089980d89f0704b230a11508ae74b0e2601 (diff) | |
download | px4-nuttx-bc2bd8db0a30ec061da8bbe6f2cb66ba1f18823a.tar.gz px4-nuttx-bc2bd8db0a30ec061da8bbe6f2cb66ba1f18823a.tar.bz2 px4-nuttx-bc2bd8db0a30ec061da8bbe6f2cb66ba1f18823a.zip |
Restore uip_arp_ipin()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3131 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r-- | nuttx/include/net/uip/uip-arp.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/nuttx/include/net/uip/uip-arp.h b/nuttx/include/net/uip/uip-arp.h index 47b5b9992..b77addde5 100644 --- a/nuttx/include/net/uip/uip-arp.h +++ b/nuttx/include/net/uip/uip-arp.h @@ -2,7 +2,7 @@ * include/net/uip/uip-arch.h * Macros and definitions for the ARP module. * - * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2009-2010 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Derived from uIP with has a similar BSD-styple license: @@ -114,7 +114,7 @@ extern "C" { EXTERN void uip_arp_init(void); /**************************************************************************** - * Name: uip_arp_init + * Name: uip_arp_ipin * * Description: * The uip_arp_ipin() function should be called whenever an IP packet @@ -125,7 +125,11 @@ EXTERN void uip_arp_init(void); * ****************************************************************************/ -#define uip_arp_ipin() +#ifdef CONFIG_NET_ARP_IPIN +EXTERN void uip_arp_ipin(void); +#else +# define uip_arp_ipin() +#endif /**************************************************************************** * Name: uip_arp_arpin |