lwIP: integrate lwIP with the BeRTOS wizard
[bertos.git] / bertos / net / lwip.c
1 /**
2  * \file
3  * <!--
4  * This file is part of BeRTOS.
5  *
6  * Bertos is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19  *
20  * As a special exception, you may use this file as part of a free software
21  * library without restriction.  Specifically, if other files instantiate
22  * templates or use macros or inline functions from this file, or you compile
23  * this file and link it with other files to produce an executable, this
24  * file does not by itself cause the resulting executable to be covered by
25  * the GNU General Public License.  This exception does not however
26  * invalidate any other reasons why the executable file might be covered by
27  * the GNU General Public License.
28  *
29  * Copyright 2010 Develer S.r.l. (http://www.develer.com/)
30  *
31  * -->
32  * \brief lwIP TCP/IP stack module
33  *
34  * \author Andrea Righi <arighi@develer.com>
35  */
36
37 /* XXX: exclude all the lwIP stuff from the BeRTOS documentation for now  */
38 #ifndef __doxygen__
39 /* Ensure that the lwIP compile-time options are included first. */
40 #include "cfg/cfg_lwip.h"
41
42 /* lwIP high-level API code */
43 #include "lwip/src/api/api_lib.c"
44 #include "lwip/src/api/api_msg.c"
45 #include "lwip/src/api/err.c"
46 #include "lwip/src/api/netbuf.c"
47 #include "lwip/src/api/netdb.c"
48 #include "lwip/src/api/netifapi.c"
49 #include "lwip/src/api/sockets.c"
50 #include "lwip/src/api/tcpip.c"
51
52 /* Core lwIP TCP/IP stack */
53 #include "lwip/src/core/dhcp.c"
54 #include "lwip/src/core/dns.c"
55 #include "lwip/src/core/init.c"
56 #include "lwip/src/core/mem.c"
57 #include "lwip/src/core/memp.c"
58 #include "lwip/src/core/netif.c"
59 #include "lwip/src/core/pbuf.c"
60 #include "lwip/src/core/raw.c"
61 #include "lwip/src/core/stats.c"
62 #include "lwip/src/core/sys.c"
63 #include "lwip/src/core/tcp.c"
64 #include "lwip/src/core/tcp_in.c"
65 #include "lwip/src/core/tcp_out.c"
66 #include "lwip/src/core/udp.c"
67
68 /* lwIP IPV4 implementation */
69 #include "lwip/src/core/ipv4/autoip.c"
70 #include "lwip/src/core/ipv4/icmp.c"
71 #include "lwip/src/core/ipv4/igmp.c"
72 #include "lwip/src/core/ipv4/inet.c"
73 #include "lwip/src/core/ipv4/inet_chksum.c"
74 #include "lwip/src/core/ipv4/ip.c"
75 #include "lwip/src/core/ipv4/ip_addr.c"
76 #include "lwip/src/core/ipv4/ip_frag.c"
77
78 /* lwIP SNMP implementation */
79 #include "lwip/src/core/snmp/asn1_dec.c"
80 #include "lwip/src/core/snmp/asn1_enc.c"
81 #include "lwip/src/core/snmp/mib2.c"
82 #include "lwip/src/core/snmp/mib_structs.c"
83 #include "lwip/src/core/snmp/msg_in.c"
84 #include "lwip/src/core/snmp/msg_out.c"
85
86 /* lwIP network interface */
87 #include "lwip/src/netif/etharp.c"
88 #include "lwip/src/netif/loopif.c"
89
90 /* lwIP PPP implementation */
91 #include "lwip/src/netif/ppp/auth.c"
92 #include "lwip/src/netif/ppp/chap.c"
93 #include "lwip/src/netif/ppp/chpms.c"
94 #include "lwip/src/netif/ppp/fsm.c"
95 #include "lwip/src/netif/ppp/ipcp.c"
96 #include "lwip/src/netif/ppp/lcp.c"
97 #include "lwip/src/netif/ppp/magic.c"
98 #include "lwip/src/netif/ppp/md5.c"
99 #include "lwip/src/netif/ppp/pap.c"
100 #include "lwip/src/netif/ppp/ppp.c"
101 #include "lwip/src/netif/ppp/ppp_oe.c"
102 #include "lwip/src/netif/ppp/randm.c"
103 #include "lwip/src/netif/ppp/vj.c"
104
105 /* BeRTOS-specific lwIP interface/porting layer */
106 #include "lwip/src/netif/ethernetif.c"
107 #include "lwip/src/arch/sys_arch.c"
108 #endif /* __doxygen__ */