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
This commit is contained in:
patacongo
2007-11-06 23:38:14 +00:00
parent db8aff6778
commit 81d093e29e
19 changed files with 972 additions and 386 deletions
-3
View File
@@ -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
+2 -2
View File
@@ -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.*/
-11
View File
@@ -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