Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
lwipopts.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2015 Martine Lenders <mlenders@inf.fu-berlin.de>
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
20
#ifndef LWIPOPTS_H
21
#define LWIPOPTS_H
22
23
#include "thread.h"
24
#include "
net/gnrc/netif/hdr.h
"
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
35
#ifdef MODULE_LWIP_ARP
36
#define LWIP_ARP 1
37
#else
/* MODULE_LWIP_ARP */
38
#define LWIP_ARP 0
39
#endif
/* MODULE_LWIP_ARP */
40
41
#ifdef MODULE_LWIP_AUTOIP
42
#define LWIP_AUTOIP 1
43
#else
/* MODULE_LWIP_AUTOIP */
44
#define LWIP_AUTOIP 0
45
#endif
/* MODULE_LWIP_AUTOIP */
46
47
#ifdef MODULE_LWIP_DHCP
48
#define LWIP_DHCP 1
49
#else
/* MODULE_LWIP_DHCP */
50
#define LWIP_DHCP 0
51
#endif
/* MODULE_LWIP_DHCP */
52
53
#ifdef MODULE_LWIP_ETHERNET
54
#define LWIP_ETHERNET 1
55
#else
/* MODULE_LWIP_ETHERNET */
56
#define LWIP_ETHERNET 0
57
#endif
/* MODULE_LWIP_ETHERNET */
58
59
#ifdef MODULE_LWIP_IGMP
60
#define LWIP_IGMP 1
61
#else
/* MODULE_LWIP_IGMP */
62
#define LWIP_IGMP 0
63
#endif
/* MODULE_LWIP_IGMP */
64
65
#ifdef MODULE_LWIP_IPV4
66
#define LWIP_IPV4 1
67
#else
/* MODULE_LWIP_IPV4 */
68
#define LWIP_IPV4 0
69
#endif
/* MODULE_LWIP_IPV4 */
70
71
#ifdef MODULE_LWIP_IPV6_AUTOCONFIG
72
#define LWIP_IPV6_AUTOCONFIG 1
73
#else
/* MODULE_LWIP_IPV6_AUTOCONFIG */
74
#define LWIP_IPV6_AUTOCONFIG 0
75
#endif
/* MODULE_LWIP_IPV6_AUTOCONFIG */
76
77
#ifdef MODULE_LWIP_IPV6_MLD
78
#define LWIP_IPV6_MLD 1
79
#else
/* MODULE_LWIP_IPV6 */
80
#define LWIP_IPV6_MLD 0
81
#endif
/* MODULE_LWIP_IPV6 */
82
83
#ifdef MODULE_LWIP_IPV6
84
#define LWIP_IPV6 1
85
#else
/* MODULE_LWIP_IPV6 */
86
#define LWIP_IPV6 0
87
#endif
/* MODULE_LWIP_IPV6 */
88
89
#ifdef MODULE_LWIP_NETIF_PPP
90
#define PPP_SUPPORT 1
91
#else
/* MODULE_LWIP_NETIF_PPP */
92
#define PPP_SUPPORT 0
93
#endif
/* MODULE_LWIP_NETIF_PPP */
94
95
#ifdef MODULE_LWIP_RAW
96
#define LWIP_RAW 1
97
#else
/* MODULE_LWIP_RAW */
98
#define LWIP_RAW 0
99
#endif
/* MODULE_LWIP_RAW */
100
101
#ifdef MODULE_LWIP_SIXLOWPAN
102
#define LWIP_6LOWPAN 1
103
#else
/* MODULE_LWIP_STATS */
104
#define LWIP_6LOWPAN 0
105
#endif
/* MODULE_LWIP_STATS */
106
107
#ifdef MODULE_LWIP_STATS
108
#define LWIP_STATS 1
109
#else
/* MODULE_LWIP_STATS */
110
#define LWIP_STATS 0
111
#endif
/* MODULE_LWIP_STATS */
112
113
#ifdef MODULE_LWIP_TCP
114
#define LWIP_TCP 1
115
#else
/* MODULE_LWIP_TCP */
116
#define LWIP_TCP 0
117
#endif
/* MODULE_LWIP_TCP */
118
119
#ifdef MODULE_LWIP_UDP
120
#define LWIP_UDP 1
121
#else
/* MODULE_LWIP_UDP */
122
#define LWIP_UDP 0
123
#endif
/* MODULE_LWIP_UDP */
124
125
#ifdef MODULE_LWIP_UDPLITE
126
#define LWIP_UDPLITE 1
127
#else
/* MODULE_LWIP_UDPLITE */
128
#define LWIP_UDPLITE 0
129
#endif
/* MODULE_LWIP_UDPLITE */
130
131
#if defined(MODULE_LWIP_SOCK)
132
#define LWIP_NETCONN 1
133
#else
134
#define LWIP_NETCONN 0
135
#endif
136
137
#ifndef TCP_LISTEN_BACKLOG
138
# if defined(MODULE_LWIP_SOCK_TCP)
139
# define TCP_LISTEN_BACKLOG 1
140
# else
141
# define TCP_LISTEN_BACKLOG 0
142
# endif
143
#endif
/* TCP_LISTEN_BACKLOG */
144
145
#define LWIP_SOCKET 0
146
147
#define LWIP_DONT_PROVIDE_BYTEORDER_FUNCTIONS
148
#define MEMP_MEM_MALLOC 1
149
#define NETIF_MAX_HWADDR_LEN (GNRC_NETIF_HDR_L2ADDR_MAX_LEN)
150
151
#ifndef TCPIP_THREAD_STACKSIZE
152
#define TCPIP_THREAD_STACKSIZE (THREAD_STACKSIZE_DEFAULT)
153
#endif
154
155
#define MEM_ALIGNMENT 4
156
#ifndef MEM_SIZE
157
/* packet buffer size of GNRC + stack for TCP/IP */
158
#define MEM_SIZE (TCPIP_THREAD_STACKSIZE + 6144)
159
#endif
160
163
#ifdef __cplusplus
164
}
165
#endif
166
167
#endif
/* LWIPOPTS_H */
168
hdr.h
Generic network interface header.
Generated on Tue Nov 24 2020 19:46:51 by
1.8.17