Skip to content

Commit 5e5b31e

Browse files
committed
[TCPIP] Remove options in lwipopts.h having default values
If lwipopts.h doesn't provide a define, a default value is taken from lwip/src/include/lwip/opt.h
1 parent 0b8a47c commit 5e5b31e

File tree

1 file changed

+0
-130
lines changed

1 file changed

+0
-130
lines changed

drivers/network/tcpip/include/lwip/lwipopts.h

Lines changed: 0 additions & 130 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,8 @@
1616

1717
#define LWIP_ARP 0
1818

19-
#define ARP_QUEUEING 0
20-
2119
#define ETH_PAD_SIZE 2
2220

23-
#define IP_FORWARD 0
24-
2521
#define IP_REASS_MAX_PBUFS 0xFFFFFFFF
2622

2723
#define IP_DEFAULT_TTL 128
@@ -34,24 +30,8 @@
3430

3531
#define LWIP_RAW 0
3632

37-
#define LWIP_DHCP 0
38-
39-
#define LWIP_AUTOIP 0
40-
41-
#define LWIP_SNMP 0
42-
43-
#define LWIP_IGMP 0
44-
45-
#define LWIP_DNS 0
46-
4733
#define LWIP_UDP 0
4834

49-
#define LWIP_UDPLITE 0
50-
51-
#define LWIP_TCP 1
52-
53-
#define TCP_QUEUE_OOSEQ 1
54-
5535
#define SO_REUSE 1
5636

5737
#define SO_REUSE_RXTOALL 1
@@ -76,131 +56,21 @@
7656

7757
#define LWIP_TCP_TIMESTAMPS 1
7858

79-
#define LWIP_CALLBACK_API 1
80-
81-
#define LWIP_NETIF_API 1
82-
8359
#define LWIP_SOCKET 0
8460

8561
#define LWIP_NETCONN 0
8662

87-
#define LWIP_NETIF_HWADDRHINT 0
88-
8963
#define LWIP_STATS 0
9064

9165
#define ICMP_STATS 0
9266

93-
#define PPP_SUPPORT 0
94-
95-
#define PPPOE_SUPPORT 0
96-
97-
#define PPPOS_SUPPORT 0
98-
9967
/*
10068
---------------------------------------
10169
---------- Debugging options ----------
10270
---------------------------------------
10371
*/
104-
/**
105-
* LWIP_DBG_MIN_LEVEL: After masking, the value of the debug is
106-
* compared against this value. If it is smaller, then debugging
107-
* messages are written.
108-
*/
109-
#define LWIP_DBG_MIN_LEVEL LWIP_DBG_LEVEL_ALL
110-
111-
/**
112-
* LWIP_DBG_TYPES_ON: A mask that can be used to globally enable/disable
113-
* debug messages of certain types.
114-
*/
115-
#define LWIP_DBG_TYPES_ON LWIP_DBG_ON
116-
117-
/**
118-
* NETIF_DEBUG: Enable debugging in netif.c.
119-
*/
120-
#define NETIF_DEBUG LWIP_DBG_OFF
121-
122-
/**
123-
* PBUF_DEBUG: Enable debugging in pbuf.c.
124-
*/
125-
#define PBUF_DEBUG LWIP_DBG_OFF
126-
127-
/**
128-
* INET_DEBUG: Enable debugging in inet.c.
129-
*/
130-
#define INET_DEBUG LWIP_DBG_OFF
131-
132-
/**
133-
* IP_DEBUG: Enable debugging for IP.
134-
*/
135-
#define IP_DEBUG LWIP_DBG_OFF
136-
137-
/**
138-
* IP_REASS_DEBUG: Enable debugging in ip_frag.c for both frag & reass.
139-
*/
140-
#define IP_REASS_DEBUG LWIP_DBG_OFF
141-
142-
/**
143-
* MEM_DEBUG: Enable debugging in mem.c.
144-
*/
145-
#define MEM_DEBUG LWIP_DBG_OFF
146-
147-
/**
148-
* MEMP_DEBUG: Enable debugging in memp.c.
149-
*/
150-
#define MEMP_DEBUG LWIP_DBG_OFF
151-
152-
/**
153-
* SYS_DEBUG: Enable debugging in sys.c.
154-
*/
155-
#define SYS_DEBUG LWIP_DBG_OFF
15672

15773
/**
15874
* TCP_DEBUG: Enable debugging for TCP.
15975
*/
16076
#define TCP_DEBUG LWIP_DBG_ON
161-
162-
/**
163-
* TCP_INPUT_DEBUG: Enable debugging in tcp_in.c for incoming debug.
164-
*/
165-
#define TCP_INPUT_DEBUG LWIP_DBG_OFF
166-
167-
/**
168-
* TCP_FR_DEBUG: Enable debugging in tcp_in.c for fast retransmit.
169-
*/
170-
#define TCP_FR_DEBUG LWIP_DBG_OFF
171-
172-
/**
173-
* TCP_RTO_DEBUG: Enable debugging in TCP for retransmit
174-
* timeout.
175-
*/
176-
#define TCP_RTO_DEBUG LWIP_DBG_OFF
177-
178-
/**
179-
* TCP_CWND_DEBUG: Enable debugging for TCP congestion window.
180-
*/
181-
#define TCP_CWND_DEBUG LWIP_DBG_OFF
182-
183-
/**
184-
* TCP_WND_DEBUG: Enable debugging in tcp_in.c for window updating.
185-
*/
186-
#define TCP_WND_DEBUG LWIP_DBG_OFF
187-
188-
/**
189-
* TCP_OUTPUT_DEBUG: Enable debugging in tcp_out.c output functions.
190-
*/
191-
#define TCP_OUTPUT_DEBUG LWIP_DBG_OFF
192-
193-
/**
194-
* TCP_RST_DEBUG: Enable debugging for TCP with the RST message.
195-
*/
196-
#define TCP_RST_DEBUG LWIP_DBG_OFF
197-
198-
/**
199-
* TCP_QLEN_DEBUG: Enable debugging for TCP queue lengths.
200-
*/
201-
#define TCP_QLEN_DEBUG LWIP_DBG_OFF
202-
203-
/**
204-
* TCPIP_DEBUG: Enable debugging in tcpip.c.
205-
*/
206-
#define TCPIP_DEBUG LWIP_DBG_OFF

0 commit comments

Comments
 (0)