Move netutils header files from include/net/uip to include/apps/netutils

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3399 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2011-03-19 16:54:35 +00:00
parent f5b52450bc
commit 32046718f4
50 changed files with 166 additions and 153 deletions

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* examples/dhcpd/target.c * examples/dhcpd/target.c
* *
* Copyright (C) 2009 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -43,8 +43,9 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#include <net/if.h> #include <net/if.h>
#include <net/uip/uip-lib.h>
#include <net/uip/dhcpd.h> #include <apps/netutils/uiplib.h>
#include <apps/netutils/dhcpd.h>
/**************************************************************************** /****************************************************************************
* Preprocessor Definitions * Preprocessor Definitions

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* examples/igmp/igmp.c * examples/igmp/igmp.c
* *
* Copyright (C) 2010 Gregory Nutt. All rights reserved. * Copyright (C) 2010-2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -46,8 +46,8 @@
#include <net/if.h> #include <net/if.h>
#include <net/uip/uip.h> #include <net/uip/uip.h>
#include <net/uip/uip-lib.h> #include <apps/netutils/uiplib.h>
#include <net/uip/ipmsfilter.h> #include <apps/netutils/ipmsfilter.h>
#include "igmp.h" #include "igmp.h"

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* examples/nettest/nettest.c * examples/nettest/nettest.c
* *
* Copyright (C) 2007, 2009-2010 Gregory Nutt. All rights reserved. * Copyright (C) 2007, 2009-2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -45,7 +45,7 @@
#include <net/if.h> #include <net/if.h>
#include <net/uip/uip.h> #include <net/uip/uip.h>
#include <net/uip/uip-lib.h> #include <apps/netutils/uiplib.h>
#include "nettest.h" #include "nettest.h"

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* examples/poll/net_listener.c * examples/poll/net_listener.c
* *
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -54,7 +54,7 @@
#include <debug.h> #include <debug.h>
#include <net/if.h> #include <net/if.h>
#include <net/uip/uip-lib.h> #include <apps/netutils/uiplib.h>
#include "poll_internal.h" #include "poll_internal.h"

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* examples/poll/net_reader.c * examples/poll/net_reader.c
* *
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -54,7 +54,7 @@
#include <debug.h> #include <debug.h>
#include <net/if.h> #include <net/if.h>
#include <net/uip/uip-lib.h> #include <apps/netutils/uiplib.h>
#include "poll_internal.h" #include "poll_internal.h"

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* examples/sendmail/host.c * examples/sendmail/host.c
* *
* Copyright (C) 2009 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -43,7 +43,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <net/uip/smtp.h> #include <apps/netutils/smtp.h>
/**************************************************************************** /****************************************************************************
* Private Data * Private Data

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* examples/sendmail/target.c * examples/sendmail/target.c
* *
* Copyright (C) 2009 Gregory Nutt. All rights reserved. * Copyright (C) 2009. 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -45,8 +45,8 @@
#include <errno.h> #include <errno.h>
#include <net/if.h> #include <net/if.h>
#include <net/uip/uip-lib.h> #include <apps/netutils/uiplib.h>
#include <net/uip/smtp.h> #include <apps/netutils/smtp.h>
/**************************************************************************** /****************************************************************************
* Pre-processor Defintitions * Pre-processor Defintitions

View File

@ -49,11 +49,12 @@
#include <debug.h> #include <debug.h>
#include <net/if.h> #include <net/if.h>
#include <net/uip/thttpd.h>
#include <net/uip/uip-arp.h>
#include <net/uip/uip-lib.h>
#include <netinet/ether.h> #include <netinet/ether.h>
#include <net/uip/uip-arp.h>
#include <apps/netutils/uiplib.h>
#include <apps/netutils/thttpd.h>
#include <nuttx/ramdisk.h> #include <nuttx/ramdisk.h>
#include <nuttx/binfmt.h> #include <nuttx/binfmt.h>
#include <nuttx/nxflat.h> #include <nuttx/nxflat.h>

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* examples/udp/nettest.c * examples/udp/nettest.c
* *
* Copyright (C) 2007 Gregory Nutt. All rights reserved. * Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in * notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the * the documentation and/or other materials provided with the
* distribution. * distribution.
* 3. Neither the name Gregory Nutt nor the names of its contributors may be * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software * used to endorse or promote products derived from this software
* without specific prior written permission. * without specific prior written permission.
* *
@ -42,7 +42,7 @@
#include <debug.h> #include <debug.h>
#include <net/uip/uip.h> #include <net/uip/uip.h>
#include <net/uip/uip-lib.h> #include <apps/netutils/uiplib.h>
#include "udp-internal.h" #include "udp-internal.h"

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* examples/uip/main.c * examples/uip/main.c
* *
* Copyright (C) 2007, 2009-2010 Gregory Nutt. All rights reserved. * Copyright (C) 2007, 2009-2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Based on uIP which also has a BSD style license: * Based on uIP which also has a BSD style license:
@ -56,7 +56,9 @@
#include <net/if.h> #include <net/if.h>
#include <net/uip/uip.h> #include <net/uip/uip.h>
#include <net/uip/uip-arp.h> #include <net/uip/uip-arp.h>
#include <net/uip/uip-lib.h>
#include <apps/netutils/uiplib.h>
#ifdef CONFIG_EXAMPLE_UIP_DHCPC #ifdef CONFIG_EXAMPLE_UIP_DHCPC
#include <arpa/inet.h> #include <arpa/inet.h>
#endif #endif
@ -68,13 +70,13 @@
/* DHCPC may be used in conjunction with any other feature (or not) */ /* DHCPC may be used in conjunction with any other feature (or not) */
#ifdef CONFIG_EXAMPLE_UIP_DHCPC #ifdef CONFIG_EXAMPLE_UIP_DHCPC
# include <net/uip/resolv.h> # include <apps/netutils/resolv.h>
# include <net/uip/dhcpc.h> # include <apps/netutils/dhcpc.h>
#endif #endif
/* Include uIP webserver definitions */ /* Include uIP webserver definitions */
#include <net/uip/httpd.h> #include <apps/netutils/httpd.h>
/**************************************************************************** /****************************************************************************
* Definitions * Definitions

View File

@ -50,14 +50,14 @@ all: $(BIN)
$(OBJS): %.o1: %.c $(OBJS): %.o1: %.c
$(HOSTCC) -c $(HOSTCFLAGS) $< -o $@ $(HOSTCC) -c $(HOSTCFLAGS) $< -o $@
net/uip: apps/netutils:
@mkdir -p net/uip @mkdir -p apps/netutils
net/uip/webclient.h: net/uip $(TOPDIR)/include/net/uip/webclient.h apps/netutils/webclient.h: apps/netutils $(TOPDIR)/include/apps/netutils/webclient.h
@cp -a $(TOPDIR)/include/net/uip/webclient.h net/uip/. @cp -a $(TOPDIR)/include/apps/netutils/webclient.h apps/netutils/.
net/uip/uip-lib.h: net/uip $(TOPDIR)/include/net/uip/uip-lib.h apps/netutils/uiplib.h: apps/netutils $(TOPDIR)/include/apps/netutils/uiplib.h
@cp -a $(TOPDIR)/include/net/uip/uip-lib.h net/uip/. @cp -a $(TOPDIR)/include/apps/netutils/uiplib.h apps/netutils/.
nuttx: nuttx:
@mkdir nuttx @mkdir nuttx
@ -65,7 +65,7 @@ nuttx:
nuttx/config.h: nuttx nuttx/config.h: nuttx
@touch nuttx/config.h @touch nuttx/config.h
headers: net/uip/webclient.h net/uip/uip-lib.h nuttx/config.h headers: apps/netutils/webclient.h apps/netutils/uiplib.h nuttx/config.h
$(BIN): headers $(OBJS) $(BIN): headers $(OBJS)
$(HOSTCC) $(HOSTLDFLAGS) $(OBJS) -o $@ $(HOSTCC) $(HOSTLDFLAGS) $(OBJS) -o $@

View File

@ -37,13 +37,14 @@
* Included Files * Included Files
****************************************************************************/ ****************************************************************************/
#include <net/uip/webclient.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <apps/netutils/webclient.h>
/**************************************************************************** /****************************************************************************
* Private Data * Private Data
****************************************************************************/ ****************************************************************************/

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* examples/wget/target.c * examples/wget/target.c
* *
* Copyright (C) 2009 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -47,9 +47,10 @@
#include <net/if.h> #include <net/if.h>
#include <net/uip/uip.h> #include <net/uip/uip.h>
#include <net/uip/uip-lib.h>
#include <net/uip/resolv.h> #include <apps/netutils/uiplib.h>
#include <net/uip/webclient.h> #include <apps/netutils/resolv.h>
#include <apps/netutils/webclient.h>
/**************************************************************************** /****************************************************************************
* Preprocessor Definitions * Preprocessor Definitions

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* net/uip/dhcpc.n * apps/netutils/dhcpc.n
* *
* Copyright (C) 2007, 2009-2010 Gregory Nutt. All rights reserved. * Copyright (C) 2007, 2009-2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* This logic was leveraged from uIP which also has a BSD-style license: * This logic was leveraged from uIP which also has a BSD-style license:
@ -35,8 +35,8 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#ifndef __NET_UIP_DHCPC_H #ifndef __APPS_NETUTILS_DHCPC_H
#define __NET_UIP_DHCPC_H #define __APPS_NETUTILS_DHCPC_H
/**************************************************************************** /****************************************************************************
* Included Files * Included Files
@ -82,4 +82,4 @@ EXTERN void dhcpc_close(void *handle);
} }
#endif #endif
#endif /* __NET_UIP_DHCPC_H */ #endif /* __APPS_NETUTILS_DHCPC_H */

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* net/uipt/dhcpd.h * apps/netutils/dhcpd.h
* *
* Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* This logic was leveraged from uIP which also has a BSD-style license: * This logic was leveraged from uIP which also has a BSD-style license:
@ -35,8 +35,8 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#ifndef __NET_UIP_DHCPD_H #ifndef __APPS_NETUTILS_DHCPD_H
#define __NET_UIP_DHCPD_H #define __APPS_NETUTILS_DHCPD_H
/**************************************************************************** /****************************************************************************
* Included Files * Included Files
@ -68,4 +68,4 @@ EXTERN int dhcpd_run(void);
} }
#endif #endif
#endif /* __NET_UIP_DHCPD_H */ #endif /* __APPS_NETUTILS_DHCPD_H */

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* net/uip/httpd.h * apps/netutils/httpd.h
* *
* Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Based on uIP which also has a BSD style license: * Based on uIP which also has a BSD style license:
@ -37,8 +37,8 @@
* *
****************************************************************************/ ****************************************************************************/
#ifndef _NET_UIP_HTTPD_H #ifndef __APPS_NETUTILS_HTTPD_H
#define _NET_UIP_HTTPD_H #define __APPS_NETUTILS_HTTPD_H
/**************************************************************************** /****************************************************************************
* Included Files * Included Files
@ -51,4 +51,4 @@
extern void httpd_init(void); extern void httpd_init(void);
extern int httpd_listen(void); extern int httpd_listen(void);
#endif /* _NET_UIP_HTTPD_H */ #endif /* __APPS_NETUTILS_HTTPD_H */

View File

@ -1,8 +1,8 @@
/**************************************************************************** /****************************************************************************
* net/uip/ipmsfilter.h * apps/netutils/ipmsfilter.h
* User interface to add/remove IP multicast address * User interface to add/remove IP multicast address
* *
* Copyright (C) 2009 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -34,8 +34,8 @@
* *
****************************************************************************/ ****************************************************************************/
#ifndef __NET_UIP_IPMSFILTER_H #ifndef __APPS_NETUTILS_IPMSFILTER_H
#define __NET_UIP_IPMSFILTER_H #define __APPS_NETUTILS_IPMSFILTER_H
/**************************************************************************** /****************************************************************************
* Included Files * Included Files
@ -98,4 +98,4 @@ EXTERN int ipmsfilter(FAR const char *ifname,
#endif #endif
#endif /* CONFIG_NET_IGMP */ #endif /* CONFIG_NET_IGMP */
#endif /* __NET_UIP_IPMSFILTER_H */ #endif /* __APPS_NETUTILS_IPMSFILTER_H */

View File

@ -1,4 +1,4 @@
/* resolv.h /* includes/apps/netutils/resolv.h
* DNS resolver code header file. * DNS resolver code header file.
* Authtor Adam Dunkels <adam@dunkels.com> * Authtor Adam Dunkels <adam@dunkels.com>
* *
@ -30,8 +30,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef __UIP_RESOLV_H__ #ifndef __APPS_NETUTILS_RESOLVE_H
#define __UIP_RESOLV_H__ #define __APPS_NETUTILS_RESOLVE_H
#include <net/uip/uipopt.h> #include <net/uip/uipopt.h>
@ -62,4 +62,4 @@ EXTERN int resolv_query(const char *name, struct sockaddr_in *addr);
} }
#endif #endif
#endif /* __UIP_RESOLV_H__ */ #endif /* __APPS_NETUTILS_RESOLVE_H */

View File

@ -1,8 +1,8 @@
/**************************************************************************** /****************************************************************************
* smtp.h * include/apps/netutils/smtp.h
* SMTP header file * SMTP header file
* *
* Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Heavily leveraged from uIP 1.0 which also has a BSD-like license: * Heavily leveraged from uIP 1.0 which also has a BSD-like license:
@ -37,8 +37,8 @@
* *
****************************************************************************/ ****************************************************************************/
#ifndef __SMTP_H__ #ifndef __APPS_NETUTILS_SMTP_H
#define __SMTP_H__ #define __APPS_NETUTILS_SMTP_H
/**************************************************************************** /****************************************************************************
* Included Files * Included Files
@ -63,4 +63,4 @@ extern int smtp_send(void *handle, const char *to, const char *cc,
const char *msg, int msglen); const char *msg, int msglen);
extern void smtp_close(void *handle); extern void smtp_close(void *handle);
#endif /* __SMTP_H__ */ #endif /* __APPS_NETUTILS_SMTP_H */

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* include/net/uip/telnetd.h * include/apps/netutils/telnetd.h
* *
* Copyright (C) 2007 Gregory Nutt. All rights reserved. * Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* This is a leverage of similar logic from uIP: * This is a leverage of similar logic from uIP:
@ -36,8 +36,8 @@
* SUCH DAMAGE. * SUCH DAMAGE.
****************************************************************************/ ****************************************************************************/
#ifndef __NET_UIP_TELNETD_H #ifndef __APPS_NETUTILS_TELNETD_H
#define __NET_UIP_TELNETD_H #define __APPS_NETUTILS_TELNETD_H
/**************************************************************************** /****************************************************************************
* Included Files * Included Files
@ -67,4 +67,4 @@ EXTERN void telnetd_init(void);
} }
#endif #endif
#endif /* __NET_UIP_TELNETD_H */ #endif /* __APPS_NETUTILS_TELNETD_H */

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* include/net/uip/tftp.h * include/apps/netutils/tftp.h
* *
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -33,8 +33,8 @@
* *
****************************************************************************/ ****************************************************************************/
#ifndef __NET_UIP_TFTP_H #ifndef __APPS_NETUTILS_TFTP_H
#define __NET_UIP_TFTP_H #define __APPS_NETUTILS_TFTP_H
/**************************************************************************** /****************************************************************************
* Included Files * Included Files
@ -70,4 +70,4 @@ EXTERN int tftpput(const char *local, const char *remote, in_addr_t addr, bool b
} }
#endif #endif
#endif /* __NET_UIP_TFTP_H */ #endif /* __APPS_NETUTILS_TFTP_H */

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* net/uip/thttpd.h * apps/netutils/thttpd.h
* *
* Copyright (C) 2009 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -33,8 +33,8 @@
* *
****************************************************************************/ ****************************************************************************/
#ifndef __NET_UIP_THTTPD_H #ifndef __APPS_NETUTILS_THTTPD_H
#define __NET_UIP_THTTPD_H #define __APPS_NETUTILS_THTTPD_H
/**************************************************************************** /****************************************************************************
* Included Files * Included Files
@ -98,4 +98,4 @@ EXTERN int thttpd_main(int argc, char **argv);
} }
#endif #endif
#endif /* __NET_UIP_THTTPD_H */ #endif /* __APPS_NETUTILS_THTTPD_H */

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* net/uip/uiplib.h * apps/netutils/uiplib.h
* Various non-standard APIs to support netutils. All non-standard and * Various non-standard APIs to support netutils. All non-standard and
* intended only for internal use. * intended only for internal use.
* *
@ -42,8 +42,8 @@
* *
****************************************************************************/ ****************************************************************************/
#ifndef __NET_UIP_UIP_LIB_H #ifndef __APPS_NETUTILS_UIPLIB_H
#define __NET_UIP_UIP_LIB_H #define __APPS_NETUTILS_UIPLIB_H
/**************************************************************************** /****************************************************************************
* Included Files * Included Files
@ -126,4 +126,4 @@ extern int uip_parsehttpurl(const char *url, uint16_t *port,
extern void uip_server(uint16_t portno, pthread_startroutine_t handler, int stacksize); extern void uip_server(uint16_t portno, pthread_startroutine_t handler, int stacksize);
#endif /* __NET_UIP_UIP_LIB_H */ #endif /* __APPS_NETUTILS_UIPLIB_H */

View File

@ -1,8 +1,8 @@
/**************************************************************************** /****************************************************************************
* include/net/uip/webclient.h * include/apps/netutils/webclient.h
* Header file for the HTTP client * Header file for the HTTP client
* *
* Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Based remotely on the uIP webclient which also has a BSD style license: * Based remotely on the uIP webclient which also has a BSD style license:
@ -39,8 +39,8 @@
* *
****************************************************************************/ ****************************************************************************/
#ifndef __NET_UIP_WEBCLIENT_H #ifndef __APPS_NETUTILS_WEBCLIENT_H
#define __NET_UIP_WEBCLIENT_H #define __APPS_NETUTILS_WEBCLIENT_H
/**************************************************************************** /****************************************************************************
* Included Files * Included Files
@ -146,4 +146,4 @@ EXTERN int wget(FAR const char *url, FAR char *buffer, int buflen,
} }
#endif #endif
#endif /* __NET_UIP_WEBCLIENT_H */ #endif /* __APPS_NETUTILS_WEBCLIENT_H */

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* netutils/dhcpc/dhcpc.c * netutils/dhcpc/dhcpc.c
* *
* Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Based heavily on portions of uIP: * Based heavily on portions of uIP:
@ -53,8 +53,8 @@
#include <debug.h> #include <debug.h>
#include <net/uip/uip.h> #include <net/uip/uip.h>
#include <net/uip/dhcpc.h> #include <apps/netutils/dhcpc.h>
#include <net/uip/uip-lib.h> #include <apps/netutils/uiplib.h>
/**************************************************************************** /****************************************************************************
* Definitions * Definitions

View File

@ -52,12 +52,12 @@
# define ERROR (-1) # define ERROR (-1)
# define OK (0) # define OK (0)
#else #else
# include <nuttx/config.h> /* NuttX configuration */ # include <nuttx/config.h> /* NuttX configuration */
# include <debug.h> /* For ndbg, vdbg */ # include <debug.h> /* For ndbg, vdbg */
# include <nuttx/compiler.h> /* For CONFIG_CPP_HAVE_WARNING */ # include <nuttx/compiler.h> /* For CONFIG_CPP_HAVE_WARNING */
# include <arch/irq.h> /* For irqstore() and friends -- REVISIT */ # include <arch/irq.h> /* For irqstore() and friends -- REVISIT */
# include <net/uip/uip-arp.h> /* For low-level ARP interfaces -- REVISIT */ # include <net/uip/uip-arp.h> /* For low-level ARP interfaces -- REVISIT */
# include <net/uip/dhcpd.h> /* Advertised DHCPD APIs */ # include <apps/netutils/dhcpd.h> /* Advertised DHCPD APIs */
#endif #endif
#include <sys/socket.h> #include <sys/socket.h>

View File

@ -63,7 +63,7 @@
#include <sys/socket.h> #include <sys/socket.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#include <net/uip/resolv.h> #include <apps/netutils/resolv.h>
/**************************************************************************** /****************************************************************************
* Definitions * Definitions

View File

@ -1,8 +1,8 @@
/**************************************************************************** /****************************************************************************
* smtp.c * apps/netutitls/smtp/smtp.c
* smtp SMTP E-mail sender * smtp SMTP E-mail sender
* *
* Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Heavily leveraged from uIP 1.0 which also has a BSD-like license: * Heavily leveraged from uIP 1.0 which also has a BSD-like license:
@ -58,7 +58,7 @@
#include <sys/socket.h> #include <sys/socket.h>
#include <net/uip/uip.h> #include <net/uip/uip.h>
#include <net/uip/smtp.h> #include <apps/netutils/smtp.h>
/**************************************************************************** /****************************************************************************
* Definitions * Definitions

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* netutils/telnetd/telnetd.c * netutils/telnetd/telnetd.c
* *
* Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* This is a leverage of similar logic from uIP: * This is a leverage of similar logic from uIP:
@ -53,8 +53,8 @@
#include <pthread.h> #include <pthread.h>
#include <debug.h> #include <debug.h>
#include <net/uip/telnetd.h> #include <apps/netutils/telnetd.h>
#include <net/uip/uip-lib.h> #include <apps/netutils/uiplib.h>
#include "shell.h" #include "shell.h"

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* netuils/tftp/tftpc_get.c * netuils/tftp/tftpc_get.c
* *
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -51,7 +51,7 @@
#include <net/uip/uipopt.h> #include <net/uip/uipopt.h>
#include <net/uip/uip.h> #include <net/uip/uip.h>
#include <net/uip/tftp.h> #include <apps/netutils/tftp.h>
#include "tftpc_internal.h" #include "tftpc_internal.h"

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* netuils/tftp/tftpc_packets.c * netuils/tftp/tftpc_packets.c
* *
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -53,7 +53,7 @@
#include <net/uip/uipopt.h> #include <net/uip/uipopt.h>
#include <net/uip/uip.h> #include <net/uip/uip.h>
#include <net/uip/tftp.h> #include <apps/netutils/tftp.h>
#include "tftpc_internal.h" #include "tftpc_internal.h"

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* netuils/tftp/tftpc_put.c * netuils/tftp/tftpc_put.c
* *
* Copyright (C) 2008-2009Gregory Nutt. All rights reserved. * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -51,7 +51,7 @@
#include <net/uip/uipopt.h> #include <net/uip/uipopt.h>
#include <net/uip/uip.h> #include <net/uip/uip.h>
#include <net/uip/tftp.h> #include <apps/netutils/tftp.h>
#include "tftpc_internal.h" #include "tftpc_internal.h"

View File

@ -2,7 +2,7 @@
* netutils/thttpd/libhttpd.c * netutils/thttpd/libhttpd.c
* HTTP Protocol Library * HTTP Protocol Library
* *
* Copyright (C) 2009 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Derived from the file of the same name in the original THTTPD package: * Derived from the file of the same name in the original THTTPD package:
@ -59,7 +59,7 @@
#include <debug.h> #include <debug.h>
#include <nuttx/regex.h> #include <nuttx/regex.h>
#include <net/uip/thttpd.h> #include <apps/netutils/thttpd.h>
#include "config.h" #include "config.h"
#include "libhttpd.h" #include "libhttpd.h"

View File

@ -2,7 +2,7 @@
* netutils/thttpd/thttpd.c * netutils/thttpd/thttpd.c
* Tiny HTTP Server * Tiny HTTP Server
* *
* Copyright (C) 2009 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Derived from the file of the same name in the original THTTPD package: * Derived from the file of the same name in the original THTTPD package:
@ -55,7 +55,7 @@
#include <nuttx/compiler.h> #include <nuttx/compiler.h>
#include <nuttx/symtab.h> #include <nuttx/symtab.h>
#include <net/uip/thttpd.h> #include <apps/netutils/thttpd.h>
#include "config.h" #include "config.h"
#include "fdwatch.h" #include "fdwatch.h"

View File

@ -2,7 +2,7 @@
* netutils/thttpd/thttpd_cgi.c * netutils/thttpd/thttpd_cgi.c
* CGI support * CGI support
* *
* Copyright (C) 2009 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Derived from the file libhttpd.c in the original THTTPD package: * Derived from the file libhttpd.c in the original THTTPD package:
@ -55,7 +55,7 @@
#include <nuttx/symtab.h> #include <nuttx/symtab.h>
#include <nuttx/binfmt.h> #include <nuttx/binfmt.h>
#include <net/uip/thttpd.h> #include <apps/netutils/thttpd.h>
#include "config.h" #include "config.h"
#include "libhttpd.h" #include "libhttpd.h"

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* netutils/uiplib/uip_gethostaddr.c * netutils/uiplib/uip_gethostaddr.c
* *
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -49,7 +49,7 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <net/if.h> #include <net/if.h>
#include <net/uip/uip-lib.h> #include <apps/netutils/uiplib.h>
/**************************************************************************** /****************************************************************************
* Pre-processor Definitions * Pre-processor Definitions

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* netutils/uiplib/uip_getmacaddr.c * netutils/uiplib/uip_getmacaddr.c
* *
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -49,7 +49,7 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <net/if.h> #include <net/if.h>
#include <net/uip/uip-lib.h> #include <apps/netutils/uiplib.h>
/**************************************************************************** /****************************************************************************
* Global Functions * Global Functions

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* netutils/uiplib/uip_setmultiaddr.c * netutils/uiplib/uip_setmultiaddr.c
* *
* Copyright (C) 2010 Gregory Nutt. All rights reserved. * Copyright (C) 2010-2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -50,8 +50,8 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <sys/sockio.h> #include <sys/sockio.h>
#include <net/uip/uip-lib.h> #include <apps/netutils/uiplib.h>
#include <net/uip/ipmsfilter.h> #include <apps/netutils/ipmsfilter.h>
#ifdef CONFIG_NET_IGMP #ifdef CONFIG_NET_IGMP

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* netutils/uiplib/uip_parsehttpurl.c * netutils/uiplib/uip_parsehttpurl.c
* *
* Copyright (C) 2009 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -38,10 +38,12 @@
*****************************************************************************/ *****************************************************************************/
#include <nuttx/config.h> #include <nuttx/config.h>
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <net/uip/uip-lib.h>
#include <apps/netutils/uiplib.h>
/**************************************************************************** /****************************************************************************
* Private Data * Private Data

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* netutils/uiplib/uip_server.c * netutils/uiplib/uip_server.c
* *
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -49,7 +49,7 @@
#include <debug.h> #include <debug.h>
#include <netinet/in.h> #include <netinet/in.h>
#include <net/uip/uip-lib.h> #include <apps/netutils/uiplib.h>
/**************************************************************************** /****************************************************************************
* Public Functions * Public Functions

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* netutils/uiplib/uip_setdraddr.c * netutils/uiplib/uip_setdraddr.c
* *
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -50,7 +50,7 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <net/if.h> #include <net/if.h>
#include <net/uip/uip-lib.h> #include <apps/netutils/uiplib.h>
/**************************************************************************** /****************************************************************************
* Global Functions * Global Functions

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* netutils/uiplib/uip_sethostaddr.c * netutils/uiplib/uip_sethostaddr.c
* *
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -50,7 +50,7 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <net/if.h> #include <net/if.h>
#include <net/uip/uip-lib.h> #include <apps/netutils/uiplib.h>
/**************************************************************************** /****************************************************************************
* Global Functions * Global Functions

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* netutils/uiplib/uip_setmacaddr.c * netutils/uiplib/uip_setmacaddr.c
* *
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -50,7 +50,7 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <net/if.h> #include <net/if.h>
#include <net/uip/uip-lib.h> #include <apps/netutils/uiplib.h>
/**************************************************************************** /****************************************************************************
* Pre-processor Definitions * Pre-processor Definitions

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* netutils/uiplib/uip_setnetmask.c * netutils/uiplib/uip_setnetmask.c
* *
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -49,7 +49,7 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <net/if.h> #include <net/if.h>
#include <net/uip/uip-lib.h> #include <apps/netutils/uiplib.h>
/**************************************************************************** /****************************************************************************
* Global Functions * Global Functions

View File

@ -2,7 +2,7 @@
* netutils/uiplib/uiplib.c * netutils/uiplib/uiplib.c
* Various uIP library functions. * Various uIP library functions.
* *
* Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Based on uIP which also has a BSD style license: * Based on uIP which also has a BSD style license:
@ -45,8 +45,13 @@
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
#include <net/uip/uip.h> #include <net/uip/uip.h>
#include <net/uip/uip-lib.h> #include <apps/netutils/uiplib.h>
/****************************************************************************
* Public Functions
****************************************************************************/
bool uiplib_ipaddrconv(const char *addrstr, uint8_t *ipaddr) bool uiplib_ipaddrconv(const char *addrstr, uint8_t *ipaddr)
{ {

View File

@ -2,7 +2,7 @@
* netutils/webclient/webclient.c * netutils/webclient/webclient.c
* Implementation of the HTTP client. * Implementation of the HTTP client.
* *
* Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Based on uIP which also has a BSD style license: * Based on uIP which also has a BSD style license:
@ -64,13 +64,13 @@
#ifdef CONFIG_HAVE_GETHOSTBYNAME #ifdef CONFIG_HAVE_GETHOSTBYNAME
# include <netdb.h> # include <netdb.h>
#else #else
# include <net/uip/resolv.h> # include <apps/netutils/resolv.h>
#endif #endif
#include <arpa/inet.h> #include <arpa/inet.h>
#include <netinet/in.h> #include <netinet/in.h>
#include <net/uip/uip-lib.h> #include <apps/netutils/uiplib.h>
#include <net/uip/webclient.h> #include <apps/netutils/webclient.h>
/**************************************************************************** /****************************************************************************
* Definitions * Definitions

View File

@ -2,7 +2,7 @@
* netutils/webserver/httpd.c * netutils/webserver/httpd.c
* httpd Web server * httpd Web server
* *
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* This is a leverage of similar logic from uIP: * This is a leverage of similar logic from uIP:
@ -59,8 +59,8 @@
#include <debug.h> #include <debug.h>
#include <net/uip/uip.h> #include <net/uip/uip.h>
#include <net/uip/uip-lib.h> #include <apps/netutils/uiplib.h>
#include <net/uip/httpd.h> #include <apps/netutils/httpd.h>
#include "httpd.h" #include "httpd.h"
#include "httpd_cgi.h" #include "httpd_cgi.h"

View File

@ -43,7 +43,7 @@
#include <nuttx/compiler.h> #include <nuttx/compiler.h>
#include <net/uip/uip.h> #include <net/uip/uip.h>
#include <net/uip/httpd.h> #include <apps/netutils/httpd.h>
#include "httpd_cgi.h" #include "httpd_cgi.h"

View File

@ -33,7 +33,7 @@
#ifndef __HTTPD_CGI_H__ #ifndef __HTTPD_CGI_H__
#define __HTTPD_CGI_H__ #define __HTTPD_CGI_H__
#include <net/uip/httpd.h> #include <apps/netutils/httpd.h>
#include "httpd.h" #include "httpd.h"

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* netutils/webserver/httpd_fs.c * netutils/webserver/httpd_fs.c
* *
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Based on uIP which also has a BSD style license: * Based on uIP which also has a BSD style license:
@ -43,7 +43,7 @@
#include <stdint.h> #include <stdint.h>
#include <net/uip/httpd.h> #include <apps/netutils/httpd.h>
#include "httpd.h" #include "httpd.h"
#include "httpd_fsdata.h" #include "httpd_fsdata.h"