Restore uip_arp_ipin()

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3131 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2010-11-25 20:32:51 +00:00
parent b0adf7c71b
commit e2449e9858
5 changed files with 44 additions and 9 deletions
+7 -3
View File
@@ -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