Go to the documentation of this file. 38 #ifndef __LWIPOPTS_H__ 39 #define __LWIPOPTS_H__ 53 #ifndef SYS_LIGHTWEIGHT_PROT 54 #define SYS_LIGHTWEIGHT_PROT 0 69 #ifndef NO_SYS_NO_TIMERS 70 #define NO_SYS_NO_TIMERS 0 78 #define MEMCPY(dst,src,len) os_memcpy(dst,src,len) 86 #define SMEMCPY(dst,src,len) os_memcpy(dst,src,len) 99 #ifndef MEM_LIBC_MALLOC 100 #define MEM_LIBC_MALLOC 1 108 #ifndef MEMP_MEM_MALLOC 109 #define MEMP_MEM_MALLOC 1 117 #ifndef MEM_ALIGNMENT 118 #define MEM_ALIGNMENT 4 126 #define MEM_SIZE 16000 134 #ifndef MEMP_SEPARATE_POOLS 135 #define MEMP_SEPARATE_POOLS 1 147 #ifndef MEMP_OVERFLOW_CHECK 148 #define MEMP_OVERFLOW_CHECK 0 155 #ifndef MEMP_SANITY_CHECK 156 #define MEMP_SANITY_CHECK 1 165 #ifndef MEM_USE_POOLS 166 #define MEM_USE_POOLS 0 173 #ifndef MEM_USE_POOLS_TRY_BIGGER_POOL 174 #define MEM_USE_POOLS_TRY_BIGGER_POOL 0 183 #ifndef MEMP_USE_CUSTOM_POOLS 184 #define MEMP_USE_CUSTOM_POOLS 0 205 #ifndef LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT 206 #define LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT 0 219 #ifndef MEMP_NUM_PBUF 220 #define MEMP_NUM_PBUF 10 227 #ifndef MEMP_NUM_RAW_PCB 228 #define MEMP_NUM_RAW_PCB 4 236 #ifndef MEMP_NUM_UDP_PCB 237 #define MEMP_NUM_UDP_PCB 4 244 #ifndef MEMP_NUM_TCP_PCB 245 #define MEMP_NUM_TCP_PCB (*(volatile uint32*)0x600011FC) 252 #ifndef MEMP_NUM_TCP_PCB_LISTEN 253 #define MEMP_NUM_TCP_PCB_LISTEN 2 260 #ifndef MEMP_NUM_TCP_SEG 261 #define MEMP_NUM_TCP_SEG 16 268 #ifndef MEMP_NUM_REASSDATA 269 #define MEMP_NUM_REASSDATA 0 279 #ifndef MEMP_NUM_FRAG_PBUF 280 #define MEMP_NUM_FRAG_PBUF 0 289 #ifndef MEMP_NUM_ARP_QUEUE 290 #define MEMP_NUM_ARP_QUEUE 10 299 #ifndef MEMP_NUM_IGMP_GROUP 300 #define MEMP_NUM_IGMP_GROUP 8 307 #ifndef MEMP_NUM_SYS_TIMEOUT 308 #define MEMP_NUM_SYS_TIMEOUT 8 315 #ifndef MEMP_NUM_NETBUF 316 #define MEMP_NUM_NETBUF 0 323 #ifndef MEMP_NUM_NETCONN 324 #define MEMP_NUM_NETCONN 0 332 #ifndef MEMP_NUM_TCPIP_MSG_API 333 #define MEMP_NUM_TCPIP_MSG_API 4 341 #ifndef MEMP_NUM_TCPIP_MSG_INPKT 342 #define MEMP_NUM_TCPIP_MSG_INPKT 4 348 #ifndef MEMP_NUM_SNMP_NODE 349 #define MEMP_NUM_SNMP_NODE 0 356 #ifndef MEMP_NUM_SNMP_ROOTNODE 357 #define MEMP_NUM_SNMP_ROOTNODE 0 365 #ifndef MEMP_NUM_SNMP_VARBIND 366 #define MEMP_NUM_SNMP_VARBIND 0 374 #ifndef MEMP_NUM_SNMP_VALUE 375 #define MEMP_NUM_SNMP_VALUE 0 382 #ifndef MEMP_NUM_NETDB 383 #define MEMP_NUM_NETDB 0 390 #ifndef MEMP_NUM_LOCALHOSTLIST 391 #define MEMP_NUM_LOCALHOSTLIST 0 398 #ifndef MEMP_NUM_PPPOE_INTERFACES 399 #define MEMP_NUM_PPPOE_INTERFACES 0 405 #ifndef PBUF_POOL_SIZE 406 #define PBUF_POOL_SIZE 10 424 #ifndef ARP_TABLE_SIZE 425 #define ARP_TABLE_SIZE 10 436 #define ARP_QUEUEING 1 449 #ifndef ETHARP_TRUST_IP_MAC 450 #define ETHARP_TRUST_IP_MAC 1 459 #ifndef ETHARP_SUPPORT_VLAN 460 #define ETHARP_SUPPORT_VLAN 0 466 #ifndef LWIP_ETHERNET 467 #define LWIP_ETHERNET (LWIP_ARP || PPPOE_SUPPORT) 476 #define ETH_PAD_SIZE 0 482 #ifndef ETHARP_SUPPORT_STATIC_ENTRIES 483 #define ETHARP_SUPPORT_STATIC_ENTRIES 0 513 #ifndef IP_NAPT_DYNAMIC 514 #define IP_NAPT_DYNAMIC 0 522 #ifndef IP_OPTIONS_ALLOWED 523 #define IP_OPTIONS_ALLOWED 1 531 #ifndef IP_REASSEMBLY 532 #define IP_REASSEMBLY 0 549 #ifndef IP_REASS_MAXAGE 550 #define IP_REASS_MAXAGE 3 559 #ifndef IP_REASS_MAX_PBUFS 560 #define IP_REASS_MAX_PBUFS 10 570 #ifndef IP_FRAG_USES_STATIC_BUF 571 #define IP_FRAG_USES_STATIC_BUF 1 578 #if IP_FRAG_USES_STATIC_BUF && !defined(IP_FRAG_MAX_MTU) 579 #define IP_FRAG_MAX_MTU 1500 585 #ifndef IP_DEFAULT_TTL 586 #define IP_DEFAULT_TTL 255 594 #ifndef IP_SOF_BROADCAST 595 #define IP_SOF_BROADCAST 0 602 #ifndef IP_SOF_BROADCAST_RECV 603 #define IP_SOF_BROADCAST_RECV 0 623 #define ICMP_TTL (IP_DEFAULT_TTL) 629 #ifndef LWIP_BROADCAST_PING 630 #define LWIP_BROADCAST_PING 0 636 #ifndef LWIP_MULTICAST_PING 637 #define LWIP_MULTICAST_PING 0 656 #define RAW_TTL (IP_DEFAULT_TTL) 674 #ifndef DHCP_DOES_ARP_CHECK 675 #define DHCP_DOES_ARP_CHECK ((LWIP_DHCP) && (LWIP_ARP)) 682 #define DHCP_MAXRTX (*(volatile uint32*)0x600011E0) 694 #define LWIP_AUTOIP 0 701 #ifndef LWIP_DHCP_AUTOIP_COOP 702 #define LWIP_DHCP_AUTOIP_COOP 0 712 #ifndef LWIP_DHCP_AUTOIP_COOP_TRIES 713 #define LWIP_DHCP_AUTOIP_COOP_TRIES 9 733 #ifndef SNMP_CONCURRENT_REQUESTS 734 #define SNMP_CONCURRENT_REQUESTS 0 741 #ifndef SNMP_TRAP_DESTINATIONS 742 #define SNMP_TRAP_DESTINATIONS 0 748 #ifndef SNMP_PRIVATE_MIB 749 #define SNMP_PRIVATE_MIB 0 757 #ifndef SNMP_SAFE_REQUESTS 758 #define SNMP_SAFE_REQUESTS 0 765 #ifndef SNMP_MAX_OCTET_STRING_LEN 766 #define SNMP_MAX_OCTET_STRING_LEN 127 774 #ifndef SNMP_MAX_TREE_DEPTH 775 #define SNMP_MAX_TREE_DEPTH 15 782 #ifndef SNMP_MAX_VALUE_SIZE 783 #define SNMP_MAX_VALUE_SIZE LWIP_MAX((SNMP_MAX_OCTET_STRING_LEN)+1, sizeof(s32_t)*(SNMP_MAX_TREE_DEPTH)) 823 #ifndef DNS_TABLE_SIZE 824 #define DNS_TABLE_SIZE 4 828 #ifndef DNS_MAX_NAME_LENGTH 829 #define DNS_MAX_NAME_LENGTH 256 833 #ifndef DNS_MAX_SERVERS 834 #define DNS_MAX_SERVERS 2 838 #ifndef DNS_DOES_NAME_CHECK 839 #define DNS_DOES_NAME_CHECK 1 844 #define DNS_MSG_SIZE 512 857 #ifndef DNS_LOCAL_HOSTLIST 858 #define DNS_LOCAL_HOSTLIST 0 863 #ifndef DNS_LOCAL_HOSTLIST_IS_DYNAMIC 864 #define DNS_LOCAL_HOSTLIST_IS_DYNAMIC 0 883 #define LWIP_UDPLITE 0 890 #define UDP_TTL (IP_DEFAULT_TTL) 896 #ifndef LWIP_NETBUF_RECVINFO 897 #define LWIP_NETBUF_RECVINFO 0 916 #define TCP_TTL (IP_DEFAULT_TTL) 924 #define TCP_WND (*(volatile uint32*)0x600011F0) 931 #define TCP_MAXRTX (*(volatile uint32*)0x600011E8) 937 #ifndef TCP_SYNMAXRTX 938 #define TCP_SYNMAXRTX (*(volatile uint32*)0x600011E4) 945 #define TCP_MAXRTO 10 959 #ifndef TCP_QUEUE_OOSEQ 960 #define TCP_QUEUE_OOSEQ 1 984 #ifndef TCP_CALCULATE_EFF_SEND_MSS 985 #define TCP_CALCULATE_EFF_SEND_MSS 1 993 #define TCP_SND_BUF (2 * TCP_MSS) 1000 #ifndef TCP_SND_QUEUELEN 1001 #define TCP_SND_QUEUELEN ((4 * (TCP_SND_BUF) + (TCP_MSS - 1))/(TCP_MSS)) 1009 #ifndef TCP_SNDLOWAT 1010 #define TCP_SNDLOWAT ((TCP_SND_BUF)/2) 1018 #ifndef TCP_SNDQUEUELOWAT 1019 #define TCP_SNDQUEUELOWAT LWIP_MAX(((TCP_SND_QUEUELEN)/2), 5) 1025 #ifndef TCP_LISTEN_BACKLOG 1026 #define TCP_LISTEN_BACKLOG 0 1034 #ifndef TCP_DEFAULT_LISTEN_BACKLOG 1035 #define TCP_DEFAULT_LISTEN_BACKLOG 0xff 1052 #ifndef TCP_OVERSIZE 1053 #define TCP_OVERSIZE TCP_MSS 1059 #ifndef LWIP_TCP_TIMESTAMPS 1060 #define LWIP_TCP_TIMESTAMPS 0 1067 #ifndef TCP_WND_UPDATE_THRESHOLD 1068 #define TCP_WND_UPDATE_THRESHOLD (TCP_WND / 4) 1074 #define TCP_MSL 2500UL 1083 #ifndef LWIP_EVENT_API 1084 #define LWIP_EVENT_API 0 1085 #define LWIP_CALLBACK_API 1 1087 #define LWIP_EVENT_API 1 1088 #define LWIP_CALLBACK_API 0 1102 #ifndef PBUF_LINK_HLEN 1103 #define PBUF_LINK_HLEN (14 + ETH_PAD_SIZE) 1111 #ifndef PBUF_POOL_BUFSIZE 1112 #define PBUF_POOL_BUFSIZE LWIP_MEM_ALIGN_SIZE(TCP_MSS+40+PBUF_LINK_HLEN) 1124 #ifndef LWIP_NETIF_HOSTNAME 1125 #define LWIP_NETIF_HOSTNAME 1 1131 #ifndef LWIP_NETIF_API 1132 #define LWIP_NETIF_API 0 1139 #ifndef LWIP_NETIF_STATUS_CALLBACK 1140 #define LWIP_NETIF_STATUS_CALLBACK 0 1147 #ifndef LWIP_NETIF_LINK_CALLBACK 1148 #define LWIP_NETIF_LINK_CALLBACK 0 1158 #ifndef LWIP_NETIF_HWADDRHINT 1159 #define LWIP_NETIF_HWADDRHINT 0 1166 #ifndef LWIP_NETIF_LOOPBACK 1167 #define LWIP_NETIF_LOOPBACK 0 1174 #ifndef LWIP_LOOPBACK_MAX_PBUFS 1175 #define LWIP_LOOPBACK_MAX_PBUFS 0 1191 #ifndef LWIP_NETIF_LOOPBACK_MULTITHREADING 1192 #define LWIP_NETIF_LOOPBACK_MULTITHREADING (!NO_SYS) 1204 #ifndef LWIP_NETIF_TX_SINGLE_PBUF 1205 #define LWIP_NETIF_TX_SINGLE_PBUF 1 1216 #ifndef LWIP_HAVE_LOOPIF 1217 #define LWIP_HAVE_LOOPIF 0 1228 #ifndef LWIP_HAVE_SLIPIF 1229 #define LWIP_HAVE_SLIPIF 1 1240 #ifndef TCPIP_THREAD_NAME 1241 #define TCPIP_THREAD_NAME "tcpip_thread" 1249 #ifndef TCPIP_THREAD_STACKSIZE 1250 #define TCPIP_THREAD_STACKSIZE 0 1258 #ifndef TCPIP_THREAD_PRIO 1259 #define TCPIP_THREAD_PRIO 1 1267 #ifndef TCPIP_MBOX_SIZE 1268 #define TCPIP_MBOX_SIZE 0 1274 #ifndef SLIPIF_THREAD_NAME 1275 #define SLIPIF_THREAD_NAME "slipif_loop" 1283 #ifndef SLIPIF_THREAD_STACKSIZE 1284 #define SLIPIF_THREAD_STACKSIZE 0 1292 #ifndef SLIPIF_THREAD_PRIO 1293 #define SLIPIF_THREAD_PRIO 1 1299 #ifndef PPP_THREAD_NAME 1300 #define PPP_THREAD_NAME "pppInputThread" 1308 #ifndef PPP_THREAD_STACKSIZE 1309 #define PPP_THREAD_STACKSIZE 0 1317 #ifndef PPP_THREAD_PRIO 1318 #define PPP_THREAD_PRIO 1 1324 #ifndef DEFAULT_THREAD_NAME 1325 #define DEFAULT_THREAD_NAME "lwIP" 1333 #ifndef DEFAULT_THREAD_STACKSIZE 1334 #define DEFAULT_THREAD_STACKSIZE 0 1342 #ifndef DEFAULT_THREAD_PRIO 1343 #define DEFAULT_THREAD_PRIO 1 1351 #ifndef DEFAULT_RAW_RECVMBOX_SIZE 1352 #define DEFAULT_RAW_RECVMBOX_SIZE 0 1360 #ifndef DEFAULT_UDP_RECVMBOX_SIZE 1361 #define DEFAULT_UDP_RECVMBOX_SIZE 0 1369 #ifndef DEFAULT_TCP_RECVMBOX_SIZE 1370 #define DEFAULT_TCP_RECVMBOX_SIZE 0 1378 #ifndef DEFAULT_ACCEPTMBOX_SIZE 1379 #define DEFAULT_ACCEPTMBOX_SIZE 0 1391 #ifndef LWIP_TCPIP_CORE_LOCKING 1392 #define LWIP_TCPIP_CORE_LOCKING 0 1399 #ifndef LWIP_TCPIP_CORE_LOCKING_INPUT 1400 #define LWIP_TCPIP_CORE_LOCKING_INPUT 0 1406 #ifndef LWIP_NETCONN 1407 #define LWIP_NETCONN 0 1413 #ifndef LWIP_TCPIP_TIMEOUT 1414 #define LWIP_TCPIP_TIMEOUT 1 1426 #define LWIP_SOCKET 0 1433 #ifndef LWIP_COMPAT_SOCKETS 1434 #define LWIP_COMPAT_SOCKETS 0 1442 #ifndef LWIP_POSIX_SOCKETS_IO_NAMES 1443 #define LWIP_POSIX_SOCKETS_IO_NAMES 0 1451 #ifndef LWIP_TCP_KEEPALIVE 1452 #define LWIP_TCP_KEEPALIVE 1 1458 #ifndef LWIP_SO_RCVTIMEO 1459 #define LWIP_SO_RCVTIMEO 0 1465 #ifndef LWIP_SO_RCVBUF 1466 #define LWIP_SO_RCVBUF 0 1472 #ifndef RECV_BUFSIZE_DEFAULT 1473 #define RECV_BUFSIZE_DEFAULT INT_MAX 1488 #ifndef SO_REUSE_RXTOALL 1489 #define SO_REUSE_RXTOALL 0 1501 #define LWIP_STATS 0 1509 #ifndef LWIP_STATS_DISPLAY 1510 #define LWIP_STATS_DISPLAY 1 1517 #define LINK_STATS 1 1523 #ifndef ETHARP_STATS 1524 #define ETHARP_STATS (LWIP_ARP) 1538 #ifndef IPFRAG_STATS 1539 #define IPFRAG_STATS (IP_REASSEMBLY || IP_FRAG) 1546 #define ICMP_STATS 1 1553 #define IGMP_STATS (LWIP_IGMP) 1561 #define UDP_STATS (LWIP_UDP) 1569 #define TCP_STATS (LWIP_TCP) 1576 #define MEM_STATS ((MEM_LIBC_MALLOC == 0) && (MEM_USE_POOLS == 0)) 1583 #define MEMP_STATS (MEMP_MEM_MALLOC == 0) 1590 #define SYS_STATS (NO_SYS == 0) 1594 #define ETHARP_STATS 0 1595 #define LINK_STATS 0 1597 #define IPFRAG_STATS 0 1598 #define ICMP_STATS 0 1599 #define IGMP_STATS 0 1603 #define MEMP_STATS 0 1605 #define LWIP_STATS_DISPLAY 0 1618 #define PPP_SUPPORT 0 1624 #ifndef PPPOE_SUPPORT 1625 #define PPPOE_SUPPORT 0 1631 #ifndef PPPOS_SUPPORT 1632 #define PPPOS_SUPPORT PPP_SUPPORT 1648 #define PAP_SUPPORT 0 1654 #ifndef CHAP_SUPPORT 1655 #define CHAP_SUPPORT 0 1661 #ifndef MSCHAP_SUPPORT 1662 #define MSCHAP_SUPPORT 0 1668 #ifndef CBCP_SUPPORT 1669 #define CBCP_SUPPORT 0 1676 #define CCP_SUPPORT 0 1683 #define VJ_SUPPORT 0 1690 #define MD5_SUPPORT 0 1696 #ifndef FSM_DEFTIMEOUT 1697 #define FSM_DEFTIMEOUT 6 1700 #ifndef FSM_DEFMAXTERMREQS 1701 #define FSM_DEFMAXTERMREQS 2 1704 #ifndef FSM_DEFMAXCONFREQS 1705 #define FSM_DEFMAXCONFREQS 10 1708 #ifndef FSM_DEFMAXNAKLOOPS 1709 #define FSM_DEFMAXNAKLOOPS 5 1712 #ifndef UPAP_DEFTIMEOUT 1713 #define UPAP_DEFTIMEOUT 6 1716 #ifndef UPAP_DEFREQTIME 1717 #define UPAP_DEFREQTIME 30 1720 #ifndef CHAP_DEFTIMEOUT 1721 #define CHAP_DEFTIMEOUT 6 1724 #ifndef CHAP_DEFTRANSMITS 1725 #define CHAP_DEFTRANSMITS 10 1729 #ifndef LCP_ECHOINTERVAL 1730 #define LCP_ECHOINTERVAL 0 1734 #ifndef LCP_MAXECHOFAILS 1735 #define LCP_MAXECHOFAILS 3 1739 #ifndef PPP_MAXIDLEFLAG 1740 #define PPP_MAXIDLEFLAG 100 1751 #define PPP_MTU 1500 1754 #define PPP_MAXMTU 1500 1756 #define PPP_MINMTU 64 1757 #define PPP_MRU 1500 1758 #define PPP_MAXMRU 1500 1760 #define PPP_DEFMRU 296 1762 #define PPP_MINMRU 128 1765 #define MAXNAMELEN 256 1767 #ifndef MAXSECRETLEN 1768 #define MAXSECRETLEN 256 1781 #ifndef CHECKSUM_GEN_IP 1782 #define CHECKSUM_GEN_IP 1 1788 #ifndef CHECKSUM_GEN_UDP 1789 #define CHECKSUM_GEN_UDP 1 1795 #ifndef CHECKSUM_GEN_TCP 1796 #define CHECKSUM_GEN_TCP 1 1802 #ifndef CHECKSUM_CHECK_IP 1803 #define CHECKSUM_CHECK_IP 1 1809 #ifndef CHECKSUM_CHECK_UDP 1810 #define CHECKSUM_CHECK_UDP 1 1816 #ifndef CHECKSUM_CHECK_TCP 1817 #define CHECKSUM_CHECK_TCP 1 1824 #ifndef LWIP_CHECKSUM_ON_COPY 1825 #define LWIP_CHECKSUM_ON_COPY 0 1838 #ifndef LWIP_DBG_MIN_LEVEL 1839 #define LWIP_DBG_MIN_LEVEL LWIP_DBG_LEVEL_ALL 1846 #ifndef LWIP_DBG_TYPES_ON 1847 #define LWIP_DBG_TYPES_ON LWIP_DBG_OFF 1853 #ifndef ETHARP_DEBUG 1854 #define ETHARP_DEBUG LWIP_DBG_OFF 1861 #define NETIF_DEBUG LWIP_DBG_OFF 1868 #define PBUF_DEBUG LWIP_DBG_OFF 1874 #ifndef API_LIB_DEBUG 1875 #define API_LIB_DEBUG LWIP_DBG_OFF 1881 #ifndef API_MSG_DEBUG 1882 #define API_MSG_DEBUG LWIP_DBG_OFF 1888 #ifndef SOCKETS_DEBUG 1889 #define SOCKETS_DEBUG LWIP_DBG_OFF 1896 #define ICMP_DEBUG LWIP_DBG_OFF 1903 #define IGMP_DEBUG LWIP_DBG_OFF 1910 #define INET_DEBUG LWIP_DBG_OFF 1917 #define IP_DEBUG LWIP_DBG_OFF 1923 #ifndef IP_REASS_DEBUG 1924 #define IP_REASS_DEBUG LWIP_DBG_OFF 1931 #define RAW_DEBUG LWIP_DBG_OFF 1938 #define MEM_DEBUG LWIP_DBG_OFF 1945 #define MEMP_DEBUG LWIP_DBG_OFF 1952 #define SYS_DEBUG LWIP_DBG_OFF 1958 #ifndef TIMERS_DEBUG 1959 #define TIMERS_DEBUG LWIP_DBG_OFF 1966 #define TCP_DEBUG LWIP_DBG_OFF 1972 #ifndef TCP_INPUT_DEBUG 1973 #define TCP_INPUT_DEBUG LWIP_DBG_OFF 1979 #ifndef TCP_FR_DEBUG 1980 #define TCP_FR_DEBUG LWIP_DBG_OFF 1987 #ifndef TCP_RTO_DEBUG 1988 #define TCP_RTO_DEBUG LWIP_DBG_OFF 1994 #ifndef TCP_CWND_DEBUG 1995 #define TCP_CWND_DEBUG LWIP_DBG_OFF 2001 #ifndef TCP_WND_DEBUG 2002 #define TCP_WND_DEBUG LWIP_DBG_OFF 2008 #ifndef TCP_OUTPUT_DEBUG 2009 #define TCP_OUTPUT_DEBUG LWIP_DBG_OFF 2015 #ifndef TCP_RST_DEBUG 2016 #define TCP_RST_DEBUG LWIP_DBG_OFF 2022 #ifndef TCP_QLEN_DEBUG 2023 #define TCP_QLEN_DEBUG LWIP_DBG_OFF 2030 #define UDP_DEBUG LWIP_DBG_OFF 2037 #define TCPIP_DEBUG LWIP_DBG_OFF 2044 #define PPP_DEBUG LWIP_DBG_OFF 2051 #define SLIP_DEBUG LWIP_DBG_OFF 2058 #define DHCP_DEBUG LWIP_DBG_OFF 2064 #ifndef AUTOIP_DEBUG 2065 #define AUTOIP_DEBUG LWIP_DBG_OFF 2071 #ifndef SNMP_MSG_DEBUG 2072 #define SNMP_MSG_DEBUG LWIP_DBG_OFF 2078 #ifndef SNMP_MIB_DEBUG 2079 #define SNMP_MIB_DEBUG LWIP_DBG_OFF 2086 #define DNS_DEBUG LWIP_DBG_OFF