mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 21:36:28 +08:00
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:
@@ -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
|
||||
|
||||
@@ -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.*/
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user