summaryrefslogtreecommitdiff
path: root/nuttx/include/net
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-11-06 23:38:14 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-11-06 23:38:14 +0000
commit50470d26f72a21786f23219f157a12aab64f2683 (patch)
tree8c2a2c8e1ab788b5c81f338e93bc999484134670 /nuttx/include/net
parent7a21220ebd5cef442fb059c90e18ff90232d8dc9 (diff)
downloadpx4-nuttx-50470d26f72a21786f23219f157a12aab64f2683.tar.gz
px4-nuttx-50470d26f72a21786f23219f157a12aab64f2683.tar.bz2
px4-nuttx-50470d26f72a21786f23219f157a12aab64f2683.zip
Breaking uip.c into smaller functions/files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@374 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/net')
-rw-r--r--nuttx/include/net/uip/uip-arch.h3
-rw-r--r--nuttx/include/net/uip/uip.h4
-rw-r--r--nuttx/include/net/uip/uipopt.h11
3 files changed, 2 insertions, 16 deletions
diff --git a/nuttx/include/net/uip/uip-arch.h b/nuttx/include/net/uip/uip-arch.h
index c93cd614c..8f1d6b41f 100644
--- a/nuttx/include/net/uip/uip-arch.h
+++ b/nuttx/include/net/uip/uip-arch.h
@@ -79,9 +79,6 @@
#define UIP_DRV_RECEIVE 1
#define UIP_DRV_TIMER 2
#define UIP_DRV_POLL 3
-#ifdef CONFIG_NET_UDP
-# define UIP_DRV_UDPPOLL 4
-#endif
/****************************************************************************
* Public Types
diff --git a/nuttx/include/net/uip/uip.h b/nuttx/include/net/uip/uip.h
index 0b6465323..283891edb 100644
--- a/nuttx/include/net/uip/uip.h
+++ b/nuttx/include/net/uip/uip.h
@@ -215,7 +215,7 @@ struct uip_udp_conn
#endif /* CONFIG_NET_UDP */
/* The structure holding the TCP/IP statistics that are gathered if
- * UIP_STATISTICS is set to 1.
+ * CONFIG_NET_STATISTICS is defined.
*/
struct uip_stats
@@ -499,7 +499,7 @@ extern uint8 uip_flags;
* TCP/IP stack.
*/
-void uip_init(void);
+void uip_initialize(void);
/* This function may be used at boot time to set the initial ip_id.*/
diff --git a/nuttx/include/net/uip/uipopt.h b/nuttx/include/net/uip/uipopt.h
index 085ce6439..170be621c 100644
--- a/nuttx/include/net/uip/uipopt.h
+++ b/nuttx/include/net/uip/uipopt.h
@@ -260,17 +260,6 @@
# define UIP_BUFSIZE CONFIG_NET_BUFFER_SIZE
#endif /* CONFIG_NET_BUFFER_SIZE */
-/* Determines if statistics support should be compiled in.
- *
- * The statistics is useful for debugging and to show the user.
- */
-
-#ifndef CONFIG_NET_STATISTICS
-# define UIP_STATISTICS 0
-#else /* CONFIG_NET_STATISTICS */
-# define UIP_STATISTICS CONFIG_NET_STATISTICS
-#endif /* CONFIG_NET_STATISTICS */
-
/* Broadcast support.
*
* This flag configures IP broadcast support. This is useful only