UbixOS  2.0
opt.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2001-2004 Swedish Institute of Computer Science.
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without modification,
6  * are permitted provided that the following conditions are met:
7  *
8  * 1. Redistributions of source code must retain the above copyright notice,
9  * this list of conditions and the following disclaimer.
10  * 2. Redistributions in binary form must reproduce the above copyright notice,
11  * this list of conditions and the following disclaimer in the documentation
12  * and/or other materials provided with the distribution.
13  * 3. The name of the author may not be used to endorse or promote products
14  * derived from this software without specific prior written permission.
15  *
16  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
17  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
18  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
19  * SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
20  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
21  * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
24  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
25  * OF SUCH DAMAGE.
26  *
27  * This file is part of the lwIP TCP/IP stack.
28  *
29  * Author: Adam Dunkels <adam@sics.se>
30  *
31  */
32 
33 /*
34  * NOTE: || defined __DOXYGEN__ is a workaround for doxygen bug -
35  * without this, doxygen does not see the actual #define
36  */
37 
38 #if !defined LWIP_HDR_OPT_H
39 #define LWIP_HDR_OPT_H
40 
41 /*
42  * Include user defined options first. Anything not defined in these files
43  * will be set to standard values. Override anything you don't like!
44  */
45 #include <net/lwipopts.h>
46 #include <net/debug.h>
47 
72 #if !defined NO_SYS
73 #define NO_SYS 0
74 #endif
75 
81 #if !defined LWIP_TIMERS
82 #ifdef NO_SYS_NO_TIMERS
83 #define LWIP_TIMERS (!NO_SYS || (NO_SYS && !NO_SYS_NO_TIMERS))
84 #else
85 #define LWIP_TIMERS 1
86 #endif
87 #endif
88 
96 #if !defined LWIP_TIMERS_CUSTOM
97 #define LWIP_TIMERS_CUSTOM 0
98 #endif
99 
104 #if !defined MEMCPY
105 #define MEMCPY(dst,src,len) memcpy(dst,src,len)
106 #endif
107 
112 #if !defined SMEMCPY
113 #define SMEMCPY(dst,src,len) memcpy(dst,src,len)
114 #endif
115 
116 /*
117  ------------------------------------
118  ----------- Core locking -----------
119  ------------------------------------
120  */
128 #if !defined LWIP_MPU_COMPATIBLE
129 #define LWIP_MPU_COMPATIBLE 0
130 #endif
131 
140 #if !defined LWIP_TCPIP_CORE_LOCKING
141 #define LWIP_TCPIP_CORE_LOCKING 1
142 #endif
143 
152 #if !defined LWIP_TCPIP_CORE_LOCKING_INPUT || defined __DOXYGEN__
153 #define LWIP_TCPIP_CORE_LOCKING_INPUT 0
154 #endif
155 
163 #if !defined SYS_LIGHTWEIGHT_PROT || defined __DOXYGEN__
164 #define SYS_LIGHTWEIGHT_PROT 1
165 #endif
166 
170 /*
171  ------------------------------------
172  ---------- Memory options ----------
173  ------------------------------------
174  */
185 #if !defined MEM_LIBC_MALLOC || defined __DOXYGEN__
186 #define MEM_LIBC_MALLOC 0
187 #endif
188 
198 #if !defined MEMP_MEM_MALLOC || defined __DOXYGEN__
199 #define MEMP_MEM_MALLOC 0
200 #endif
201 
207 #if !defined MEM_ALIGNMENT || defined __DOXYGEN__
208 #define MEM_ALIGNMENT 1
209 #endif
210 
215 #if !defined MEM_SIZE || defined __DOXYGEN__
216 #define MEM_SIZE 1600
217 #endif
218 
228 #if !defined MEMP_OVERFLOW_CHECK || defined __DOXYGEN__
229 #define MEMP_OVERFLOW_CHECK 0
230 #endif
231 
236 #if !defined MEMP_SANITY_CHECK || defined __DOXYGEN__
237 #define MEMP_SANITY_CHECK 0
238 #endif
239 
246 #if !defined MEM_USE_POOLS || defined __DOXYGEN__
247 #define MEM_USE_POOLS 0
248 #endif
249 
254 #if !defined MEM_USE_POOLS_TRY_BIGGER_POOL || defined __DOXYGEN__
255 #define MEM_USE_POOLS_TRY_BIGGER_POOL 0
256 #endif
257 
264 #if !defined MEMP_USE_CUSTOM_POOLS || defined __DOXYGEN__
265 #define MEMP_USE_CUSTOM_POOLS 0
266 #endif
267 
286 #if !defined LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT || defined __DOXYGEN__
287 #define LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT 0
288 #endif
289 
293 /*
294  ------------------------------------------------
295  ---------- Internal Memory Pool Sizes ----------
296  ------------------------------------------------
297  */
308 #if !defined MEMP_NUM_PBUF || defined __DOXYGEN__
309 #define MEMP_NUM_PBUF 16
310 #endif
311 
316 #if !defined MEMP_NUM_RAW_PCB || defined __DOXYGEN__
317 #define MEMP_NUM_RAW_PCB 4
318 #endif
319 
325 #if !defined MEMP_NUM_UDP_PCB || defined __DOXYGEN__
326 #define MEMP_NUM_UDP_PCB 4
327 #endif
328 
333 #if !defined MEMP_NUM_TCP_PCB || defined __DOXYGEN__
334 #define MEMP_NUM_TCP_PCB 5
335 #endif
336 
341 #if !defined MEMP_NUM_TCP_PCB_LISTEN || defined __DOXYGEN__
342 #define MEMP_NUM_TCP_PCB_LISTEN 8
343 #endif
344 
349 #if !defined MEMP_NUM_TCP_SEG || defined __DOXYGEN__
350 #define MEMP_NUM_TCP_SEG 16
351 #endif
352 
357 #if !defined MEMP_NUM_REASSDATA || defined __DOXYGEN__
358 #define MEMP_NUM_REASSDATA 5
359 #endif
360 
368 #if !defined MEMP_NUM_FRAG_PBUF || defined __DOXYGEN__
369 #define MEMP_NUM_FRAG_PBUF 15
370 #endif
371 
378 #if !defined MEMP_NUM_ARP_QUEUE || defined __DOXYGEN__
379 #define MEMP_NUM_ARP_QUEUE 30
380 #endif
381 
388 #if !defined MEMP_NUM_IGMP_GROUP || defined __DOXYGEN__
389 #define MEMP_NUM_IGMP_GROUP 8
390 #endif
391 
397 #if !defined MEMP_NUM_SYS_TIMEOUT || defined __DOXYGEN__
398 #define MEMP_NUM_SYS_TIMEOUT (LWIP_TCP + IP_REASSEMBLY + LWIP_ARP + (2*LWIP_DHCP) + LWIP_AUTOIP + LWIP_IGMP + LWIP_DNS + (PPP_SUPPORT*6*MEMP_NUM_PPP_PCB) + (LWIP_IPV6 ? (1 + LWIP_IPV6_REASS + LWIP_IPV6_MLD) : 0))
399 #endif
400 
405 #if !defined MEMP_NUM_NETBUF || defined __DOXYGEN__
406 #define MEMP_NUM_NETBUF 2
407 #endif
408 
413 #if !defined MEMP_NUM_NETCONN || defined __DOXYGEN__
414 #define MEMP_NUM_NETCONN 4
415 #endif
416 
422 #if !defined MEMP_NUM_TCPIP_MSG_API || defined __DOXYGEN__
423 #define MEMP_NUM_TCPIP_MSG_API 8
424 #endif
425 
431 #if !defined MEMP_NUM_TCPIP_MSG_INPKT || defined __DOXYGEN__
432 #define MEMP_NUM_TCPIP_MSG_INPKT 8
433 #endif
434 
439 #if !defined MEMP_NUM_NETDB || defined __DOXYGEN__
440 #define MEMP_NUM_NETDB 1
441 #endif
442 
447 #if !defined MEMP_NUM_LOCALHOSTLIST || defined __DOXYGEN__
448 #define MEMP_NUM_LOCALHOSTLIST 1
449 #endif
450 
454 #if !defined PBUF_POOL_SIZE || defined __DOXYGEN__
455 #define PBUF_POOL_SIZE 16
456 #endif
457 
461 #if !defined MEMP_NUM_API_MSG || defined __DOXYGEN__
462 #define MEMP_NUM_API_MSG MEMP_NUM_TCPIP_MSG_API
463 #endif
464 
467 #if !defined MEMP_NUM_DNS_API_MSG || defined __DOXYGEN__
468 #define MEMP_NUM_DNS_API_MSG MEMP_NUM_TCPIP_MSG_API
469 #endif
470 
474 #if !defined MEMP_NUM_SOCKET_SETGETSOCKOPT_DATA || defined __DOXYGEN__
475 #define MEMP_NUM_SOCKET_SETGETSOCKOPT_DATA MEMP_NUM_TCPIP_MSG_API
476 #endif
477 
481 #if !defined MEMP_NUM_NETIFAPI_MSG || defined __DOXYGEN__
482 #define MEMP_NUM_NETIFAPI_MSG MEMP_NUM_TCPIP_MSG_API
483 #endif
484 
488 /*
489  ---------------------------------
490  ---------- ARP options ----------
491  ---------------------------------
492  */
501 #if !defined LWIP_ARP || defined __DOXYGEN__
502 #define LWIP_ARP 1
503 #endif
504 
508 #if !defined ARP_TABLE_SIZE || defined __DOXYGEN__
509 #define ARP_TABLE_SIZE 10
510 #endif
511 
516 #if !defined ARP_MAXAGE || defined __DOXYGEN__
517 #define ARP_MAXAGE 300
518 #endif
519 
527 #if !defined ARP_QUEUEING || defined __DOXYGEN__
528 #define ARP_QUEUEING 0
529 #endif
530 
535 #if !defined ARP_QUEUE_LEN || defined __DOXYGEN__
536 #define ARP_QUEUE_LEN 3
537 #endif
538 
549 #if !defined ETHARP_SUPPORT_VLAN || defined __DOXYGEN__
550 #define ETHARP_SUPPORT_VLAN 0
551 #endif
552 
555 #if !defined LWIP_ETHERNET || defined __DOXYGEN__
556 #define LWIP_ETHERNET LWIP_ARP
557 #endif
558 
564 #if !defined ETH_PAD_SIZE || defined __DOXYGEN__
565 #define ETH_PAD_SIZE 0
566 #endif
567 
571 #if !defined ETHARP_SUPPORT_STATIC_ENTRIES || defined __DOXYGEN__
572 #define ETHARP_SUPPORT_STATIC_ENTRIES 0
573 #endif
574 
579 #if !defined ETHARP_TABLE_MATCH_NETIF || defined __DOXYGEN__
580 #define ETHARP_TABLE_MATCH_NETIF 0
581 #endif
582 
586 /*
587  --------------------------------
588  ---------- IP options ----------
589  --------------------------------
590  */
599 #if !defined LWIP_IPV4 || defined __DOXYGEN__
600 #define LWIP_IPV4 1
601 #endif
602 
608 #if !defined IP_FORWARD || defined __DOXYGEN__
609 #define IP_FORWARD 0
610 #endif
611 
617 #if !defined IP_REASSEMBLY || defined __DOXYGEN__
618 #define IP_REASSEMBLY 1
619 #endif
620 
626 #if !defined IP_FRAG || defined __DOXYGEN__
627 #define IP_FRAG 1
628 #endif
629 
630 #if !LWIP_IPV4
631 /* disable IPv4 extensions when IPv4 is disabled */
632 #undef IP_FORWARD
633 #define IP_FORWARD 0
634 #undef IP_REASSEMBLY
635 #define IP_REASSEMBLY 0
636 #undef IP_FRAG
637 #define IP_FRAG 0
638 #endif /* !LWIP_IPV4 */
639 
645 #if !defined IP_OPTIONS_ALLOWED || defined __DOXYGEN__
646 #define IP_OPTIONS_ALLOWED 1
647 #endif
648 
654 #if !defined IP_REASS_MAXAGE || defined __DOXYGEN__
655 #define IP_REASS_MAXAGE 3
656 #endif
657 
664 #if !defined IP_REASS_MAX_PBUFS || defined __DOXYGEN__
665 #define IP_REASS_MAX_PBUFS 10
666 #endif
667 
671 #if !defined IP_DEFAULT_TTL || defined __DOXYGEN__
672 #define IP_DEFAULT_TTL 255
673 #endif
674 
680 #if !defined IP_SOF_BROADCAST || defined __DOXYGEN__
681 #define IP_SOF_BROADCAST 0
682 #endif
683 
688 #if !defined IP_SOF_BROADCAST_RECV || defined __DOXYGEN__
689 #define IP_SOF_BROADCAST_RECV 0
690 #endif
691 
699 #if !defined IP_FORWARD_ALLOW_TX_ON_RX_NETIF || defined __DOXYGEN__
700 #define IP_FORWARD_ALLOW_TX_ON_RX_NETIF 0
701 #endif
702 
708 #if !defined LWIP_RANDOMIZE_INITIAL_LOCAL_PORTS || defined __DOXYGEN__
709 #define LWIP_RANDOMIZE_INITIAL_LOCAL_PORTS 0
710 #endif
711 
715 /*
716  ----------------------------------
717  ---------- ICMP options ----------
718  ----------------------------------
719  */
729 #if !defined LWIP_ICMP || defined __DOXYGEN__
730 #define LWIP_ICMP 1
731 #endif
732 
736 #if !defined ICMP_TTL || defined __DOXYGEN__
737 #define ICMP_TTL (IP_DEFAULT_TTL)
738 #endif
739 
743 #if !defined LWIP_BROADCAST_PING || defined __DOXYGEN__
744 #define LWIP_BROADCAST_PING 0
745 #endif
746 
750 #if !defined LWIP_MULTICAST_PING || defined __DOXYGEN__
751 #define LWIP_MULTICAST_PING 0
752 #endif
753 
757 /*
758  ---------------------------------
759  ---------- RAW options ----------
760  ---------------------------------
761  */
770 #if !defined LWIP_RAW || defined __DOXYGEN__
771 #define LWIP_RAW 0
772 #endif
773 
777 #if !defined RAW_TTL || defined __DOXYGEN__
778 #define RAW_TTL (IP_DEFAULT_TTL)
779 #endif
780 
784 /*
785  ----------------------------------
786  ---------- DHCP options ----------
787  ----------------------------------
788  */
797 #if !defined LWIP_DHCP || defined __DOXYGEN__
798 #define LWIP_DHCP 0
799 #endif
800 #if !LWIP_IPV4
801 /* disable DHCP when IPv4 is disabled */
802 #undef LWIP_DHCP
803 #define LWIP_DHCP 0
804 #endif /* !LWIP_IPV4 */
805 
809 #if !defined DHCP_DOES_ARP_CHECK || defined __DOXYGEN__
810 #define DHCP_DOES_ARP_CHECK ((LWIP_DHCP) && (LWIP_ARP))
811 #endif
812 
819 #if !defined LWIP_DHCP_CHECK_LINK_UP
820 #define LWIP_DHCP_CHECK_LINK_UP 0
821 #endif
822 
826 #if !defined LWIP_DHCP_BOOTP_FILE || defined __DOXYGEN__
827 #define LWIP_DHCP_BOOTP_FILE 0
828 #endif
829 
835 #if !defined LWIP_DHCP_GET_NTP_SRV || defined __DOXYGEN__
836 #define LWIP_DHCP_GET_NTP_SRV 0
837 #endif
838 
842 #if !defined LWIP_DHCP_MAX_NTP_SERVERS || defined __DOXYGEN__
843 #define LWIP_DHCP_MAX_NTP_SERVERS 1
844 #endif
845 
851 #if !defined LWIP_DHCP_MAX_DNS_SERVERS || defined __DOXYGEN__
852 #define LWIP_DHCP_MAX_DNS_SERVERS DNS_MAX_SERVERS
853 #endif
854 
858 /*
859  ------------------------------------
860  ---------- AUTOIP options ----------
861  ------------------------------------
862  */
871 #if !defined LWIP_AUTOIP || defined __DOXYGEN__
872 #define LWIP_AUTOIP 0
873 #endif
874 #if !LWIP_IPV4
875 /* disable AUTOIP when IPv4 is disabled */
876 #undef LWIP_AUTOIP
877 #define LWIP_AUTOIP 0
878 #endif /* !LWIP_IPV4 */
879 
884 #if !defined LWIP_DHCP_AUTOIP_COOP || defined __DOXYGEN__
885 #define LWIP_DHCP_AUTOIP_COOP 0
886 #endif
887 
895 #if !defined LWIP_DHCP_AUTOIP_COOP_TRIES || defined __DOXYGEN__
896 #define LWIP_DHCP_AUTOIP_COOP_TRIES 9
897 #endif
898 
902 /*
903  ----------------------------------
904  ----- SNMP MIB2 support -----
905  ----------------------------------
906  */
917 #if !defined LWIP_MIB2_CALLBACKS || defined __DOXYGEN__
918 #define LWIP_MIB2_CALLBACKS 0
919 #endif
920 
924 /*
925  ----------------------------------
926  ----- Multicast/IGMP options -----
927  ----------------------------------
928  */
937 #if !defined LWIP_IGMP || defined __DOXYGEN__
938 #define LWIP_IGMP 0
939 #endif
940 #if !LWIP_IPV4
941 #undef LWIP_IGMP
942 #define LWIP_IGMP 0
943 #endif
944 
949 #if !defined LWIP_MULTICAST_TX_OPTIONS || defined __DOXYGEN__
950 #define LWIP_MULTICAST_TX_OPTIONS (LWIP_IGMP && LWIP_UDP)
951 #endif
952 
956 /*
957  ----------------------------------
958  ---------- DNS options -----------
959  ----------------------------------
960  */
970 #if !defined LWIP_DNS || defined __DOXYGEN__
971 #define LWIP_DNS 0
972 #endif
973 
975 #if !defined DNS_TABLE_SIZE || defined __DOXYGEN__
976 #define DNS_TABLE_SIZE 4
977 #endif
978 
980 #if !defined DNS_MAX_NAME_LENGTH || defined __DOXYGEN__
981 #define DNS_MAX_NAME_LENGTH 256
982 #endif
983 
988 #if !defined DNS_MAX_SERVERS || defined __DOXYGEN__
989 #define DNS_MAX_SERVERS 2
990 #endif
991 
993 #if !defined DNS_DOES_NAME_CHECK || defined __DOXYGEN__
994 #define DNS_DOES_NAME_CHECK 1
995 #endif
996 
1001 #if !defined LWIP_DNS_SECURE || defined __DOXYGEN__
1002 #define LWIP_DNS_SECURE (LWIP_DNS_SECURE_RAND_XID | LWIP_DNS_SECURE_NO_MULTIPLE_OUTSTANDING | LWIP_DNS_SECURE_RAND_SRC_PORT)
1003 #endif
1004 
1005 /* A list of DNS security features follows */
1006 #define LWIP_DNS_SECURE_RAND_XID 1
1007 #define LWIP_DNS_SECURE_NO_MULTIPLE_OUTSTANDING 2
1008 #define LWIP_DNS_SECURE_RAND_SRC_PORT 4
1009 
1018 #if !defined DNS_LOCAL_HOSTLIST || defined __DOXYGEN__
1019 #define DNS_LOCAL_HOSTLIST 0
1020 #endif /* DNS_LOCAL_HOSTLIST */
1021 
1024 #if !defined DNS_LOCAL_HOSTLIST_IS_DYNAMIC || defined __DOXYGEN__
1025 #define DNS_LOCAL_HOSTLIST_IS_DYNAMIC 0
1026 #endif /* DNS_LOCAL_HOSTLIST_IS_DYNAMIC */
1027 
1030 #if !defined LWIP_DNS_SUPPORT_MDNS_QUERIES || defined __DOXYGEN__
1031 #define LWIP_DNS_SUPPORT_MDNS_QUERIES 0
1032 #endif
1033 
1037 /*
1038  ---------------------------------
1039  ---------- UDP options ----------
1040  ---------------------------------
1041  */
1050 #if !defined LWIP_UDP || defined __DOXYGEN__
1051 #define LWIP_UDP 1
1052 #endif
1053 
1057 #if !defined LWIP_UDPLITE || defined __DOXYGEN__
1058 #define LWIP_UDPLITE 0
1059 #endif
1060 
1064 #if !defined UDP_TTL || defined __DOXYGEN__
1065 #define UDP_TTL (IP_DEFAULT_TTL)
1066 #endif
1067 
1071 #if !defined LWIP_NETBUF_RECVINFO || defined __DOXYGEN__
1072 #define LWIP_NETBUF_RECVINFO 0
1073 #endif
1074 
1078 /*
1079  ---------------------------------
1080  ---------- TCP options ----------
1081  ---------------------------------
1082  */
1091 #if !defined LWIP_TCP || defined __DOXYGEN__
1092 #define LWIP_TCP 1
1093 #endif
1094 
1098 #if !defined TCP_TTL || defined __DOXYGEN__
1099 #define TCP_TTL (IP_DEFAULT_TTL)
1100 #endif
1101 
1109 #if !defined TCP_WND || defined __DOXYGEN__
1110 #define TCP_WND (4 * TCP_MSS)
1111 #endif
1112 
1116 #if !defined TCP_MAXRTX || defined __DOXYGEN__
1117 #define TCP_MAXRTX 12
1118 #endif
1119 
1123 #if !defined TCP_SYNMAXRTX || defined __DOXYGEN__
1124 #define TCP_SYNMAXRTX 6
1125 #endif
1126 
1131 #if !defined TCP_QUEUE_OOSEQ || defined __DOXYGEN__
1132 #define TCP_QUEUE_OOSEQ (LWIP_TCP)
1133 #endif
1134 
1142 #if !defined TCP_MSS || defined __DOXYGEN__
1143 #define TCP_MSS 536
1144 #endif
1145 
1154 #if !defined TCP_CALCULATE_EFF_SEND_MSS || defined __DOXYGEN__
1155 #define TCP_CALCULATE_EFF_SEND_MSS 1
1156 #endif
1157 
1162 #if !defined TCP_SND_BUF || defined __DOXYGEN__
1163 #define TCP_SND_BUF (2 * TCP_MSS)
1164 #endif
1165 
1170 #if !defined TCP_SND_QUEUELEN || defined __DOXYGEN__
1171 #define TCP_SND_QUEUELEN ((4 * (TCP_SND_BUF) + (TCP_MSS - 1))/(TCP_MSS))
1172 #endif
1173 
1179 #if !defined TCP_SNDLOWAT || defined __DOXYGEN__
1180 #define TCP_SNDLOWAT LWIP_MIN(LWIP_MAX(((TCP_SND_BUF)/2), (2 * TCP_MSS) + 1), (TCP_SND_BUF) - 1)
1181 #endif
1182 
1188 #if !defined TCP_SNDQUEUELOWAT || defined __DOXYGEN__
1189 #define TCP_SNDQUEUELOWAT LWIP_MAX(((TCP_SND_QUEUELEN)/2), 5)
1190 #endif
1191 
1196 #if !defined TCP_OOSEQ_MAX_BYTES || defined __DOXYGEN__
1197 #define TCP_OOSEQ_MAX_BYTES 0
1198 #endif
1199 
1204 #if !defined TCP_OOSEQ_MAX_PBUFS || defined __DOXYGEN__
1205 #define TCP_OOSEQ_MAX_PBUFS 0
1206 #endif
1207 
1211 #if !defined TCP_LISTEN_BACKLOG || defined __DOXYGEN__
1212 #define TCP_LISTEN_BACKLOG 0
1213 #endif
1214 
1220 #if !defined TCP_DEFAULT_LISTEN_BACKLOG || defined __DOXYGEN__
1221 #define TCP_DEFAULT_LISTEN_BACKLOG 0xff
1222 #endif
1223 
1238 #if !defined TCP_OVERSIZE || defined __DOXYGEN__
1239 #define TCP_OVERSIZE TCP_MSS
1240 #endif
1241 
1248 #if !defined LWIP_TCP_TIMESTAMPS || defined __DOXYGEN__
1249 #define LWIP_TCP_TIMESTAMPS 0
1250 #endif
1251 
1256 #if !defined TCP_WND_UPDATE_THRESHOLD || defined __DOXYGEN__
1257 #define TCP_WND_UPDATE_THRESHOLD LWIP_MIN((TCP_WND / 4), (TCP_MSS * 4))
1258 #endif
1259 
1267 #if !defined(LWIP_EVENT_API) && !defined(LWIP_CALLBACK_API) || defined __DOXYGEN__
1268 #define LWIP_EVENT_API 0
1269 #define LWIP_CALLBACK_API 1
1270 #else
1271 #ifndef LWIP_EVENT_API
1272 #define LWIP_EVENT_API 0
1273 #endif
1274 #ifndef LWIP_CALLBACK_API
1275 #define LWIP_CALLBACK_API 0
1276 #endif
1277 #endif
1278 
1287 #if !defined LWIP_WND_SCALE || defined __DOXYGEN__
1288 #define LWIP_WND_SCALE 0
1289 #define TCP_RCV_SCALE 0
1290 #endif
1291 
1295 /*
1296  ----------------------------------
1297  ---------- Pbuf options ----------
1298  ----------------------------------
1299  */
1310 #if !defined PBUF_LINK_HLEN || defined __DOXYGEN__
1311 #if defined LWIP_HOOK_VLAN_SET && !defined __DOXYGEN__
1312 #define PBUF_LINK_HLEN (18 + ETH_PAD_SIZE)
1313 #else /* LWIP_HOOK_VLAN_SET */
1314 #define PBUF_LINK_HLEN (14 + ETH_PAD_SIZE)
1315 #endif /* LWIP_HOOK_VLAN_SET */
1316 #endif
1317 
1322 #if !defined PBUF_LINK_ENCAPSULATION_HLEN || defined __DOXYGEN__
1323 #define PBUF_LINK_ENCAPSULATION_HLEN 0u
1324 #endif
1325 
1331 #if !defined PBUF_POOL_BUFSIZE || defined __DOXYGEN__
1332 #define PBUF_POOL_BUFSIZE LWIP_MEM_ALIGN_SIZE(TCP_MSS+40+PBUF_LINK_ENCAPSULATION_HLEN+PBUF_LINK_HLEN)
1333 #endif
1334 
1338 /*
1339  ------------------------------------------------
1340  ---------- Network Interfaces options ----------
1341  ------------------------------------------------
1342  */
1352 #if !defined LWIP_NETIF_HOSTNAME || defined __DOXYGEN__
1353 #define LWIP_NETIF_HOSTNAME 0
1354 #endif
1355 
1359 #if !defined LWIP_NETIF_API || defined __DOXYGEN__
1360 #define LWIP_NETIF_API 0
1361 #endif
1362 
1367 #if !defined LWIP_NETIF_STATUS_CALLBACK || defined __DOXYGEN__
1368 #define LWIP_NETIF_STATUS_CALLBACK 0
1369 #endif
1370 
1375 #if !defined LWIP_NETIF_LINK_CALLBACK || defined __DOXYGEN__
1376 #define LWIP_NETIF_LINK_CALLBACK 0
1377 #endif
1378 
1383 #if !defined LWIP_NETIF_REMOVE_CALLBACK || defined __DOXYGEN__
1384 #define LWIP_NETIF_REMOVE_CALLBACK 0
1385 #endif
1386 
1394 #if !defined LWIP_NETIF_HWADDRHINT || defined __DOXYGEN__
1395 #define LWIP_NETIF_HWADDRHINT 0
1396 #endif
1397 
1407 #if !defined LWIP_NETIF_TX_SINGLE_PBUF || defined __DOXYGEN__
1408 #define LWIP_NETIF_TX_SINGLE_PBUF 0
1409 #endif /* LWIP_NETIF_TX_SINGLE_PBUF */
1410 
1415 #if !defined LWIP_NUM_NETIF_CLIENT_DATA || defined __DOXYGEN__
1416 #define LWIP_NUM_NETIF_CLIENT_DATA 0
1417 #endif
1418 
1422 /*
1423  ------------------------------------
1424  ---------- LOOPIF options ----------
1425  ------------------------------------
1426  */
1437 #if !defined LWIP_HAVE_LOOPIF || defined __DOXYGEN__
1438 #define LWIP_HAVE_LOOPIF LWIP_NETIF_LOOPBACK
1439 #endif
1440 
1444 #if !defined LWIP_LOOPIF_MULTICAST || defined __DOXYGEN__
1445 #define LWIP_LOOPIF_MULTICAST 0
1446 #endif
1447 
1452 #if !defined LWIP_NETIF_LOOPBACK || defined __DOXYGEN__
1453 #define LWIP_NETIF_LOOPBACK 0
1454 #endif
1455 
1460 #if !defined LWIP_LOOPBACK_MAX_PBUFS || defined __DOXYGEN__
1461 #define LWIP_LOOPBACK_MAX_PBUFS 0
1462 #endif
1463 
1477 #if !defined LWIP_NETIF_LOOPBACK_MULTITHREADING || defined __DOXYGEN__
1478 #define LWIP_NETIF_LOOPBACK_MULTITHREADING (!NO_SYS)
1479 #endif
1480 
1484 /*
1485  ------------------------------------
1486  ---------- Thread options ----------
1487  ------------------------------------
1488  */
1497 #if !defined TCPIP_THREAD_NAME || defined __DOXYGEN__
1498 #define TCPIP_THREAD_NAME "tcpip_thread"
1499 #endif
1500 
1506 #if !defined TCPIP_THREAD_STACKSIZE || defined __DOXYGEN__
1507 #define TCPIP_THREAD_STACKSIZE 0
1508 #endif
1509 
1515 #if !defined TCPIP_THREAD_PRIO || defined __DOXYGEN__
1516 #define TCPIP_THREAD_PRIO 1
1517 #endif
1518 
1524 #if !defined TCPIP_MBOX_SIZE || defined __DOXYGEN__
1525 #define TCPIP_MBOX_SIZE 0
1526 #endif
1527 
1532 #if !defined LWIP_TCPIP_THREAD_ALIVE || defined __DOXYGEN__
1533 #define LWIP_TCPIP_THREAD_ALIVE()
1534 #endif
1535 
1539 #if !defined SLIPIF_THREAD_NAME || defined __DOXYGEN__
1540 #define SLIPIF_THREAD_NAME "slipif_loop"
1541 #endif
1542 
1548 #if !defined SLIPIF_THREAD_STACKSIZE || defined __DOXYGEN__
1549 #define SLIPIF_THREAD_STACKSIZE 0
1550 #endif
1551 
1557 #if !defined SLIPIF_THREAD_PRIO || defined __DOXYGEN__
1558 #define SLIPIF_THREAD_PRIO 1
1559 #endif
1560 
1564 #if !defined DEFAULT_THREAD_NAME || defined __DOXYGEN__
1565 #define DEFAULT_THREAD_NAME "lwIP"
1566 #endif
1567 
1573 #if !defined DEFAULT_THREAD_STACKSIZE || defined __DOXYGEN__
1574 #define DEFAULT_THREAD_STACKSIZE 0
1575 #endif
1576 
1582 #if !defined DEFAULT_THREAD_PRIO || defined __DOXYGEN__
1583 #define DEFAULT_THREAD_PRIO 1
1584 #endif
1585 
1591 #if !defined DEFAULT_RAW_RECVMBOX_SIZE || defined __DOXYGEN__
1592 #define DEFAULT_RAW_RECVMBOX_SIZE 0
1593 #endif
1594 
1600 #if !defined DEFAULT_UDP_RECVMBOX_SIZE || defined __DOXYGEN__
1601 #define DEFAULT_UDP_RECVMBOX_SIZE 0
1602 #endif
1603 
1609 #if !defined DEFAULT_TCP_RECVMBOX_SIZE || defined __DOXYGEN__
1610 #define DEFAULT_TCP_RECVMBOX_SIZE 0
1611 #endif
1612 
1618 #if !defined DEFAULT_ACCEPTMBOX_SIZE || defined __DOXYGEN__
1619 #define DEFAULT_ACCEPTMBOX_SIZE 0
1620 #endif
1621 
1625 /*
1626  ----------------------------------------------
1627  ---------- Sequential layer options ----------
1628  ----------------------------------------------
1629  */
1638 #if !defined LWIP_NETCONN || defined __DOXYGEN__
1639 #define LWIP_NETCONN 1
1640 #endif
1641 
1645 #if !defined LWIP_TCPIP_TIMEOUT || defined __DOXYGEN__
1646 #define LWIP_TCPIP_TIMEOUT 0
1647 #endif
1648 
1659 #if !defined LWIP_NETCONN_SEM_PER_THREAD || defined __DOXYGEN__
1660 #define LWIP_NETCONN_SEM_PER_THREAD 0
1661 #endif
1662 
1671 #if !defined LWIP_NETCONN_FULLDUPLEX || defined __DOXYGEN__
1672 #define LWIP_NETCONN_FULLDUPLEX 0
1673 #endif
1674 
1678 /*
1679  ------------------------------------
1680  ---------- Socket options ----------
1681  ------------------------------------
1682  */
1691 #if !defined LWIP_SOCKET || defined __DOXYGEN__
1692 #define LWIP_SOCKET 1
1693 #endif
1694 
1695 /* LWIP_SOCKET_SET_ERRNO==1: Set errno when socket functions cannot complete
1696  * successfully, as required by POSIX. Default is POSIX-compliant.
1697  */
1698 #if !defined LWIP_SOCKET_SET_ERRNO || defined __DOXYGEN__
1699 #define LWIP_SOCKET_SET_ERRNO 1
1700 #endif
1701 
1708 #if !defined LWIP_COMPAT_SOCKETS || defined __DOXYGEN__
1709 #define LWIP_COMPAT_SOCKETS 1
1710 #endif
1711 
1717 #if !defined LWIP_POSIX_SOCKETS_IO_NAMES || defined __DOXYGEN__
1718 #define LWIP_POSIX_SOCKETS_IO_NAMES 1
1719 #endif
1720 
1728 #if !defined LWIP_SOCKET_OFFSET || defined __DOXYGEN__
1729 #define LWIP_SOCKET_OFFSET 0
1730 #endif
1731 
1737 #if !defined LWIP_TCP_KEEPALIVE || defined __DOXYGEN__
1738 #define LWIP_TCP_KEEPALIVE 0
1739 #endif
1740 
1745 #if !defined LWIP_SO_SNDTIMEO || defined __DOXYGEN__
1746 #define LWIP_SO_SNDTIMEO 0
1747 #endif
1748 
1753 #if !defined LWIP_SO_RCVTIMEO || defined __DOXYGEN__
1754 #define LWIP_SO_RCVTIMEO 0
1755 #endif
1756 
1761 #if !defined LWIP_SO_SNDRCVTIMEO_NONSTANDARD || defined __DOXYGEN__
1762 #define LWIP_SO_SNDRCVTIMEO_NONSTANDARD 0
1763 #endif
1764 
1768 #if !defined LWIP_SO_RCVBUF || defined __DOXYGEN__
1769 #define LWIP_SO_RCVBUF 0
1770 #endif
1771 
1775 #if !defined LWIP_SO_LINGER || defined __DOXYGEN__
1776 #define LWIP_SO_LINGER 0
1777 #endif
1778 
1782 #if !defined RECV_BUFSIZE_DEFAULT || defined __DOXYGEN__
1783 #define RECV_BUFSIZE_DEFAULT INT_MAX
1784 #endif
1785 
1789 #if !defined LWIP_TCP_CLOSE_TIMEOUT_MS_DEFAULT || defined __DOXYGEN__
1790 #define LWIP_TCP_CLOSE_TIMEOUT_MS_DEFAULT 20000
1791 #endif
1792 
1796 #if !defined SO_REUSE || defined __DOXYGEN__
1797 #define SO_REUSE 0
1798 #endif
1799 
1805 #if !defined SO_REUSE_RXTOALL || defined __DOXYGEN__
1806 #define SO_REUSE_RXTOALL 0
1807 #endif
1808 
1817 #if !defined LWIP_FIONREAD_LINUXMODE || defined __DOXYGEN__
1818 #define LWIP_FIONREAD_LINUXMODE 0
1819 #endif
1820 
1824 /*
1825  ----------------------------------------
1826  ---------- Statistics options ----------
1827  ----------------------------------------
1828  */
1837 #if !defined LWIP_STATS || defined __DOXYGEN__
1838 #define LWIP_STATS 1
1839 #endif
1840 
1841 #if LWIP_STATS
1842 
1846 #if !defined LWIP_STATS_DISPLAY || defined __DOXYGEN__
1847 #define LWIP_STATS_DISPLAY 0
1848 #endif
1849 
1853 #if !defined LINK_STATS || defined __DOXYGEN__
1854 #define LINK_STATS 1
1855 #endif
1856 
1860 #if !defined ETHARP_STATS || defined __DOXYGEN__
1861 #define ETHARP_STATS (LWIP_ARP)
1862 #endif
1863 
1867 #if !defined IP_STATS || defined __DOXYGEN__
1868 #define IP_STATS 1
1869 #endif
1870 
1875 #if !defined IPFRAG_STATS || defined __DOXYGEN__
1876 #define IPFRAG_STATS (IP_REASSEMBLY || IP_FRAG)
1877 #endif
1878 
1882 #if !defined ICMP_STATS || defined __DOXYGEN__
1883 #define ICMP_STATS 1
1884 #endif
1885 
1889 #if !defined IGMP_STATS || defined __DOXYGEN__
1890 #define IGMP_STATS (LWIP_IGMP)
1891 #endif
1892 
1897 #if !defined UDP_STATS || defined __DOXYGEN__
1898 #define UDP_STATS (LWIP_UDP)
1899 #endif
1900 
1905 #if !defined TCP_STATS || defined __DOXYGEN__
1906 #define TCP_STATS (LWIP_TCP)
1907 #endif
1908 
1912 #if !defined MEM_STATS || defined __DOXYGEN__
1913 #define MEM_STATS ((MEM_LIBC_MALLOC == 0) && (MEM_USE_POOLS == 0))
1914 #endif
1915 
1919 #if !defined MEMP_STATS || defined __DOXYGEN__
1920 #define MEMP_STATS (MEMP_MEM_MALLOC == 0)
1921 #endif
1922 
1926 #if !defined SYS_STATS || defined __DOXYGEN__
1927 #define SYS_STATS (NO_SYS == 0)
1928 #endif
1929 
1933 #if !defined IP6_STATS || defined __DOXYGEN__
1934 #define IP6_STATS (LWIP_IPV6)
1935 #endif
1936 
1940 #if !defined ICMP6_STATS || defined __DOXYGEN__
1941 #define ICMP6_STATS (LWIP_IPV6 && LWIP_ICMP6)
1942 #endif
1943 
1947 #if !defined IP6_FRAG_STATS || defined __DOXYGEN__
1948 #define IP6_FRAG_STATS (LWIP_IPV6 && (LWIP_IPV6_FRAG || LWIP_IPV6_REASS))
1949 #endif
1950 
1954 #if !defined MLD6_STATS || defined __DOXYGEN__
1955 #define MLD6_STATS (LWIP_IPV6 && LWIP_IPV6_MLD)
1956 #endif
1957 
1961 #if !defined ND6_STATS || defined __DOXYGEN__
1962 #define ND6_STATS (LWIP_IPV6)
1963 #endif
1964 
1968 #if !defined MIB2_STATS || defined __DOXYGEN__
1969 #define MIB2_STATS 0
1970 #endif
1971 
1972 #else
1973 
1974 #define LINK_STATS 0
1975 #define ETHARP_STATS 0
1976 #define IP_STATS 0
1977 #define IPFRAG_STATS 0
1978 #define ICMP_STATS 0
1979 #define IGMP_STATS 0
1980 #define UDP_STATS 0
1981 #define TCP_STATS 0
1982 #define MEM_STATS 0
1983 #define MEMP_STATS 0
1984 #define SYS_STATS 0
1985 #define LWIP_STATS_DISPLAY 0
1986 #define IP6_STATS 0
1987 #define ICMP6_STATS 0
1988 #define IP6_FRAG_STATS 0
1989 #define MLD6_STATS 0
1990 #define ND6_STATS 0
1991 #define MIB2_STATS 0
1992 
1993 #endif /* LWIP_STATS */
1994 
1998 /*
1999  --------------------------------------
2000  ---------- Checksum options ----------
2001  --------------------------------------
2002  */
2013 #if !defined LWIP_CHECKSUM_CTRL_PER_NETIF || defined __DOXYGEN__
2014 #define LWIP_CHECKSUM_CTRL_PER_NETIF 0
2015 #endif
2016 
2020 #if !defined CHECKSUM_GEN_IP || defined __DOXYGEN__
2021 #define CHECKSUM_GEN_IP 1
2022 #endif
2023 
2027 #if !defined CHECKSUM_GEN_UDP || defined __DOXYGEN__
2028 #define CHECKSUM_GEN_UDP 1
2029 #endif
2030 
2034 #if !defined CHECKSUM_GEN_TCP || defined __DOXYGEN__
2035 #define CHECKSUM_GEN_TCP 1
2036 #endif
2037 
2041 #if !defined CHECKSUM_GEN_ICMP || defined __DOXYGEN__
2042 #define CHECKSUM_GEN_ICMP 1
2043 #endif
2044 
2048 #if !defined CHECKSUM_GEN_ICMP6 || defined __DOXYGEN__
2049 #define CHECKSUM_GEN_ICMP6 1
2050 #endif
2051 
2055 #if !defined CHECKSUM_CHECK_IP || defined __DOXYGEN__
2056 #define CHECKSUM_CHECK_IP 1
2057 #endif
2058 
2062 #if !defined CHECKSUM_CHECK_UDP || defined __DOXYGEN__
2063 #define CHECKSUM_CHECK_UDP 1
2064 #endif
2065 
2069 #if !defined CHECKSUM_CHECK_TCP || defined __DOXYGEN__
2070 #define CHECKSUM_CHECK_TCP 1
2071 #endif
2072 
2076 #if !defined CHECKSUM_CHECK_ICMP || defined __DOXYGEN__
2077 #define CHECKSUM_CHECK_ICMP 1
2078 #endif
2079 
2083 #if !defined CHECKSUM_CHECK_ICMP6 || defined __DOXYGEN__
2084 #define CHECKSUM_CHECK_ICMP6 1
2085 #endif
2086 
2091 #if !defined LWIP_CHECKSUM_ON_COPY || defined __DOXYGEN__
2092 #define LWIP_CHECKSUM_ON_COPY 0
2093 #endif
2094 
2098 /*
2099  ---------------------------------------
2100  ---------- IPv6 options ---------------
2101  ---------------------------------------
2102  */
2111 #if !defined LWIP_IPV6 || defined __DOXYGEN__
2112 #define LWIP_IPV6 0
2113 #endif
2114 
2118 #if !defined LWIP_IPV6_NUM_ADDRESSES || defined __DOXYGEN__
2119 #define LWIP_IPV6_NUM_ADDRESSES 3
2120 #endif
2121 
2125 #if !defined LWIP_IPV6_FORWARD || defined __DOXYGEN__
2126 #define LWIP_IPV6_FORWARD 0
2127 #endif
2128 
2132 #if !defined LWIP_IPV6_FRAG || defined __DOXYGEN__
2133 #define LWIP_IPV6_FRAG 0
2134 #endif
2135 
2139 #if !defined LWIP_IPV6_REASS || defined __DOXYGEN__
2140 #define LWIP_IPV6_REASS (LWIP_IPV6)
2141 #endif
2142 
2147 #if !defined LWIP_IPV6_SEND_ROUTER_SOLICIT || defined __DOXYGEN__
2148 #define LWIP_IPV6_SEND_ROUTER_SOLICIT 1
2149 #endif
2150 
2154 #if !defined LWIP_IPV6_AUTOCONFIG || defined __DOXYGEN__
2155 #define LWIP_IPV6_AUTOCONFIG (LWIP_IPV6)
2156 #endif
2157 
2161 #if !defined LWIP_IPV6_DUP_DETECT_ATTEMPTS || defined __DOXYGEN__
2162 #define LWIP_IPV6_DUP_DETECT_ATTEMPTS 1
2163 #endif
2164 
2176 #if !defined LWIP_ICMP6 || defined __DOXYGEN__
2177 #define LWIP_ICMP6 (LWIP_IPV6)
2178 #endif
2179 
2184 #if !defined LWIP_ICMP6_DATASIZE || defined __DOXYGEN__
2185 #define LWIP_ICMP6_DATASIZE 8
2186 #endif
2187 
2191 #if !defined LWIP_ICMP6_HL || defined __DOXYGEN__
2192 #define LWIP_ICMP6_HL 255
2193 #endif
2194 
2208 #if !defined LWIP_IPV6_MLD || defined __DOXYGEN__
2209 #define LWIP_IPV6_MLD (LWIP_IPV6)
2210 #endif
2211 
2218 #if !defined MEMP_NUM_MLD6_GROUP || defined __DOXYGEN__
2219 #define MEMP_NUM_MLD6_GROUP 4
2220 #endif
2221 
2234 #if !defined LWIP_ND6_QUEUEING || defined __DOXYGEN__
2235 #define LWIP_ND6_QUEUEING (LWIP_IPV6)
2236 #endif
2237 
2241 #if !defined MEMP_NUM_ND6_QUEUE || defined __DOXYGEN__
2242 #define MEMP_NUM_ND6_QUEUE 20
2243 #endif
2244 
2248 #if !defined LWIP_ND6_NUM_NEIGHBORS || defined __DOXYGEN__
2249 #define LWIP_ND6_NUM_NEIGHBORS 10
2250 #endif
2251 
2255 #if !defined LWIP_ND6_NUM_DESTINATIONS || defined __DOXYGEN__
2256 #define LWIP_ND6_NUM_DESTINATIONS 10
2257 #endif
2258 
2262 #if !defined LWIP_ND6_NUM_PREFIXES || defined __DOXYGEN__
2263 #define LWIP_ND6_NUM_PREFIXES 5
2264 #endif
2265 
2269 #if !defined LWIP_ND6_NUM_ROUTERS || defined __DOXYGEN__
2270 #define LWIP_ND6_NUM_ROUTERS 3
2271 #endif
2272 
2277 #if !defined LWIP_ND6_MAX_MULTICAST_SOLICIT || defined __DOXYGEN__
2278 #define LWIP_ND6_MAX_MULTICAST_SOLICIT 3
2279 #endif
2280 
2285 #if !defined LWIP_ND6_MAX_UNICAST_SOLICIT || defined __DOXYGEN__
2286 #define LWIP_ND6_MAX_UNICAST_SOLICIT 3
2287 #endif
2288 
2292 #if !defined LWIP_ND6_MAX_ANYCAST_DELAY_TIME || defined __DOXYGEN__
2293 #define LWIP_ND6_MAX_ANYCAST_DELAY_TIME 1000
2294 #endif
2295 
2299 #if !defined LWIP_ND6_MAX_NEIGHBOR_ADVERTISEMENT || defined __DOXYGEN__
2300 #define LWIP_ND6_MAX_NEIGHBOR_ADVERTISEMENT 3
2301 #endif
2302 
2307 #if !defined LWIP_ND6_REACHABLE_TIME || defined __DOXYGEN__
2308 #define LWIP_ND6_REACHABLE_TIME 30000
2309 #endif
2310 
2314 #if !defined LWIP_ND6_RETRANS_TIMER || defined __DOXYGEN__
2315 #define LWIP_ND6_RETRANS_TIMER 1000
2316 #endif
2317 
2322 #if !defined LWIP_ND6_DELAY_FIRST_PROBE_TIME || defined __DOXYGEN__
2323 #define LWIP_ND6_DELAY_FIRST_PROBE_TIME 5000
2324 #endif
2325 
2330 #if !defined LWIP_ND6_ALLOW_RA_UPDATES || defined __DOXYGEN__
2331 #define LWIP_ND6_ALLOW_RA_UPDATES 1
2332 #endif
2333 
2339 #if !defined LWIP_ND6_TCP_REACHABILITY_HINTS || defined __DOXYGEN__
2340 #define LWIP_ND6_TCP_REACHABILITY_HINTS 1
2341 #endif
2342 
2348 #if !defined LWIP_ND6_RDNSS_MAX_DNS_SERVERS || defined __DOXYGEN__
2349 #define LWIP_ND6_RDNSS_MAX_DNS_SERVERS 0
2350 #endif
2351 
2358 #if !defined LWIP_IPV6_DHCP6 || defined __DOXYGEN__
2359 #define LWIP_IPV6_DHCP6 0
2360 #endif
2361 
2362 /*
2363  ---------------------------------------
2364  ---------- Hook options ---------------
2365  ---------------------------------------
2366  */
2367 
2380 #ifdef __DOXYGEN__
2381 #define LWIP_HOOK_FILENAME "path/to/my/lwip_hooks.h"
2382 #endif
2383 
2403 #ifdef __DOXYGEN__
2404 #define LWIP_HOOK_TCP_ISN(local_ip, local_port, remote_ip, remote_port)
2405 #endif
2406 
2418 #ifdef __DOXYGEN__
2419 #define LWIP_HOOK_IP4_INPUT(pbuf, input_netif)
2420 #endif
2421 
2429 #ifdef __DOXYGEN__
2430 #define LWIP_HOOK_IP4_ROUTE()
2431 #endif
2432 
2437 #ifdef __DOXYGEN__
2438 #define LWIP_HOOK_IP4_ROUTE_SRC(dest, src)
2439 #endif
2440 
2453 #ifdef __DOXYGEN__
2454 #define LWIP_HOOK_ETHARP_GET_GW(netif, dest)
2455 #endif
2456 
2468 #ifdef __DOXYGEN__
2469 #define LWIP_HOOK_IP6_INPUT(pbuf, input_netif)
2470 #endif
2471 
2480 #ifdef __DOXYGEN__
2481 #define LWIP_HOOK_IP6_ROUTE(src, dest)
2482 #endif
2483 
2496 #ifdef __DOXYGEN__
2497 #define LWIP_HOOK_ND6_GET_GW(netif, dest)
2498 #endif
2499 
2510 #ifdef __DOXYGEN__
2511 #define LWIP_HOOK_VLAN_CHECK(netif, eth_hdr, vlan_hdr)
2512 #endif
2513 
2532 #ifdef __DOXYGEN__
2533 #define LWIP_HOOK_VLAN_SET(netif, p, src, dst, eth_type)
2534 #endif
2535 
2540 #ifdef __DOXYGEN__
2541 #define LWIP_HOOK_MEMP_AVAILABLE(memp_t_type)
2542 #endif
2543 
2550 #ifdef __DOXYGEN__
2551 #define LWIP_HOOK_UNKNOWN_ETH_PROTOCOL(pbuf, netif)
2552 #endif
2553 
2557 /*
2558  ---------------------------------------
2559  ---------- Debugging options ----------
2560  ---------------------------------------
2561  */
2573 #if !defined LWIP_DBG_MIN_LEVEL || defined __DOXYGEN__
2574 #define LWIP_DBG_MIN_LEVEL LWIP_DBG_LEVEL_ALL
2575 #endif
2576 
2582 #if !defined LWIP_DBG_TYPES_ON || defined __DOXYGEN__
2583 #define LWIP_DBG_TYPES_ON LWIP_DBG_ON
2584 #endif
2585 
2589 #if !defined ETHARP_DEBUG || defined __DOXYGEN__
2590 #define ETHARP_DEBUG LWIP_DBG_OFF
2591 #endif
2592 
2596 #if !defined NETIF_DEBUG || defined __DOXYGEN__
2597 #define NETIF_DEBUG LWIP_DBG_OFF
2598 #endif
2599 
2603 #if !defined PBUF_DEBUG || defined __DOXYGEN__
2604 #define PBUF_DEBUG LWIP_DBG_OFF
2605 #endif
2606 
2610 #if !defined API_LIB_DEBUG || defined __DOXYGEN__
2611 #define API_LIB_DEBUG LWIP_DBG_OFF
2612 #endif
2613 
2617 #if !defined API_MSG_DEBUG || defined __DOXYGEN__
2618 #define API_MSG_DEBUG LWIP_DBG_OFF
2619 #endif
2620 
2624 #if !defined SOCKETS_DEBUG || defined __DOXYGEN__
2625 #define SOCKETS_DEBUG LWIP_DBG_OFF
2626 #endif
2627 
2631 #if !defined ICMP_DEBUG || defined __DOXYGEN__
2632 #define ICMP_DEBUG LWIP_DBG_OFF
2633 #endif
2634 
2638 #if !defined IGMP_DEBUG || defined __DOXYGEN__
2639 #define IGMP_DEBUG LWIP_DBG_OFF
2640 #endif
2641 
2645 #if !defined INET_DEBUG || defined __DOXYGEN__
2646 #define INET_DEBUG LWIP_DBG_OFF
2647 #endif
2648 
2652 #if !defined IP_DEBUG || defined __DOXYGEN__
2653 #define IP_DEBUG LWIP_DBG_OFF
2654 #endif
2655 
2659 #if !defined IP_REASS_DEBUG || defined __DOXYGEN__
2660 #define IP_REASS_DEBUG LWIP_DBG_OFF
2661 #endif
2662 
2666 #if !defined RAW_DEBUG || defined __DOXYGEN__
2667 #define RAW_DEBUG LWIP_DBG_OFF
2668 #endif
2669 
2673 #if !defined MEM_DEBUG || defined __DOXYGEN__
2674 #define MEM_DEBUG LWIP_DBG_OFF
2675 #endif
2676 
2680 #if !defined MEMP_DEBUG || defined __DOXYGEN__
2681 #define MEMP_DEBUG LWIP_DBG_OFF
2682 #endif
2683 
2687 #if !defined SYS_DEBUG || defined __DOXYGEN__
2688 #define SYS_DEBUG LWIP_DBG_OFF
2689 #endif
2690 
2694 #if !defined TIMERS_DEBUG || defined __DOXYGEN__
2695 #define TIMERS_DEBUG LWIP_DBG_OFF
2696 #endif
2697 
2701 #if !defined TCP_DEBUG || defined __DOXYGEN__
2702 #define TCP_DEBUG LWIP_DBG_OFF
2703 #endif
2704 
2708 #if !defined TCP_INPUT_DEBUG || defined __DOXYGEN__
2709 #define TCP_INPUT_DEBUG LWIP_DBG_OFF
2710 #endif
2711 
2715 #if !defined TCP_FR_DEBUG || defined __DOXYGEN__
2716 #define TCP_FR_DEBUG LWIP_DBG_OFF
2717 #endif
2718 
2723 #if !defined TCP_RTO_DEBUG || defined __DOXYGEN__
2724 #define TCP_RTO_DEBUG LWIP_DBG_OFF
2725 #endif
2726 
2730 #if !defined TCP_CWND_DEBUG || defined __DOXYGEN__
2731 #define TCP_CWND_DEBUG LWIP_DBG_OFF
2732 #endif
2733 
2737 #if !defined TCP_WND_DEBUG || defined __DOXYGEN__
2738 #define TCP_WND_DEBUG LWIP_DBG_OFF
2739 #endif
2740 
2744 #if !defined TCP_OUTPUT_DEBUG || defined __DOXYGEN__
2745 #define TCP_OUTPUT_DEBUG LWIP_DBG_OFF
2746 #endif
2747 
2751 #if !defined TCP_RST_DEBUG || defined __DOXYGEN__
2752 #define TCP_RST_DEBUG LWIP_DBG_OFF
2753 #endif
2754 
2758 #if !defined TCP_QLEN_DEBUG || defined __DOXYGEN__
2759 #define TCP_QLEN_DEBUG LWIP_DBG_OFF
2760 #endif
2761 
2765 #if !defined UDP_DEBUG || defined __DOXYGEN__
2766 #define UDP_DEBUG LWIP_DBG_OFF
2767 #endif
2768 
2772 #if !defined TCPIP_DEBUG || defined __DOXYGEN__
2773 #define TCPIP_DEBUG LWIP_DBG_OFF
2774 #endif
2775 
2779 #if !defined SLIP_DEBUG || defined __DOXYGEN__
2780 #define SLIP_DEBUG LWIP_DBG_OFF
2781 #endif
2782 
2786 #if !defined DHCP_DEBUG || defined __DOXYGEN__
2787 #define DHCP_DEBUG LWIP_DBG_OFF
2788 #endif
2789 
2793 #if !defined AUTOIP_DEBUG || defined __DOXYGEN__
2794 #define AUTOIP_DEBUG LWIP_DBG_OFF
2795 #endif
2796 
2800 #if !defined DNS_DEBUG || defined __DOXYGEN__
2801 #define DNS_DEBUG LWIP_DBG_OFF
2802 #endif
2803 
2807 #if !defined IP6_DEBUG || defined __DOXYGEN__
2808 #define IP6_DEBUG LWIP_DBG_OFF
2809 #endif
2810 
2814 /*
2815  --------------------------------------------------
2816  ---------- Performance tracking options ----------
2817  --------------------------------------------------
2818  */
2828 #if !defined LWIP_PERF || defined __DOXYGEN__
2829 #define LWIP_PERF 0
2830 #endif
2831 
2835 #endif /* LWIP_HDR_OPT_H */
lwipopts.h
debug.h