From 50470d26f72a21786f23219f157a12aab64f2683 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 6 Nov 2007 23:38:14 +0000 Subject: 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 --- nuttx/include/net/uip/uip-arch.h | 3 --- nuttx/include/net/uip/uip.h | 4 ++-- nuttx/include/net/uip/uipopt.h | 11 ----------- 3 files changed, 2 insertions(+), 16 deletions(-) (limited to 'nuttx/include/net') 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 -- cgit v1.2.3