summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-11-28 18:17:04 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-11-28 18:17:04 +0000
commit7a0b7f65aeb4a5c7d999473ac4a12e2dcd8838d4 (patch)
tree2a1a30d52ecca44eff78475a9076a25e3cdad1ec
parent95688470d731dffa2a52b2781a8cbd038575a9a0 (diff)
downloadnuttx-7a0b7f65aeb4a5c7d999473ac4a12e2dcd8838d4.tar.gz
nuttx-7a0b7f65aeb4a5c7d999473ac4a12e2dcd8838d4.tar.bz2
nuttx-7a0b7f65aeb4a5c7d999473ac4a12e2dcd8838d4.zip
Remove commented out logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@411 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r--nuttx/net/uip/uip-arp.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/nuttx/net/uip/uip-arp.c b/nuttx/net/uip/uip-arp.c
index 2cc80c40a..59558072b 100644
--- a/nuttx/net/uip/uip-arp.c
+++ b/nuttx/net/uip/uip-arp.c
@@ -275,34 +275,6 @@ void uip_arp_timer(void)
}
}
-/* ARP processing for incoming IP packets
- *
- * This function should be called by the device driver when an IP
- * packet has been received. The function will check if the address is
- * in the ARP cache, and if so the ARP cache entry will be
- * refreshed. If no ARP cache entry was found, a new one is created.
- *
- * This function expects an IP packet with a prepended Ethernet header
- * in the d_buf[] buffer, and the length of the packet in the field
- * d_len.
- */
-
-#if 0
-void uip_arp_ipin(void)
-{
- /* Only insert/update an entry if the source IP address of the
- * incoming IP packet comes from a host on the local network.
- */
-
- if ((IPBUF->eh_srcipaddr & dev->d_netmask) != (dev->d_ipaddr & dev->d_netmask))
- {
- return;
- }
-
- uip_arp_update(IPBUF->eh_srcipaddr, ETHBUF->eh_ethhdr.src);
-}
-#endif /* 0 */
-
/* ARP processing for incoming ARP packets.
*
* This function should be called by the device driver when an ARP